HomeSoftware Heritage

django/backends: Improve error message when a bearer token expired

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

django/backends: Improve error message when a bearer token expired

This replaces the Keycloak error message by a more comprehensible one
for end users.

Unfortunately, there is no way to get the bearer token validity period
apart using Keycloak Admin REST API but we clearly do not want to query
it in a django authentication backend.

Related to T3121

Commit No Longer Exists

This commit no longer exists in the repository.