Function handleOAuth2AuthorizeLanding
- handleOAuth2AuthorizeLanding(
clientScope: string,
oauth2Session: string,
): Promise<
| null
| {
expires?: Instant;
idPayload?: JwtPayload;
tokens?: OAuth2Tokens;
userData?: Record<string, unknown>;
},
>Parameters
- clientScope: string
WRD Schema tag or other identifier to bind responses to the application as specified when creating the OAuth2Client
- oauth2Session: string
OAuth2 session id (take from the URL searchParameter)
Returns Promise<
| null
| {
expires?: Instant;
idPayload?: JwtPayload;
tokens?: OAuth2Tokens;
userData?: Record<string, unknown>;
},
> - clientScope: string
Handle a landing from createAuthorizeLink.