Authentication to private api

@atarodia @fernando_delosrios tagging you guys as you implemented this function.

I am trying to use private api to get cert reports, exact api call is below.
**https://atlassian-sb.api.identitynow.com/rde/reporting/reports/**1e4fd18571a44a8f9783d676cbce728a/pdf?name=G%20Suite%20Staging%20test_Campaign%20Status%20Report_2023-11-
06_07%3A46UTC

This is not official documented api but tried to follow network trace and found it.
I am trying to make postman call to this api, If I use standard Oauth client_creds method, I get error

{
“error”: “Unable to route request”
}

If I copy bearer token from network tab calls , paste it in postman then I get result from api.

So to use private api authentication I generated IDTOKEN2 from login screen using method below.

  1. Go to IdentityNow login page
  2. Intercept the network using developer tools (ctrl+shift+I)
  3. Type in your admin privileged username and password
  4. Look for call that says auth
  5. The URL is the SailPoint Login URL
  6. Click on payload and copy the IDToken1 and IDToken2 which are username and hashed password respectively.

Making this postman call

I got the script “slpt-globals-json” as part of html response but there is no accessToken1 in response.

Overall I want to generate token using this method and use it to call rde api.

Hi @chirag_patel,

Here’s the CURL request to get access token from that method:

curl -L 'https://tenant.login.identitynow-demo.com/auth' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'encryption=HASH' \
-d 'IDToken1=uid \
-d 'IDToken2=hashedPass'

The URL you need to use is Auth URL:
image

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.