cancel
Showing results for 
Search instead for 
Did you mean: 

How to Generate Permanent JWT?

BharadwajS
Explorer
0 Kudos

Hello everyone,

I have a question concerning JWT (JSON Web Tokens). I'm looking to access a custom table through an API, and in order to do so, I require JWT authorization. I'm already familiar with generating temporary JWTs, but I'm currently seeking information on how to generate permanent JWTs. If anyone has knowledge of the procedure, please kindly share it with me.

Thank you in advance.

Accepted Solutions (1)

Accepted Solutions (1)

yogananda
Product and Topic Expert
Product and Topic Expert
0 Kudos

i_bharadwaj

No, you cannot have permanent token or lifetime token. Current JWT token are defined by time expiring tokens. So every time you have to re-generate the token in order to access the endpoint of custom table.

BharadwajS
Explorer
0 Kudos

Thank You yoganandamuthaiah. Is it possible for us to modify the JWT token's expiration time in any manner?

yogananda
Product and Topic Expert
Product and Topic Expert
0 Kudos

i_bharadwaj

you can paste your JWT token in https://token.dev and you can see exp field which is set default to your cpq tenant. This cannot be modified by front end and its for all customers. Maybe you can raise customer Influence Portal request on your use case if its needs to be modified. To qualify for the request... you need to get 15 votes.

yogananda
Product and Topic Expert
Product and Topic Expert
0 Kudos

i_bharadwaj

Also can you provide more details about your use case and are you building anything in CPI or any other tools or programming language to get custom table data ?

Answers (0)