mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Fixes #19555 Test-Instructions: https://github.com/go-gitea/gitea/pull/21441#issuecomment-1419438000 This PR implements the mapping of user groups provided by OIDC providers to orgs teams in Gitea. The main part is a refactoring of the existing LDAP code to make it usable from different providers. Refactorings: - Moved the router auth code from module to service because of import cycles - Changed some model methods to take a `Context` parameter - Moved the mapping code from LDAP to a common location I've tested it with Keycloak but other providers should work too. The JSON mapping format is the same as for LDAP. ![grafik](https://user-images.githubusercontent.com/1666336/195634392-3fc540fc-b229-4649-99ac-91ae8e19df2d.png) --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> |
2 years ago | |
---|---|---|
.. | ||
advanced | 2 years ago | |
developers | 2 years ago | |
features | 2 years ago | |
help | 2 years ago | |
installation | 2 years ago | |
packages | 2 years ago | |
secrets | 2 years ago | |
translation | 2 years ago | |
upgrade | 2 years ago | |
usage | 2 years ago | |
advanced.en-us.md | 7 years ago | |
advanced.fr-fr.md | 7 years ago | |
advanced.zh-cn.md | 7 years ago | |
advanced.zh-tw.md | 4 years ago | |
developers.en-us.md | 3 years ago | |
developers.zh-cn.md | 2 years ago | |
developers.zh-tw.md | 3 years ago | |
features.en-us.md | 7 years ago | |
features.zh-cn.md | 7 years ago | |
features.zh-tw.md | 7 years ago | |
help.en-us.md | 5 years ago | |
help.fr-fr.md | 5 years ago | |
help.zh-cn.md | 5 years ago | |
help.zh-tw.md | 4 years ago | |
installation.en-us.md | 7 years ago | |
installation.fr-fr.md | 7 years ago | |
installation.zh-cn.md | 7 years ago | |
installation.zh-tw.md | 7 years ago | |
packages.en-us.md | 3 years ago | |
translation.de-de.md | 3 years ago | |
translation.en-us.md | 3 years ago | |
translation.zh-tw.md | 3 years ago | |
upgrade.en-us.md | 7 years ago | |
upgrade.fr-fr.md | 7 years ago | |
upgrade.zh-cn.md | 7 years ago | |
upgrade.zh-tw.md | 7 years ago | |
usage.en-us.md | 7 years ago | |
usage.zh-cn.md | 6 years ago | |
usage.zh-tw.md | 4 years ago |