gitea/docs/content/doc/usage
KN4CK3R e8186f1c0f
Map OIDC groups to Orgs/Teams (#21441)
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>
2023-02-08 14:44:42 +08:00
..
agit-support.en-us.md Added docs for agit-setup (#21027) 2022-09-03 19:52:19 +02:00
backup-and-restore.en-us.md Fix typo in backup documentation (pgdump->pg_dump) (#20913) 2022-08-22 19:39:59 +01:00
backup-and-restore.zh-cn.md Update back-up restore example for 1.13 changes (#14374) 2021-01-18 21:05:11 -05:00
backup-and-restore.zh-tw.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
command-line.en-us.md Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
email-setup.en-us.md Update Gmail mailer configuration (#22291) 2023-01-02 10:52:36 +08:00
fail2ban-setup.en-us.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
fail2ban-setup.zh-cn.md docs: zh-cn translations for fail2ban setup (#20588) 2022-08-01 17:36:50 +02:00
git-lfs-support.en-us.md Refactor docs (#21627) 2022-10-31 23:16:19 +00:00
https-support.en-us.md Refactor docs (#21627) 2022-10-31 23:16:19 +00:00
incoming-email.en-us.md Add support for incoming emails (#22056) 2023-01-14 23:57:10 +08:00
issue-pull-request-templates.en-us.md Fix typo of issue template name (#21117) 2022-09-09 11:22:33 +08:00
issue-pull-request-templates.zh-cn.md Fix typo of issue template name (#21117) 2022-09-09 11:22:33 +08:00
linked-references.en-us.md Fix typo in linked-references.en-us.md (#22682) 2023-01-31 21:43:27 +00:00
merge-message-templates.en-us.md Support Issue forms and PR forms (#20987) 2022-09-02 15:58:49 +08:00
permissions.en-us.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
pull-request.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
pull-request.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
pull-request.zh-tw.md [docs] Add zh-tw Translations (#14507) 2021-01-29 01:57:58 +01:00
push-options.en-us.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
push-options.zh-tw.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
reverse-proxies.en-us.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
reverse-proxies.zh-cn.md Update reverse-proxies.zh-cn.md (#21484) 2022-10-17 17:30:30 -04:00
template-repositories.en-us.md Refactor docs (#21627) 2022-10-31 23:16:19 +00:00