Socialite, Microsoft, allowed domains issue...
Hi,
I am using DutchCodingCompany/filament-socialite and SocialiteProviders/Microsoft for login... I use the
domainAllowList()
to block domains that are not in our tenant, this works... Problem arises when trying to login via Microsoft again after using a domain that is not allowed. Because there is a legitimate Microsoft account logged into the browser, when clicking the Microsoft button it loops back to the login page with the same domain not allowed error... The only way I can stop the looping behaviour in my Filament is to go to a Microsoft website and logout, then I can go through the login process again... Is there any methods for handling this better when a blocked domain has been tried?
Cheers, Tee0 Replies