Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Rest api for JWT generation

Avatar

Avatar
Level 1
yaminit98861620
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
yaminit98861620
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
yaminit98861620
Level 1

16-12-2019

Hello! We have a requirement where ServiceNow integrates with adobe to get customer's data (CCPA). In this process, the first step is to generate jwt token. For ServiceNow we need a rest api to be able to automate this process. I see we have rest apis for generating access token, submit access/delete requests and also to check job status. But there is no api to generate jwt token. From other thread (https://forums.adobe.com/thread/2640985), I could find a python script to automatically generate jwt token, but, ServiceNow cannot use a script. It requires an api. Is there anyway we can achieve this automation using java or a rest api? Has anybody ever tried to integrate from ServiceNow? Also, wondering why adobe doesn't have an api for jwt generation?

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 2
ltaparia
Level 2

Likes

5 likes

Total Posts

29 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
ltaparia
Level 2

Likes

5 likes

Total Posts

29 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
Boost 5
Boost 3
Boost 1
View profile
ltaparia
Level 2

08-01-2020

Hi, I think you want to use service now so that your JWT token won't expire after 24 hours(OAuth case).

 

What I did for this problem to generate JWT dynamically whenever it require. Please check screenshot for the code which can help you. Just add your keys and let me know if it helps you.

JWT generationJWT generation

Regards

Lalit