First SSO runs successfully. The later SSOs will raise error This user name is already in use, using SAML 2.0 module
0
Hi, I'm using the SAML 2.0 module, to implement the Single Sign-On on my mendix application. On the SAML 2.0 configuration page, the "Allow the module to create users" is configured as "Yes", and the user model is configured as "Administraion.Account". But when I test the SSO function, I see that only the first SSO login is successful. The later SSO login will be fail, and there will be an error "This user name is already in use" on the Mendix logs. Is there any solution or suggestion to this problem? Thanks in advance! ----------------------------------- These are pictures about model mapping configuration. Maybe have some problem in there.
asked
Yin Shen
1 answers
1
Hi Yin,
it looks like there is a mismatch between the retrieval of an existing user and the creation of a new user (setting the correct attribute values).
How are you provisioning the user and what attribute are you checking to see if the user already exists? Are you using the default SAML lookup or are you using a custom microflow?