grafana/pkg/services/org
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
..
orgimpl User: Add tracing (#87028) 2024-04-30 13:15:56 +02:00
orgtest OIDC: Support Generic OAuth org to role mappings (#87394) 2024-05-23 09:55:45 +02:00
model.go User: Support sort query param for user and org user, search endpoints (#75229) 2023-09-28 10:16:18 +02:00
org.go Auth: Add OrgRoleMapper service (#86973) 2024-05-06 09:25:47 +02:00