Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-15471

Upload endpoint missing 'www-authenticate' header when request is a 401

    Details

    • Target Version/s:
    • Story Points:
      2
    • Sprint:
      2020.12 - IDM

      Description

      The platform-admin ui uses the appAuthHelper library to managed tokens. When a token has expired it attempts to renew it. The way it knows to renew the token is by looking for the "invalid_token" error in the "www-authenticate" header. The upload endpoint is missing this header. 
      The header should look like this =>

       
      www-authenticate:
      Bearer realm="IDM",error_description="The access token provided is expired, revoked, malformed, or invalid for other reasons.",error="invalid_token"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                travis.haagen Travis Haagen
                Reporter:
                huck.elliott Huck Elliott
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: