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 `aio-lib-java-ims` fixed `scope` parameter typo when calling `/ims/token/v3` #212

Closed francoisledroff closed 5 months ago

francoisledroff commented 5 months ago

Description

All operations which needs a token are failing when using OAuth based workspace due to a scope parameter typo when calling /ims/token/v3

Related Issue

210

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?

see https://github.com/adobe/aio-lib-java/pull/211

Screenshots (if appropriate):

Types of changes

Checklist: