-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
backThis issue is related to the Svelte backend or the DBThis issue is related to the Svelte backend or the DBenhancementNew feature or requestNew feature or request
Description
Currently we use long-lived sessions that get extended when the user performs an action. In order to better manage sessions, we could switch to an OAuth flow where we have a short lived session with an access token cookie and a refresh token that we can use to refresh the sessions, since HuggingFace now supports refresh tokens.
We would probably need to make this flow opt-in in the config as I'm not sure every oauth provider supports this ?
relevant: #1365 (review)
cc @coyotte508 if you have any resources on how to implem this, I've never done it before 👀
Metadata
Metadata
Assignees
Labels
backThis issue is related to the Svelte backend or the DBThis issue is related to the Svelte backend or the DBenhancementNew feature or requestNew feature or request