Hi Goran,

This is very helpful!

We are looking to do something similar at our organization, and removing the above code does allow this widget to render and process local logins, which is great.

However, what we now want to do is prevent our LDAP users from using this login widget. Do you have guidance on how to do this both client-side and server-side? Client side we can look for an email input containing '@email.com' and prevent submission/display a message, but it would be nice to also have a server-side method to abort the login for SSO users if someone were to disable the client side logic.

Thanks,

Steve