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: fix saml login for existing users #1434

Merged
merged 1 commit into from Apr 17, 2024
Merged

fix: fix saml login for existing users #1434

merged 1 commit into from Apr 17, 2024

Conversation

FreddyDevelop
Copy link
Contributor

Description

With the introduction of the allow_linking parameter for the thirdparty social provider the saml login is broken when an account for the email already exists.

Implementation

Only check the allow_linking parameter while linking to an already existing user when it is not a saml provider.

Tests

Configure a saml provider and try to login with an already existing user.

@FreddyDevelop FreddyDevelop merged commit 7276db1 into main Apr 17, 2024
12 checks passed
@FreddyDevelop FreddyDevelop deleted the fix-saml branch April 17, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants