Skip to content

aio-lib-java-ims OAuth based workspace is unable to acquire token #210

Description

@pulguptaAdobe

Expected Behaviour

OAuth based clients should be able to acquire access token

Actual Behaviour

OAuth based clients are not able to get access token

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Create a OAuth based workspace and call any operation which need a token for example: getProviders() API

Platform and Version

Java 11 + AEM + AEM Guides

Sample Code that illustrates the problem

Logs taken while reproducing problem

feign.FeignException$BadRequest: [400 Bad Request] during [POST] to [https://ims-na1-stg1.adobelogin.com/ims/token/v3?client_id=xxxx] [ImsApi#getOAuthAccessToken(String,String,String)]: 
[
    {
        "error": "invalid_target_scope",
        "error_description":"None of the requested scopes are both on the client and the binding."
    }
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions