mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 12:15:43 +01:00
7dbad27156
- if `groups` scope provided it checks if all, r:org or r:admin are provided to pass all the groups. otherwise only public memberships - in InfoOAuth it captures scopes from the token if provided in the header. the extraction from the header is maybe a candidate for the separate function so no duplicated code |
||
---|---|---|
.. | ||
2fa.go | ||
auth.go | ||
auth_test.go | ||
linkaccount.go | ||
main_test.go | ||
oauth.go | ||
oauth_test.go | ||
openid.go | ||
password.go | ||
webauthn.go |