IdP API Reference

OpenID Connect — IdP API

Base URL: https://idp.authpi.com — see the IdP API overview for the supported flows, or try these endpoints in the interactive reference.

GET/{issuer_id}/logout

Logout

RP-initiated logout using id_token_hint as defined by OIDC

Path parameters

NameTypeRequiredDescription
issuer_idstringRequiredIssuer ID

Query parameters

NameTypeRequiredDescription
id_token_hintstringRequiredID Token representing the session to terminate
post_logout_redirect_uristringOptional
statestringOptional

Responses

CodeDescriptionSchema
400Bad Request - The request is malformed or missing required parameters.OAuthError
401Unauthorized - Authentication is required or has failed.OAuthError
403Forbidden - The authenticated client or user lacks permission for this operation.OAuthError
404Not Found - The requested resource does not exist.OAuthError
422Unprocessable Entity - The request syntax is correct but the data cannot be processed.OAuthError
429Too Many Requests - Rate limit exceeded.OAuthError
500Internal Server Error - An unexpected error occurred.OAuthError

POST/{issuer_id}/logout

Logout

RP-initiated logout using id_token_hint as defined by OIDC

Path parameters

NameTypeRequiredDescription
issuer_idstringRequiredIssuer ID

Query parameters

NameTypeRequiredDescription
id_token_hintstringRequiredID Token representing the session to terminate
post_logout_redirect_uristringOptional
statestringOptional

Responses

CodeDescriptionSchema
400Bad Request - The request is malformed or missing required parameters.OAuthError
401Unauthorized - Authentication is required or has failed.OAuthError
403Forbidden - The authenticated client or user lacks permission for this operation.OAuthError
404Not Found - The requested resource does not exist.OAuthError
422Unprocessable Entity - The request syntax is correct but the data cannot be processed.OAuthError
429Too Many Requests - Rate limit exceeded.OAuthError
500Internal Server Error - An unexpected error occurred.OAuthError