adobe / aio-lib-java

Adobe I/O - Java SDK
https://opensource.adobe.com/aio-lib-java/
Apache License 2.0
5 stars 17 forks source link

GH-210: fixed scope parameter issue #211

Closed pulguptaAdobe closed 5 months ago

pulguptaAdobe commented 5 months ago

Description

All operations which needs a token are failing when using OAuth based workspace

Related Issue

Motivation and Context

In the actual API call parameter-name is scope but sdk is using scopes

Sample Curl call

curl -X POST 'https://ims-na1-stg1.adobelogin.com/ims/token/v3' -H 'Content-Type: application/x-www-form-urlencoded' -d 'grant_type=client_credentials&client_id=xxxxx&client_secret=xxxxxx&scope=yyyy,zzzzz'

How Has This Been Tested?

I deployed the local build on AEM cloud and tested & the fix is working fine.

Screenshots (if appropriate):

Types of changes

Checklist: