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

[v17] fix: check if plugin type is identity center before SAML app and OIDC integration deletion #50360

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

flyinghermit
Copy link
Contributor

Manual backport of #50359

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

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-50360.d212ksyjt6y4yg.amplifyapp.com

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.

Same comment as in the master PR w/r/t 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 e7a980a

@flyinghermit flyinghermit added this pull request to the merge queue Dec 17, 2024
Merged via the queue into branch/v17 with commit b894dd3 Dec 17, 2024
40 checks passed
@flyinghermit flyinghermit deleted the sshah/prevent-saml-app-and-integration-panic branch December 17, 2024 23:17
@doggydogworld doggydogworld mentioned this pull request Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants