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

Generate access tokens always returns 400: unauthorized_client

New Here ,
May 22, 2024 May 22, 2024

Copy link to clipboard

Copied

When trying to generate a bearer token for the stock api via https://ims-na1.adobelogin.com/ims/token/v3, I always get a 400 response saying:

{"error":"unauthorized_client"}

I have checked my ID and secret multiple times. I am not able to get this to work with this command:

curl -X POST 'https://ims-na1.adobelogin.com/ims/token/v3' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'client_id=32...2d&client_secret=p8...yh&grant_type=client_credentials&scope=creative_sdk'


The project is created as an OAuth Web App. My goal is to search and download (license) images from within a private app. 

What am I doing wrong?

Views

63

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
Community Expert ,
May 22, 2024 May 22, 2024

Copy link to clipboard

Copied

LATEST

in the future, to find the best place to post your message, use the list here, https://community.adobe.com/

p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.



<"moved from using the community">

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
Resources
Buy Adobe Stock
Getting Started