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

Store grants #159

Open
rien opened this issue Oct 12, 2021 · 0 comments
Open

Store grants #159

rien opened this issue Oct 12, 2021 · 0 comments
Labels
backend good first issue Good for newcomers

Comments

@rien
Copy link
Collaborator

rien commented Oct 12, 2021

Some OAuth2 clients could require grants: the user has to explicitly allow an application to act on their behalf. We currently show the grant screen every time the user performs the authorization flow for such a client. We can avoid this by storing the grants in the database.

This should be as easy as creating a new grants table which has records linking a user and a client (possibly with some metadata like grant time).

@rien rien added backend good first issue Good for newcomers labels Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant