• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

when get access token for lightroom API return error "access_denied"

New Here ,
Jul 21, 2024 Jul 21, 2024

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.

TOPICS
Web

Views

161

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Jul 25, 2024 Jul 25, 2024

The documentation should be updated shortly. 

Votes

Translate

Translate
New Here ,
Jul 21, 2024 Jul 21, 2024

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 25, 2024 Jul 25, 2024

Copy link to clipboard

Copied

LATEST

The documentation should be updated shortly. 

Rikk Flohr: Adobe Photography Org

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines