If you configured multiple user authentication options in your application, you can implement the ability to link an additional social network account or username, email address, and password. This allows users to:
- Use an alternative option to sign into the application, and not the one used during registration. For example, if a user used a device ID to log into the application for the first time, they can add a username, email address, and password and use these authentication details on the same or any other device.
- Use a different account to sign into the application than the one they signed up with. For example, if the user specified a Google account when they first signed into the application, they can also link their Discord account and use their Google or Discord account to sign in.
To implement account linking:
- In the application UI, add forms for entering data for an additional account.
- Implement the linking logic using the following SDK methods:
|SDK method name||Description|
|Adds a username, email address, and password, that can be used for authentication, to the current account.|
|Links a social network that can be used for authentication to the current account.|
|Unlinks a social network from the current account.|
- A user who signed up with a username/email address and password logged into your application via a social network account.
- A social network provides access to the user’s email address.
- User email address in a social network is the same as the email address used for sign-up in your application.
Was this article helpful?
Rate this page
Don’t want to answer
Thank you for your feedback!
Found a typo or other text error? Select the text and press Ctrl+Enter.