Hi,
After the login, the user_id returned in the response corresponds to the Default Role, not on the one set up for the specific application.
I think that this is a bug. These are the steps to replicate the issue:
- setup two roles: “guest” and “registered”
- create an app “test1” and set the default role to “guest”
- create a new user and set the role for the “test1” app as “registered”
The problem is that the role_id returned for the user is always “guest”. This is the response:
The problem is that bug is blocking from having more than one role within an application. Any advises on how this can be managed?
The DF version is 2.0.1
Thank you
Gabriel