-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
After finishing #195, some minor enhancements to the auth system might be useful:
- refresh tokens should be generated at the same time login status is returned, for efficiency. This involves unifying the
/refreshand/meroutes to a/statusroute (/refreshshould also be kept, either as a synonym or a route that only refreshes tokens without returning user info) - small refactoring to unify token generation – it looks like the
create_access_tokenfunction could be used to mint refresh tokens as well, with small modifications? - We should remove the
groupskey from the token as I think it is outdated REDIRECT_URI_ENVshould be renamed toOAUTH_REDIRECT_URIfor parallelism- Consider renaming the entire group of routes to
/auth/...for clarity
Especially for the last few, we should have a transition period where both possible configurations are accepted (via redirects and fallbacks)...that should only take a few lines of code hopefully.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels