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

OAuth Confusion

New Here ,
Sep 28, 2023 Sep 28, 2023

Hi there!

 

I am trying to connect an orchestration SaaS product I use (make.com, formerly Integromat) to use the Adobe PDF Services API, The first step in Make is to create a connection.

 

I have a client_id and client_secret and I downloaded the Postman collection and everything works fine. I notice in postmn that GetAccessToken issues a POST to https://pdf-services.adobe.io/token. I am assuming that this is the value for "Token URI"  that I'll mention later.

 

When setting up the initial connection in Make, it has two flow types:

1. Authorizarion Code

2. Implicit

 

Both flows require client_id and client_secret and have the option to specify a "Scope"

Authorization Code requires a "Authorize URI" and a "Token URI". Implicit just asks for the "Authorize URI".

 

Can someone please advise on what values I need to enter for Authorize URI and Token URI? I've been perusing documentation for hours and chassing rabbits down holes and nothing is making any sense to me!

 

image.png

472
Translate
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 ,
Sep 28, 2023 Sep 28, 2023
LATEST

So in code, I do a HTTP post to

 

https://ims-na1.adobelogin.com/ims/token/v2?client_id=#arguments.clientId#&client_secret=#arguments.clientSecret#&grant_type=client_credentials&scope=openid,AdobeID,read_organizations
 
Where #arguments.clientId# and #arrguments.clientSecret# are the two values. You can see the grant type and scopes there. Honestly I think read_organizations isn't required.
Translate
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