Function generateOidcAuthorizationUrl
- generateOidcAuthorizationUrl(__namedParameters): Promise<string>
Experimental
Parameters
- __namedParameters: {
clientId: string;
homeserverUrl: string;
identityServerUrl?: string;
metadata: ValidatedIssuerMetadata;
nonce: string;
prompt?: string;
redirectUri: string;
urlState?: string;
}clientId: string
homeserverUrl: string
Optional
identityServerUrl?: string
nonce: string
Optional
prompt?: string
redirectUri: string
Optional
urlState?: string
Returns Promise<string>
Generate a URL to attempt authorization with the OP See https://openid.net/specs/openid-connect-basic-1_0.html#CodeRequest
Param: metadata
validated metadata from OP discovery
Param: clientId
this client's id as registered with the OP
Param: homeserverUrl
used to establish the session on return from the OP
Param: identityServerUrl
used to establish the session on return from the OP
Param: nonce
state
Param: prompt
indicates to the OP which flow the user should see - eg login or registration See https://openid.net/specs/openid-connect-prompt-create-1_0.html#name-prompt-parameter
Param: urlState
value to append to the opaque state identifier to uniquely identify the callback
Returns
a Promise with the url as a string