{"id":15492065,"url":"https://github.com/hvitis/social-djoser-template","last_synced_at":"2025-04-22T19:26:10.449Z","repository":{"id":39826111,"uuid":"282300466","full_name":"hvitis/social-djoser-template","owner":"hvitis","description":"🙋‍♂️ 🙋 Use the best REST library with OAuth2 Social login. The simpliest DRF \u0026 JWT repo that allows you to extend your extended User model with REST and social logins. 🙋‍♂️ 🙋 ","archived":false,"fork":false,"pushed_at":"2022-12-08T11:14:58.000Z","size":54,"stargazers_count":13,"open_issues_count":7,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T17:56:35.041Z","etag":null,"topics":["django","django-rest-framework","django-social","django-social-network","drf","social-login","social-network"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hvitis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-24T19:29:19.000Z","updated_at":"2023-11-14T04:48:42.000Z","dependencies_parsed_at":"2022-09-23T01:12:17.003Z","dependency_job_id":null,"html_url":"https://github.com/hvitis/social-djoser-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hvitis%2Fsocial-djoser-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hvitis%2Fsocial-djoser-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hvitis%2Fsocial-djoser-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hvitis%2Fsocial-djoser-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hvitis","download_url":"https://codeload.github.com/hvitis/social-djoser-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250307610,"owners_count":21409101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","django-rest-framework","django-social","django-social-network","drf","social-login","social-network"],"created_at":"2024-10-02T07:58:34.504Z","updated_at":"2025-04-22T19:26:10.422Z","avatar_url":"https://github.com/hvitis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# social-djoser-template 🙋‍♂️ 🙋\n\nThis is a template that shows how to implement google social OAuth2 with [Djoser library][1] (REST implementation of Django Authentication)\n\n## Installation\n\nFor advanced users:\n\n```bash\nvirtualenv venv_social_djoser_template\ncd venv_social_djoser_template\ngit clone https://github.com/hvitis/social_djoser_template\ncd social_djoser_template\npip install -r requirements.txt \n```\n\n## Usage\n\n1. Get OAuth2 keys\n```\nSOCIAL_AUTH_GOOGLE_OAUTH2_KEY = 'YOUR_SOCIAL_AUTH_GOOGLE_OAUTH2_KEY' \nSOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = 'YOUR_SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET' \n```\n\n2. Set up your OAuth2 redirect URLs in [google developers console][2]\n3. Run the app\n```bash\npython manage.py migrate\npython manage.py runserver\n```\n\n## Need Help ? 💁🏻‍♂️💁🏽‍♀️\n\n1. [__Full newbie explanation__][0] on how to connect OAuth2 with django (using django_social) in this template.\n2. Check POSTMAN tests in this repo to see how the requests work.\n\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n\n\n[0]: https://hvitis.com/django-oauth-social-tutorial-how-to-implement-google-login-with-djoser\n[1]: https://djoser.readthedocs.io/en/latest/social_endpoints.html\n[2]: https://console.developers.google.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhvitis%2Fsocial-djoser-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhvitis%2Fsocial-djoser-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhvitis%2Fsocial-djoser-template/lists"}