I recently created an application in which we have two separate sign-in/signup buttons.
One button is designed for the owners of the clubs, the other is there for their clients.
Keycloak offers default role per realm that can be configured via the admin panel.
However, in our case, we need to be able to set roles, based on the button that the user clicks on.
We want to give them default roles, based on a query string parameter.
I can’t find anything for this. Is it possible? How do you guys support multiple signup buttons for different roles in your system?