Skip to content
New issue

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

Provide the option to change JWT expiration/session time for Identity JWT #127

Closed
futuregerald opened this issue Dec 1, 2017 · 4 comments

Comments

@futuregerald
Copy link

Currently JWT tokens expire after 1 hour with Netlify Identity. Can we have the ability to adjust the expiration for identity JWT tokens?

@rybit
Copy link
Member

rybit commented Dec 1, 2017

What is it you're trying to accomplish? What for?

@futuregerald
Copy link
Author

This is just so you don't have to log in as often. For us we use JWT to protect the internal docs site and the expiration means we have to relogin multiple times throughout the day. I was wondering if we can have the ability to adjust the session time to avoid having to re-login multiple times a day.

@fool
Copy link

fool commented Feb 3, 2018

While we now understand that we don't want to let customers have VERY LONG timeouts, I still think this is worth exposing for customer configurations. Auth0 gives a range from 10h to more so I think allowing a few hours would be a big help (maybe 8h - to match a workday so this CMS behavior is less likely to be catastrophic? decaporg/decap-cms#941

@brycekahle
Copy link
Contributor

FYI This is already configurable in gotrue, just not exposed via the UI. See

Exp int `json:"exp"`

Please file a bug on the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants