Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add minimal example of Google Social Login in the document of Social Authentication #336

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

YZ775
Copy link

@YZ775 YZ775 commented Nov 27, 2021

There are issues related to Google Social Login, but the document does not have an example of Google. So I added a minimal example of that.

Issues related to Google Login
#220
#147

@YZ775 YZ775 changed the title Add minimal example of Google in the document of Social Authentication Add minimal example of Google Social Login in the document of Social Authentication Nov 27, 2021
@iMerica
Copy link
Owner

iMerica commented Dec 20, 2021

Thank you 👍

@iMerica iMerica merged commit 26ecb1a into iMerica:master Dec 20, 2021

)

3. Create new view as a subclass of ``dj_rest_auth.views.SocialLoginView`` with ``GitHubOAuth2Adapter`` adapter, an ``OAuth2Client`` and a callback_url as attributes:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo here, GitHubOAuth2Adapter -> GoogleOAuth2Adapter

@NTN-code
Copy link

#551 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants