SSOConfig
@blobs/sdk / sso / SSOConfig
Defined in: sso/types.ts:27
Caller-supplied options for an SSO flow, merged with DEFAULT_SSO_CONFIG via mergeConfig.
Properties
network?
optionalnetwork?:string
Defined in: sso/types.ts:29
Target network for authentication (defaults to SDK default network)
authServer?
optionalauthServer?:string
Defined in: sso/types.ts:32
Custom auth server URL (overrides network’s hostAuth)
returnUrl?
optionalreturnUrl?:string
Defined in: sso/types.ts:35
URL to redirect to after successful authentication
signOutUrl?
optionalsignOutUrl?:string
Defined in: sso/types.ts:38
URL to redirect to on sign out
clientId?
optionalclientId?:string
Defined in: sso/types.ts:41
Custom client ID for OAuth flow
scopes?
optionalscopes?:string[]
Defined in: sso/types.ts:44
Requested permissions/scopes
permissions?
optionalpermissions?:string[]
Defined in: sso/types.ts:47
Custom permissions to request
popupOptions?
optionalpopupOptions?:SSOPopupOptions
Defined in: sso/types.ts:50
Popup window options
onSuccess?
optionalonSuccess?: (result) =>void
Defined in: sso/types.ts:53
Success callback
Parameters
result
Returns
void
onError?
optionalonError?: (error) =>void
Defined in: sso/types.ts:56
Error callback
Parameters
error
Returns
void
allowSessionSelection?
optionalallowSessionSelection?:boolean
Defined in: sso/types.ts:59
Allow selecting from existing sessions
autoClose?
optionalautoClose?:boolean
Defined in: sso/types.ts:62
Auto-close popup on success
timeout?
optionaltimeout?:number
Defined in: sso/types.ts:65
Timeout in milliseconds (default 5 minutes)