[Feature] Use OAuth2 access_token and refresh_token #15656
waclaw66
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have searched the existing feature requests to make sure this is not a duplicate request.
The feature
I've noticed that oauth2 usage is quite simplified within Immich. According my investigation it's used only for first authentication and then the internal access token without time restriction is used only. When the access to the app is banned to the user, Immich can be still used without any restriction until logout.
I would suggest to store
access_token
andrefresh_token
to thesessions
table and use those properly when auth provider tokens are expired.Platform
Beta Was this translation helpful? Give feedback.
All reactions