ZeusWPI/zauth

Store grants

开放

#159 创建于 2021年10月12日

 (0 条评论) (0 个反应) (0 位负责人)Rust (1 个派生)auto 404
backendgood first issue

仓库指标

星标
 (9 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南