grafana/pkg/services/ssosettings/strategies
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
..
oauth_strategy_test.go OIDC: Support Generic OAuth org to role mappings (#87394) 2024-05-23 09:55:45 +02:00
oauth_strategy.go OIDC: Support Generic OAuth org to role mappings (#87394) 2024-05-23 09:55:45 +02:00
saml_strategy_test.go SAMLSettings: implement settings strategy (#84191) 2024-03-13 09:14:42 +01:00
saml_strategy.go samlsettings: api integration (#84300) 2024-03-25 10:54:45 +01:00