ZeusWPI/zauth

Store grants

Ouverte

#159 ouverte le 12 oct. 2021

 (0 commentaire) (0 réaction) (0 personne assignée)Rust (1 fork)auto 404
backendgood first issue

Métriques du dépôt

Stars
 (9 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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).

Guide contributeur