OptionalcallbackFactory
callbackFactory?: JourneyCallbackFactory
OptionalerrorParams
errorParams?: string[]
Optionallogin
login?: "redirect" | "embedded"
OptionaloauthThreshold
oauthThreshold?: number
OptionalplatformHeader
platformHeader?: boolean
Optionalprefix
prefix?: string
Optionalprompt
prompt?: "none" | "login" | "consent"
Optionalquery
query?: Record<string, string>
OptionalrealmPath
realmPath?: string
redirectUri
redirectUri: string
OptionalresponseMode
responseMode?: "pi.flow" | "fragment" | "form_post" | "query"
responseType
Optionalstate
state?: string
OptionalsuccessParams
successParams?: string[]
Optionaltree
tree?: string
Optionaltype
type?: string
Optionalverifier
verifier?: string
Define the options for the authorization URL
Param: clientId
The client ID of the application
Param: redirectUri
The redirect URI of the application
Param: responseType
The response type of the authorization request
Param: scope
The scope of the authorization request