How to do social sign-in?
In order to sign-up/sign in a user using OAUTH providers you must follow the three-step process:
- 1.
- 2.Then, a user needs to be redirected to
authUri
received in step 1 and authenticate using their credentials with the OAUTH provider - 3.Finally, once the authentication is successful, the user is redirected to the provided
callbackUrl
with thetoken
orcode
variables can be found as query parameters depending on the OAUTH provider. Those parameters among others need to be passed toSign in with OAUTH
method in Javascript SDK or REST AUTH API.
Last modified 8mo ago