Authentication
Set Social Authentication Prompt
Customizing social login prompts for Google, Discord, and Microsoft accounts.
For some social platforms, specifically Google, Discord, and Microsoft, you can configure the timing of the consent page displayed to users during the login process. Generally, three options are provided:
none
: Do not display any authentication or consent screens. Must not be specified with other values.consent
: Prompt the user for consent.select_account
: Prompt the user to select an account.
Our SDK does not pass this parameter by default, which corresponds to the none
process above. After the user authorizes, they won’t need to choose next time; if you want the user to choose each time, you need to configure it to select_account
. The configuration items for the SDK on different platforms are as follows:
- Web
- Android:
prompt
parameter
- iOS:
socialLoginPrompt
parameter
- ReactNative:
socialLoginPrompt
parameter
- Unity:
socialLoginPrompt
parameter
- Flutter:
socialLoginPrompt
parameter
Was this page helpful?