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

fix: check if plugin type is identity center before SAML app and OIDC integration deletion #50359

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

flyinghermit
Copy link
Contributor

changelog: Prevents panic in SAML app or OIDC integration deletion when a plugin type is not PluginTypeAWSIdentityCenter or PluginAWSICSettings is nil.

…CSettings' before saml app and oidc integration deletion
Copy link
Collaborator

@r0mant r0mant left a comment

Choose a reason for hiding this comment

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

Can we add test coverage?

@flyinghermit
Copy link
Contributor Author

We had tests to cover a case that covered identity center plugin exists and does not exist. This test is now updated to account for a case where other plugin simultaneously exist in Teleport c787c4e

@flyinghermit flyinghermit added this pull request to the merge queue Dec 17, 2024
Merged via the queue into master with commit 194850c Dec 17, 2024
41 checks passed
@flyinghermit flyinghermit deleted the sshah/master/prevent-saml-oidc-panic branch December 17, 2024 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants