PrepareSsoParamsType
PrepareSsoParamsType = {
directExit?:boolean;lang?:"en"|"fr";metadata?:SsoMetadata;redirectUrl?:string; }
Defined in: types/rpc/sso.ts:22
Params for preparing SSO (generating URL) Same as OpenSsoParamsType but without openInSameWindow (popup-only operation)
Properties
Section titled “Properties”directExit?
Section titled “directExit?”
optionaldirectExit?:boolean
Defined in: types/rpc/sso.ts:35
If the SSO should directly exit (close the popup) after completion.
Defaults to true when redirectUrl is omitted, false otherwise.
The default is applied by `openSso()`
before the SSO URL is generated and by the wallet SSO route as a fallback
for older SDK callers.
optionallang?:"en"|"fr"
Defined in: types/rpc/sso.ts:40
Language of the SSO page (optional) It will default to the current user language (or “en” if unsupported language)
metadata?
Section titled “metadata?”
optionalmetadata?:SsoMetadata
Defined in: types/rpc/sso.ts:44
Custom SSO metadata
redirectUrl?
Section titled “redirectUrl?”
optionalredirectUrl?:string
Defined in: types/rpc/sso.ts:26
Redirect URL after the SSO (optional)