handleOAuth2AuthorizeLanding | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function handleOAuth2AuthorizeLanding

    • Handle a landing from createAuthorizeLink.

      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>;
          },
      >