Hi,
We have a customer with a solution with many webshops on.
We seperate users in different usergroups in import. The users should only be allowed to login on their allocated site.
I've made restrictions with the permission matrix, so the user groups not allowed is added with permission 'none' on the 'My Account' page.
I use this page with a 'NavigationTag' to check whether the user have access.
I have also made a Notification Subscriber 'OnBeforeExtranetLogin' which check wether the user have permissions from the page mentioned above.
The issue is that it goes into endless loop. It seems like I cannot prevent DW from logging the user in and DW then tries to redirect to many times.
Can I prevent DW from logging the user in with the Notification Subscriber? Or maybe force logoff ?