The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Can we increase the expiration date of the JWT token
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?
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?
Tagged:
0
Answers
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
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
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