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.
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.