Skip to content
Snippets Groups Projects
Forked from Platform / Development / swh-auth
Source project has a limited visibility.
  • Antoine Lambert's avatar
    309118c1
    django/backends: Improve expired token handling · 309118c1
    Antoine Lambert authored
    The first time a user sends an expired token previously used to
    perform authenticated Web API calls, Keycloak will return the
    following error message: "Offline session not active".
    
    So handle that error message too for indicating a token has expired.
    
    Related to T3121
    309118c1
    History
    django/backends: Improve expired token handling
    Antoine Lambert authored
    The first time a user sends an expired token previously used to
    perform authenticated Web API calls, Keycloak will return the
    following error message: "Offline session not active".
    
    So handle that error message too for indicating a token has expired.
    
    Related to T3121