Answered
when get access token for lightroom API return error "access_denied"
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.
