Uploaded image for project: 'Identity Gateway'
  1. Identity Gateway
  2. OPENIG-979

Attempt Access Token refreshment before forwarding the request if expired

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.0.0
    • Fix Version/s: None
    • Component/s: OAuth 2.0
    • Labels:
      None

      Description

      After OPENIG-933 we'll have a mechanism for reacting to UNAUTHORIZED messages from the resource server.

      It's the more standard way of doing that, but it comes with a price: 3 HTTP calls: RS failure, token refresh and RS redo.

      It's possible to do it more efficiently if the access token contains an expiration time: we could test token expiration and do the refresh before calling the RS: 2 calls instead of 3.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                guillaume.sauthier Guillaume Sauthier
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: