Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-131573

OAuth2 Token Introspection it's not working

    Details

      Description

      Steps to reproduce:

      1. Create new OAuth2 application
      2. Edit the OAuth2 app and check Token Introspection checkbox
      3. Obtain access token using http://martamedio.com/oauth2-tester/
      4. Try to Inspect the token using the previous tool or execute from cmd line (set correct client_id, client_secret and token values):
        curl 'http://localhost:8080/o/oauth2/introspect' \
          -H 'Content-Type: application/x-www-form-urlencoded' \
          --data 'client_id=XX' \
          --data 'client_secret=XX' \
          --data 'token=7b47179c5dc6dd43bb4d46b5ea47bae0cbf4b04f999b50a255bad7d988725' \
          --compressed
        

      Expected Result: Server returns information about the token
      Actual Result: Server returns error message

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marcell.weller Marcell Weller
              Reporter:
              marta.medio Marta Medio (Inactive)
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Engineering Assignee:
              Marta Medio (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                22 weeks, 2 days ago

                  Packages

                  Version Package
                  7.4.1 CE GA2 DXP 7,4
                  Master