Toggle menu

Provider Logout: POST /http/logout

The createLogoutSession JSONRPC method should be called upon site logout, and upon receiving a response of "performAuthLogout": true the user's browser should be redirected to this /http/logout endpoint with the 'as' and 'asn' as query parameters, for example:

http://demodev1/apiserver/auth/http/logout?as=<UUID>&asn=<UUID>

Upon forwarding the user's browser to this method the Authentication Worker will log the user out of the third party auth provider. Upon success the user will be redirected to the URL specified in the returnUrl parameter provided in the createLogoutSession request, and upon failure the user will be redirected to the errorReturnUrl also provided in the createLogoutSession request.

Parameters (Multipart POST Fields)

NameTypeDescription
asQuery Param (UUID), requiredThe authSessionId (as), as returned by createLogoutSession
asnQuery Param (UUID), requiredThe authSessionNonce (asn), as returned by createLogoutSession
Last modified on June 27, 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon