This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/authentik/providers
Adam G d75a864f0e
providers/oauth2: map internal groups to GitHub teams in GHE OAuth emulation (#2497)
* providers/oauth2: impl `/user/teams` endpoint for Github OAuth2

This commit adds a functional `/user/teams` endpoint for the emulated Github OAuth2 service.
The teams a user is part of are based on the user's groups in Authentik.

* providers/oauth2: Move org template inside loop; Change slug to use Django slugify

* providers/oauth2: Remove placeholder replacement

* Possibly fix complaints from the linters

* Update github.py

* Change organization name

* Update github.py
2022-03-23 12:05:20 +01:00
..
ldap *: use py3.10 syntax for unions, remove old Type[] import when possible 2021-12-30 14:59:01 +01:00
oauth2 providers/oauth2: map internal groups to GitHub teams in GHE OAuth emulation (#2497) 2022-03-23 12:05:20 +01:00
proxy outposts/proxy: use Prefix in ingress for k8s 2022-03-15 19:01:08 +01:00
saml sources/saml: fix incorrect ProtocolBinding being sent 2022-02-03 18:20:06 +01:00
__init__.py wip: rename to authentik (#361) 2020-12-05 22:08:42 +01:00