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: duplicate SSO login buttons when SSO provider or SAML login is enforced #17333

Merged
merged 7 commits into from
Sep 13, 2023
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion frontend/src/scenes/authentication/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ export function Login(): JSX.Element {
</Link>
</div>
)}
<SocialLoginButtons caption="Or log in with" topDivider />
{!precheckResponse.saml_available && !precheckResponse.sso_enforcement && (
<SocialLoginButtons caption="Or log in with" topDivider />
)}
</div>
</BridgePage>
)
Expand Down
Loading