Keycloak needs to authenticate users with no role

I’m working on saml based authentication. The requirement is that login to app roles are not needed.

In the web.xml file


The application not dependent on the user role. so we try to remove the auth constraint and the security role but it won’t work. Once we removed it is directing to / login endpoint. but before it is redirecting to https://localhost:8543/auth/realms/comic-auth/protocol/saml. /login endpoint is the service provider consumerurl. is there are any way authenticate a user without any roles?

I am also looking for the same functionality. Were you able to solve it?