Social login with google
See original GitHub issueHi, I want to provide social login via facebook/google for my app, While I got FB to work I cannot figure out what the code
should be when using google as auth provider. Could please anybody elaborate on that?
Also I think we should document that for facebook code
is the same of App Token
, it took me some time to figure it out
Issue Analytics
- State:
- Created 7 years ago
- Reactions:18
- Comments:11
Top Results From Across the Web
Integrating Google Sign-In into your web app | Authentication
Integrating Google Sign-In into your web app · Create authorization credentials · Load the Google Platform Library · Specify your app's client ID ......
Read more >Google Social Login with Magic
Navigate to Social Login from the sidebar; Click the toggle for Google / Gmail; Input the Client ID and Client Secret for your...
Read more >How to create a Google app for Social Login Into WordPress
go to miniOrange Social Login Plugin → Click on Configure Apps → click on Google: · Copy the Client Id and Client Secret...
Read more >Google social login integration - Okta Developer
In the Admin Console, go to Security > Identity Providers. Click Add Identity Provider, and then select. Google. IdP.
Read more >Google Social Login - OpenIAM Documentation
Now on login page you can see red button 'Sign with Google', if you click on it Google will ask you to share...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gbrennon I was able to use also google login in the end, I’m putting together a small tutorial but for now:
client_class = OAuth2Client
code
If you want to test this you can use https://developers.google.com/oauthplayground/
Now on the left side of the page you can see an
authorization code
, that’s thecode
required by rest-auth, have fun!The playgorund simulates well a mobile app asking for permissions, then you can create a real app in the developer’s console, put the required code into the mobile/web app and send the
Authorization code
from google to your API.Hope this helps!
Hey guys, I have fixed it by customization. I have posted in on StackOverflow as well.
Here is the link of my stackoverflow answer.
see the answer of this issue
As the default code only deals with
access_token
but google provideid_token
. So If you want to useid_token
as well. then you can follow the link given in that post begining. I have got it working for bothid_token
andaccess_token
.I will solve this issue for sure.