Logout
When calling the CAS logout, only the current unified authentication session will be terminated. After logout, access to the user center and applications that have already been authenticated via single sign-on is not affected. However, when accessing an application again through the SSO authentication URL, re-authentication is required. Unlike the global unified logout interface, calling the global unified logout interface will simultaneously log the user out of the user center and will trigger the logout URLs of accessed applications.
# Request Description
GET https://{your_domain}/api/v1/cas/logout
# Request Parameters
| Parameter | Chinese Name | Required | Example Value | Description |
|---|---|---|---|---|
| service | Callback Address | No | https://{app_domain}/callback | Redirect address after logout. If not set, redirects to the IDaas login page. |
# Request Example
GET https://{your_domain}/api/v1/cas/logout?service=https://{app_domain}/callback
# Response Example
HTTP Status: 302 REDIRECT
https://{app_domain}/callback
1
2
2
