Skip to main content

Introduction

This article describes Authlete’s support for the OpenID Connect Back-Channel Logout 1.0 specification.

Specification Overview

The server generates a Logout Token and sends an HTTP POST request containing it to the client’s Back-Channel Logout URI. Upon receiving the Logout Token, the client performs logout processing. A Logout Token is a JWT. The value of its typ header parameter is defined as logout+jwt. Its payload contains either the sub claim, the sid claim, or both, and these claims identify the logout target.

Logout Token API

Authlete provides an API for generating Logout Tokens. The API path is /api/{service-id}/backchannel/logout/token. The request body format is either application/json or application/x-www-form-urlencoded. The request parameters are as follows. The response parameters are as follows. The following is an example API call.
The following is an example API response.
Decoding the header and payload of the Logout Token included in this example yields the following.

Note that the current implementation of the /api/{service-id}/backchannel/logout/token API does not automatically revoke tokens. If token revocation is necessary, trigger it explicitly, for example by calling the revocation endpoint.

Metadata

The OpenID Connect Back-Channel Logout 1.0 specification defines two server metadata parameters and two client metadata parameters. Corresponding properties have been added to Authlete’s Service and Client models as well.

Conclusion

Support for the OpenID Connect Back-Channel Logout 1.0 specification is available starting with Authlete version 3.0.32. For more information, please contact us via the contact form.