integration with Keycloak, filter out users by role

hi there, I’m using the social login app to connect user from an existing Keycloak. How can I let only users with a certain Keycloak role log in?
Thank you

I don’t remember how exactly but you can limit access to applications on the KC side