Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-13247

Token info endpoint throwing 401

    XMLWordPrintable

    Details

    • Rank:
      1|hzw5wn:
    • CTSNEX Sprint 28

      Description

      Bug description

      Last passed seen on (9c9b498a94)  then due to pyforge issues haven’t seen the test passing, and now we see token info endpoint is being broken.

      HTTP request:
      18:49:10 GET http://crabotin.internal.forgerock.com:8081/openam/oauth2/tokeninfo?access_token=3uazdD--aJbdmX-vHIukOTmL5q8
      18:49:10 headers=
      18:49:10 Content-Type: application/x-www-form-urlencoded
      18:49:10 Accept: */*
      18:49:10 Host: crabotin.internal.forgerock.com:8081
      18:49:10 =========================
      18:49:10 HTTP response:
      18:49:10 status=
      18:49:10 401 Unauthorized
      18:49:10 headers= 
      18:49:10 Server: Apache-Coyote/1.1
      18:49:10 X-Frame-Options: SAMEORIGIN
      18:49:10 Date: Wed, 20 Jun 2018 16:38:49 GMT
      18:49:10 Accept-Ranges: bytes
      18:49:10 Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
      18:49:10 Content-Type: application/json
      18:49:10 Transfer-Encoding: chunked
      18:49:10 
      18:49:10 body=
      18:49:10 {"error_description":"The access token provided is expired, revoked, malformed, or invalid for other reasons.","error":"invalid_token"}
      

      How to reproduce the issue

      you can run it through pyforge below test with attached config file.

      ./run-pybot.py -c perf -s oidc.oidc -t tokeninfo_load -n openam

       

      relevant job http://jenkins-gnb.internal.forgerock.com:8080/job/AM-6.5.0/job/OIDC/job/oidc_jks/

        Attachments

          Issue Links

            Activity

              People

              craig.mcdonnell Craig McDonnell
              narita.saxena Narita Saxena
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: