POST /auth/oidc/logout

处理OpenID Connect RP-Initiated Logout 1.0规范的登出请求。根据id_token_hint重定向到OP的end_session_endpoint或post_logout_redirect_uri,同时撤销当前用户的会话。

OAuth None application/json

请求参数

名称位置类型必填默认值示例约束描述
id_token_hint query string 否 ID Token提示
post_logout_redirect_uri query string 否 登出后重定向URI
state query string 否 状态参数

响应

状态描述Schema
200登出成功service-core/base/dto.SimpleResponse
302重定向到登出页面string

引用的 Schema

service-core/base/dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否