grafana/pkg/services/authn
Mathieu Parent b8c9ae0eb7
OIDC: Support Generic OAuth org to role mappings (#87394)
* Social: link to OrgRoleMapper

* OIDC: support Generic Oauth org to role mappings

Fixes: #73448
Signed-off-by: Mathieu Parent <math.parent@gmail.com>

* Handle when getAllOrgs fails in the org_role_mapper

* Add more tests

* OIDC: ensure orgs are evaluated from API when not from token

Signed-off-by: Mathieu Parent <math.parent@gmail.com>

* OIDC: ensure AutoAssignOrg is applied with OrgMapping without RoleAttributeStrict

Signed-off-by: Mathieu Parent <math.parent@gmail.com>

* Extend docs

* Fix test, lint

---------

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com>
2024-05-23 09:55:45 +02:00
..
authnimpl Chore: Use cache for all signed in user lookups (#88133) 2024-05-22 08:58:16 -04:00
authntest Identity: Use typed namespace id (#87121) 2024-05-02 14:50:56 +02:00
clients OIDC: Support Generic OAuth org to role mappings (#87394) 2024-05-23 09:55:45 +02:00
authn.go Identity: Use typed namespace id (#87121) 2024-05-02 14:50:56 +02:00
error.go Authn: move namespace id type (#86853) 2024-04-25 12:54:36 +02:00
identity.go AuthN: Set uid during authentication (#87797) 2024-05-14 14:13:50 +02:00
namespace.go AuthN: Set uid during authentication (#87797) 2024-05-14 14:13:50 +02:00