JWT generation in Adobe Campaign Classic | Community
Skip to main content
nitesha38268385
Level 2
September 8, 2020
Solved

JWT generation in Adobe Campaign Classic

  • September 8, 2020
  • 2 replies
  • 2687 views

Hey Folks,

 

I am trying to consume some third party API's in the workflow to get the data. and those API works on the OAuth Mechanism and to use these API's, I need to create the JWT inside the workflow.

 

Can you please suggest, how I can generate the JWT programmatically and utilize it further into the workflow for the API Call authentication?

 

Regards,

Nitesh.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by DavidKangni

Hi Nitesh,

 

You will need to download some crypto js libraries and write down some functions.

You can take a look at Creating JSON Web Token in JavaScript or this demo video 

 

Thanks,

David

2 replies

DavidKangni
Community Advisor
DavidKangniCommunity AdvisorAccepted solution
Community Advisor
September 8, 2020

Hi Nitesh,

 

You will need to download some crypto js libraries and write down some functions.

You can take a look at Creating JSON Web Token in JavaScript or this demo video 

 

Thanks,

David

David Kangni
Sukrity_Wadhwa
Community Manager
Community Manager
September 14, 2020

Hi @nitesha38268385,

Were you able to resolve this query with the given solution? Do let us know.

Thanks!

 

Sukrity Wadhwa
nitesha38268385
Level 2
September 15, 2020

Hi @sukrity_wadhwa ,

Solution Shared was helpful and I could have solved as per the solution shared, but my requirement was to generate the JWT using the RSA algorithm which is not supported by this crypto.js library. But later on, I build my own jar file and deployed on the on-premise marketing server and executed it using the executedCommand() function for each record int the workflow.

September 22, 2022

Hello @nitesha38268385 , would you be able to share the jar you created*imported on the mkt server?

 

I have a similar issue on my side, and would need your help I think 😉

 

 

Thx

 

Romain