Expand my Community achievements bar.

JWT

Avatar

Level 9

I am trying to generate a access token using curl command generated via adobe io console.

 

https://www.adobe.io/authentication/auth-methods.html#!AdobeDocs/adobeio-auth/master/AuthenticationO...

 

I generate the custom JWT and copy the sample curl command from the adobe io console, import that to my postman as shown in the above link and hit send, I get a 500 internal server error.

 

POST: https://ims-na1.adobelogin.com/ims/exchange/jwt/

 

I am not sure what is wrong, I can generate an access token from the Generate access token option, by using my private key.

 

Open your private key. Then, copy and paste the key in the field. A JSON Web Token (JWT) will be generated and exchanged for your first access token

 
 
3 Replies

Avatar

Level 9
@SatheeskannaK, Thank you for the response, I checked that link and it refers to open SSL for generation for public/private key pair, I do not want to use that method and would rather utilize adobe io console where I have already created a project and configured it to generate the private key, also with that same private key, I can generate a bearer token, but when I use the Generate JWT option and paste my private key and then copy the sample curl command and use postman where I import and paste the raw text, after hitting send, I get 500 internal server error, I am not sure why, is the JWT generate not working via adobe io console to get a access token?

Avatar

Level 9
I still need help to understand why the process is not working via adobe.io