SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Session revocation

Session revocation is the invalidation of tokens and sessions that have already been issued. This entry draws on OAuth 2.0 Token Revocation (RFC 7009), published in August 2013. The RFC adds an endpoint through which a client can tell an authorization server that an access or refresh token is no longer needed. The server can then clean up the token and its underlying authorization grant 1.

The RFC requires servers to support revoking refresh tokens and recommends that they support revoking access tokens. Where access token revocation is supported, invalidation takes effect immediately. Revoking a refresh token should also invalidate access tokens from the same grant 1.

The RFC states the limit of the mechanism. If a server does not support access token revocation, access tokens are not invalidated immediately when their refresh token is revoked 1. In that case, previously issued access tokens may stay usable until they expire. How completely revocation works therefore depends on the server's implementation.

Source · OAuth 2.0 Token Revocation (RFC 7009) (opens in a new tab) · IETF

References

  1. OAuth 2.0 Token Revocation (RFC 7009) (opens in a new tab) · IETF ↩ ↩ ↩

Research articles

In the news

See what connects to it on the map of ideas →

See also