メインコンテンツまでスキップ

Function: buildLogoutUrl()

buildLogoutUrl(config, idTokenHint?, postLogoutRedirectUri?): string

RP-initiated logout URL at the issuer's frozen end_session route.

The id_token_hint is optional (RP-initiated logout §2): the issuer session cookie can outlive the RP's local tokens (expired, or a widget-only connection), and logout must still end it. client_id is always sent, so the issuer can validate post_logout_redirect_uri without the hint.

Parameters​

config​

AuthConfig

idTokenHint?​

string

postLogoutRedirectUri?​

string

Returns​

string

Remarks​

Most integrations should use createUpbond instead.