ZeusWPI/zauth

Store grants

開放

#159 建立於 2021年10月12日

 (0 則留言) (0 個反應) (0 位負責人)Rust (1 個分叉)auto 404
backendgood first issue

倉庫指標

星標
 (9 顆星)
PR 合併指標
 (30 天內沒有已合併 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).

貢獻者指南