How to do social sign-in?

Overview

You must first activate the OAUTH provider you are using.

In order to sign-up/sign in a user using OAUTH providers you must follow the three-step process:

  1. First, create a URL for OAUTH sign-in either via Javascript SDK or REST AUTH API.

  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 the token or code variables can be found as query parameters depending on the OAUTH provider. Those parameters among others need to be passed to Sign in with OAUTH method in Javascript SDK or REST AUTH API.

Last updated

Copyright © 2023 Deskree Technologies Inc.