Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v11.0.x] samlsettings: api integration #86109

Merged
merged 1 commit into from Apr 15, 2024

Conversation

grafana-delivery-bot[bot]
Copy link
Contributor

Backport fc205db from #84300


What is this feature?

This PR registers the sso settings saml strategy; this way we can update and retrieve saml sso settings from the sso endpoints. This PR also renames the functions of the old saml strategy interface, since they're not compatible with the new sso settings interface.

Why do we need this feature?

This PR allows to interact and save the saml settings via the sso settings api

Who is this feature for?

IAM

Which issue(s) does this PR fix?:

Fixes https://github.com/grafana/identity-access-team/issues/594

Special notes for your reviewer:

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

* add strategy and tests

* use settings provider service and remove multiple providers strategy

* Move SAML strategy to ssosettings service

* Update codeowners file

* reload from settings provider

* add saml as configurable provider

* Add new SAML strategy

* rename old saml settings interface

* update saml string references

* use OSS license

* validate saml provider depends on license for List

* add tests for list rendering including saml

* change the licensing validation to service init

* replace service struct for provider

(cherry picked from commit fc205db)
@grafana-delivery-bot grafana-delivery-bot bot requested review from a team as code owners April 15, 2024 10:41
@grafana-delivery-bot grafana-delivery-bot bot added this to the 11.0.x milestone Apr 15, 2024
@grafana-delivery-bot grafana-delivery-bot bot requested review from papagian, diegommm and undef1nd and removed request for a team April 15, 2024 10:41
@grafana-delivery-bot grafana-delivery-bot bot added area/auth/saml area/backend backport A backport PR no-changelog Skip including change in changelog/release notes product-approved Pull requests that are approved by product/managers and are allowed to be backported labels Apr 15, 2024
Copy link
Contributor

@ashharrison90 ashharrison90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm bot 🤖

@ashharrison90 ashharrison90 merged commit 6d0e1be into v11.0.x Apr 15, 2024
22 checks passed
@ashharrison90 ashharrison90 deleted the backport-84300-to-v11.0.x branch April 15, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/auth/saml area/backend backport A backport PR no-changelog Skip including change in changelog/release notes product-approved Pull requests that are approved by product/managers and are allowed to be backported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants