v16

OpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-04-0886158866.0 KB
Native SSO

Native SSO Logout Processing

The /nativesso/logout API is supposed to be used to support the concept of "logout from all applications" in the context of OpenID Connect Native SSO for Mobile Apps 1.0 (Native SSO). This is accomplished by deleting access/refresh token records associated with the specified session ID. In Authlete's implementation, access/refresh token records can be associated with a session ID only through the mechanism introduced by Native SSO.

post/api/{serviceId}/nativesso/logout

Path parameters

serviceIdstring required

A service ID.

Request body

sessionIdstring required

The session ID of a user's authentication session.

Response

resultCodestring

The code which represents the result of the API call.

resultMessagestring

A short message which explains the result of the API call.

action'OK' | 'SERVER_ERROR' | 'CALLER_ERROR'

The next action that the API caller should take.

countinteger

The number of deleted access/refresh token records.