Function handleOAuth2AuthorizeLanding
- handleOAuth2AuthorizeLanding(
clientScope: string,
oauth2Session: string,
): Promise<
| {
expires?: Instant;
idPayload?: JwtPayload;
tokens?: OAuth2Tokens;
userData?: Record<string, unknown>;
}
| null,
>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<
| {
expires?: Instant;
idPayload?: JwtPayload;
tokens?: OAuth2Tokens;
userData?: Record<string, unknown>;
}
| null,
> - clientScope: string
Handle a landing from createAuthorizeLink.