login to second portal gives error
Opened this issue · 3 comments
Hi,
Love your plugin and we really needed this plugin for our websites. We hope you can help us with the following issue.
We have one DNN installation in which we host different portals.
When a user is logged into one webportal, this is without problems.
When the same user tries to log to a second webportal using the same credentials, this gives the following errormessage: "This username is already in use. Please register with another username."
So the user can only login to one portal, logout, and login to the other portal. And not login to two or more portals the same time.
DNN 9.04.00 and Azure Active Directory Provider 3.1.0
Hope you can fix this!
Since DNN doesn't allow a user to be registered twice in the same instance because shares the Membership tables, there is no easy way to solve this.
A workaround could be to add a record on the UserPortals table for both portals, but not sure how we could automatically add that record based on what? Imagine: this user can login on portal 0 and 1, this other on 0 and 2, and this one on 0, 1 and 2.
Thoughts?
Another way to solve this would be to put all Portals in the same Site Group. And then only login to the “Main” portal and you will be also logged into all other portals.
I'm wondering if the new "Use Global Settings" on v4.0 helps at least on logging into all the portals under the same DNN instance.