We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the default IHP authentication module, is there any way to revoke sessions? Perhaps after a certain amount of time?
The text was updated successfully, but these errors were encountered:
I see here an example in the code:
ihp/IHP/FrameworkConfig.hs
Lines 289 to 290 in 16a9275
So I think on your Config.hs you could
Config.hs
sessionCookie = defaultIHPSessionCookie { Cookie.setCookieMaxAge = Just (fromIntegral (60 * 60 * 24 * 90)) } option sessionCookie
Sorry, something went wrong.
Thank you! Is there a way to enforce that current cookies expire? Or will this only work for new logins?
I don't think existing cookies can be changed. But you can expire all of them by changing the session https://github.com/digitallyinduced/ihp-boilerplate/blob/30f5fd22a5d3266bf6840b94ce9a0e11c238e118/flake.nix#L119-L122
No branches or pull requests
In the default IHP authentication module, is there any way to revoke sessions? Perhaps after a certain amount of time?
The text was updated successfully, but these errors were encountered: