Skip to main content
Participant
September 28, 2023
Question

OAuth Confusion

  • September 28, 2023
  • 1 reply
  • 445 views

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!

 

    This topic has been closed for replies.

    1 reply

    Raymond Camden
    Community Manager
    Community Manager
    September 28, 2023

    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.