how to set jwt_refresh_token_deadline_interval ? #388
francescor
started this conversation in
General
Replies: 2 comments
-
You need to set a hash with keys support by date_arithmetic Sequel plugin, e.g: jwt_refresh_token_deadline_interval Hash[days: 7] It seems that date_arithmetic Sequel plugin also supports jwt_refresh_token_deadline_interval 7.days |
Beta Was this translation helpful? Give feedback.
0 replies
-
yes! thank you so much! # app/misc/rodauth_main.rb
require "sequel/core"
class RodauthMain < Rodauth::Rails::Auth
...
jwt_refresh_token_deadline_interval 7.days
... I see no errors with the above: we still have to check the effects, but no errors. Thank you, Janko, for your almost immediate great answer ! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Where should I customize the value of
jwt_refresh_token_deadline_interval
?I've tried
in app/misc/rodauth_main.rb but it generate an error
Beta Was this translation helpful? Give feedback.
All reactions