Copy link to clipboard
Copied
Hello!
I get authorization_code by this request:
https://ims-na1.adobelogin.com/ims/authorize/v2?client_id=*client_id*&scope=offline_access,openid,AdobeID,lr_partner_rendition_apis,lr_partner_apis&response_type=code
After i try to get token:
> POST https://ims-na1.adobelogin.com/ims/token/v3/
> content-type: application/x-www-form-urlencoded
> Authorization: Basic base64(*client_id*:*client_secret*)
> data "authorization_code=*authorization_code*&grant_type=authorization_code"
and get error:
< 400 Bad Request
{
"error": "access_denied"
}
It's not incorrect auth, becouse when i send incorrect client_id/client_secret, i get error
{
"error": "unauthorized",
"error_description": "invalid client_secret parameter"
}
I can't find any information about this error. Please help how to get access token.
The documentation should be updated shortly.
Copy link to clipboard
Copied
documentation have error
parameter authorization_code should be have name code, like in samples https://developer.adobe.com/developer-console/docs/guides/authentication/UserAuthentication/IMS/#req...
Copy link to clipboard
Copied
The documentation should be updated shortly.