Hi,
I have setup an U13 website and Im using Auth0 using the docs, and this example code:
https://github.com/jbreuer/Umbraco-OpenIdConnect-Example, and it's mostly working great, I'm using this for
Members only.
I initially set it up with just one provider (Google) but I need to support multiple (over 10). The free testing account with Auth0 allows you to setup 2, so I've connected Google and Microsoft.
I have autolinking setup so it creates a member in the Umbraco Backoffice, this is great.
So the scenario:
A user logins in using their Google account and it creates their account with the name: user@website.com
they get logged in, and everything is good.
They log out and try to login with Microsoft account (which also uses user@website.com) everything goes through the right steps but when I land back at my umbraco instance I am present with this error:
Cannot insert duplicate key row in object 'dbo.umbracoExternalLogin' with unique index 'IX_umbracoExternalLogin_LoginProvider'. The duplicate key value is (UmbracoMembers.OpenIdConnect, *{{insert memeber's guid here}}*). The statement has been terminated.
I need the system to create different members for each social login, does anyone have any advice on how to do this, a link to a blog about it, or a link to documentation?
Thanks in advanced.