Repository navigation
Replies: 1 comment 3 replies
|
Is there a reason to use jwt_refresh or session_expiration if you on a personal/private local network? It seems like you could make it conditional and only enable it in cases where it is actually needed (should be simple for session_expiration, not sure about jwt_refresh)? Is there a problem with using very large numbers for these variables? Adding support for infinite values adds unnecessary complexity, and provides no real benefit over using very large numbers. I do understand it seems conceptually simpler from a user perspective. |
3 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.
Uh oh!
There was an error while loading. Please reload this page.
When configuring Rodauth, I'm using the following features/settings (truncated for brevity):
I have a situation where some folks, installing my Hanami application on personal/private local networks would like to disable security entirely since they own the network and the data or, at least, set a high number that makes the JWT token behave as it never expires. This is currently done by using very large numbers for these environment variables:
Would it be possible to add support for allowing folks to use a JWT token for an infinite lifetime? If not, is there a better way I could implement the above which would at least simulate this behavior?
All reactions