Auth Provider Logout
Performs a HTTP logout by clearing the session cookie and redirecting to to the requested path at the frontend's `WEB_ADDRESS`. Typically this may be a secondary logout route on the frontend implementation that can handle any frontend-specific logout tasks. This is necessary in cases where the frontend is running on a different origin to the API service such as api.site.com vs site.com because Clear-Site-Data and other headers are same-origin compliant and won't work cross-origin.
Performs a HTTP logout by clearing the session cookie and redirecting to
to the requested path at the frontend's WEB_ADDRESS. Typically this
may be a secondary logout route on the frontend implementation that can
handle any frontend-specific logout tasks. This is necessary in cases
where the frontend is running on a different origin to the API service
such as api.site.com vs site.com because Clear-Site-Data and other
headers are same-origin compliant and won't work cross-origin.
/auth/logoutIn: cookie
Query Parameters
Path relative to the WEB_ADDRESS to redirect to. Note that this is
a path only and not a full URL to prevent cross-origin or cross-site
redirects. If not provided, redirects to WEB_ADDRESS index page.
Response Body
curl -X GET "https://loading/api/auth/logout?redirect=string"