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

[v15] add preset field to SAMLIdPServiceProviderV1 spec #39277

Merged
merged 3 commits into from
Mar 14, 2024

Conversation

flyinghermit
Copy link
Contributor

Backport #37968 and #39151 (updates the former PR) to Branch/v15

changelog: The saml_idp_service_provider spec adds a new preset field that can be used to specify predefined SAML service provider profile.

@flyinghermit flyinghermit changed the title add preset field to SAMLIdPServiceProviderV1 spec [v15] add preset field to SAMLIdPServiceProviderV1 spec Mar 12, 2024
@flyinghermit
Copy link
Contributor Author

Manual backport.


// validatePreset validates SAMLIdPServiceProviderV1 preset field.
// preset can be either empty or one of the supported type.
func validatePreset(preset string) bool {
Copy link
Contributor

Choose a reason for hiding this comment

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

This PR is not the place to change this, but if you happen to touch this part of the codebase in the future it might be cleaner to move validatePreset to the samlsp package IMO.

@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from r0mant March 13, 2024 21:21
@flyinghermit flyinghermit added this pull request to the merge queue Mar 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 13, 2024
@flyinghermit flyinghermit added this pull request to the merge queue Mar 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 13, 2024
@flyinghermit flyinghermit added this pull request to the merge queue Mar 14, 2024
Merged via the queue into branch/v15 with commit b61e6bb Mar 14, 2024
35 checks passed
@flyinghermit flyinghermit deleted the sshah/backport-37968-and-39151 branch March 14, 2024 13:44
@r0mant r0mant mentioned this pull request Mar 15, 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.

None yet

3 participants