Generate a URL to attempt authorization with the OP See https://openid.net/specs/openid-connect-basic-1_0.html#CodeRequest
validated metadata from OP discovery
this client's id as registered with the OP
used to establish the session on return from the OP
state
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
value to append to the opaque state identifier to uniquely identify the callback
value to send as the login_hint to the OP, giving a hint about the login identifier the user might use to log in. See OIDC core 3.1.2.1.
login_hint
a Promise with the url as a string
Experimental
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
Param: loginHint
value to send as the
login_hint
to the OP, giving a hint about the login identifier the user might use to log in. See OIDC core 3.1.2.1.Returns
a Promise with the url as a string