forgejo-federation/services/auth/source/oauth2
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
..
assert_interface_test.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
init.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
jwtsigningkey.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
providers.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
providers_base.go Add microsoft oauth2 providers (#16544) 2021-08-05 21:11:08 -04:00
providers_custom.go Use github token URL when fetching oauth token (#16709) 2021-08-17 09:07:52 +01:00
providers_openid.go Fix openidConnect source regression from #16544 (#16759) 2021-08-22 10:17:05 +01:00
providers_simple.go Add microsoft oauth2 providers (#16544) 2021-08-05 21:11:08 -04:00
source.go Add SkipLocal2FA option to pam and smtp sources (#17078) 2021-09-26 21:02:01 -04:00
source_authenticate.go Make LDAP be able to skip local 2FA (#16954) 2021-09-17 12:43:47 +01:00
source_callout.go Lock goth/gothic and Re-attempt OAuth2 registration on login if registration failed at startup (#16564) 2021-07-29 18:53:18 +01:00
source_name.go Add microsoft oauth2 providers (#16544) 2021-08-05 21:11:08 -04:00
source_register.go Add microsoft oauth2 providers (#16544) 2021-08-05 21:11:08 -04:00
token.go Add groups scope/claim to OIDC/OAuth2 Provider (#17367) 2021-10-22 17:19:24 +08:00
urlmapping.go Add microsoft oauth2 providers (#16544) 2021-08-05 21:11:08 -04:00