gitea/services/auth
Nico Schieder 870f5fbc41
Add groups scope/claim to OIDC/OAuth2 Provider ()
* Add groups scope/claim to OICD/OAuth2

Add support for groups claim as part of the OIDC/OAuth2 flow.
Groups is a list of "org" and "org:team" strings to allow clients to
authorize based on the groups a user is part of.

Signed-off-by: Nico Schieder <code@nico-schieder.de>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
..
source Add groups scope/claim to OIDC/OAuth2 Provider ()
auth.go Allow BASIC authentication access to /:owner/:repo/releases/download/* ()
auth_test.go Allow BASIC authentication access to /:owner/:repo/releases/download/* ()
basic.go Make LDAP be able to skip local 2FA ()
group.go Move db related basic functions to models/db ()
interface.go Make LDAP be able to skip local 2FA ()
login_source.go Move login related structs and functions to models/login ()
oauth2.go Move login related structs and functions to models/login ()
placeholder.go Add bundle download for repository ()
reverseproxy.go Allow BASIC authentication access to /:owner/:repo/releases/download/* ()
session.go Refactor: Move login out of models ()
signin.go Move login related structs and functions to models/login ()
sspi_windows.go Use a variable but a function for IsProd because of a slight performance increment ()
sync.go Move login related structs and functions to models/login ()