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.
Full description
/nativesso/logout API contains action response parameter. The possible values
are:OK, it indicates that the /nativesso/logout API call completed successfully.SERVER_ERROR, it indicates that something has gone wrong on the Authlete side.CALLER_ERROR, it indicates that the /nativesso/logout API call contained a
problem. For example, the call may have been missing the required request parameter sessionId.Authenticate every request with a Service Access Token or Organization Token.
Set the token value in the Authorization: Bearer <token> header.
Service Access Token: Scoped to a single service. Use when automating service-level configuration or runtime flows.
Organization Token: Scoped to the organization; inherits permissions across services. Use for org-wide automation or when managing multiple services programmatically.
Both token types are issued by the Authlete console or provisioning APIs.
A service ID.
The session ID of a user's authentication session.
The code which represents the result of the API call.
A short message which explains the result of the API call.
The next action that the API caller should take.
OK, SERVER_ERROR, CALLER_ERROR The number of deleted access/refresh token records.