forgejo/services/auth
Nico Schieder 870f5fbc41
Add groups scope/claim to OIDC/OAuth2 Provider (#17367)
* 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>
2021-10-22 17:19:24 +08:00
..
source Add groups scope/claim to OIDC/OAuth2 Provider (#17367) 2021-10-22 17:19:24 +08:00
auth.go
auth_test.go
basic.go
group.go
interface.go
login_source.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
oauth2.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
placeholder.go
reverseproxy.go
session.go
signin.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
sspi_windows.go Use a variable but a function for IsProd because of a slight performance increment (#17368) 2021-10-20 16:37:19 +02:00
sync.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00