Uploaded image for project: 'PUBLIC - OAuth2'
  1. PUBLIC - OAuth2
  2. OAUTH2-289

Fail to grant authorizations

    Details

    • Type: Regression Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: None
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Navigate to Control Panel > OAuth2 Administration
      2. Add a new OAuth 2 Application
        1. Application Name: OAuth Application
        2. Uncheck Authorization Code
      3. Get the ClientId and ClientSecret and execute the command
        curl -X POST --data "grant_type=client_credentials&client_id=${generatedClientId}&client_secret=${generatedClientSecret}" http://localhost:8080/o/oauth2/token
        

      Actual Result:
      "error":"invalid_grant" error displays.

        Attachments

          Activity

            People

            Assignee:
            linda.sui Linda Sui
            Reporter:
            linda.sui Linda Sui
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Master