Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Can we increase the expiration date of the JWT token
divya_das
We have the token service API :
$RMServerHost/api/rest/tokenservice
As per the documentation "
The expirationDate indicates how long the JWT is valid, the default is 5 minutes."
Can we increase the expiration date for the generated token?
Find more posts tagged with
AI Studio
Tokens
Accepted answers
All comments
Marco_Boeck
Hi,
You can add a system setting for the expiration amount in seconds. Defaults to 300 (aka 5 minutes).
Setting is called "com.rapidanalytics.jwt.expiration".
See here for how to change system settings:
https://docs.rapidminer.com/latest/server/configure/settings/
Regards,
Marco
divya_das
Hi,
I tried the mentioned setting, added it to RapidMiner Server-> Administration->System Settings. I had set a value of 600 and then later 9000 for the setting "com.rapidanalytics.jwt.expiration". I restarted the server as well. But, when I hit the token service, the generated token still has an expiration duration of 5 minutes.
Also, I checked in the documentation, Configure RapidMiner Server -> Settings and Services -> Table of Settings. This does not have the mentioned setting for jwt.expiration.
Regards,
Divya
Marco_Boeck
Hi,
I confirmed with the team responsible for it that this is indeed how it works. That it's not in the table is just an oversight.
I'm not sure why it does not seem to work for you. Please open a support case if you cannot get it to work.
Regards,
Marco
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups