Can we increase the expiration date of the JWT token
divya_das
New Altair Community Member
Answers
-
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,
Marco1 -
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,
Divya0 -
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
0