Skip to content

fix(auth): allow SAML providers in AuthUIConfiguration#2331

Open
demolaf wants to merge 2 commits into
version-10.0.0-beta03from
fix/saml-provider-validation
Open

fix(auth): allow SAML providers in AuthUIConfiguration#2331
demolaf wants to merge 2 commits into
version-10.0.0-beta03from
fix/saml-provider-validation

Conversation

@demolaf
Copy link
Copy Markdown
Member

@demolaf demolaf commented Jun 5, 2026

The provider ID allowlist only permitted oidc.-prefixed IDs for custom providers via GenericOAuth. This adds saml. to the same check so Firebase SAML providers (e.g. saml.corp-sso) pass validation rather than being rejected as unknown.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds support for custom SAML providers (prefixed with "saml.") in the AuthUIConfiguration class and updates the corresponding unit tests to verify this behavior. The review feedback suggests refactoring the provider validation logic by extracting the custom provider prefixes into a list and using none to check them, which improves code maintainability and extensibility.

@demolaf demolaf requested a review from just1and0 June 5, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant