You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my python application I have few operations that's registered in Aidbox App.
Once operation is called, Aidbox provides oauth/user in request. Sometimes user roles is needed for further calculations.
Solution I see
Aidbox loads list of user roles while evaluating access policies - so, I think it's not a big deal to provide user roles to the App operation. It will decrease number of additional queries from the app.
GET /auth/userinfo already returns user with role - list of roles. Maybe it will be good to have the same structure and just expand request's oauth/user attribute with role attribute to have it unified across policies/userinfo endpoint.
Alternatives I've considered, but they don't work
Currently I make an additional query to fetch user roles.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had activity in the last 30 days. Please make sure you've added all the necessary details including clear description and severity level.
Problem I need to solve
In my python application I have few operations that's registered in Aidbox App.
Once operation is called, Aidbox provides
oauth/user
inrequest
. Sometimes user roles is needed for further calculations.Solution I see
Aidbox loads list of user roles while evaluating access policies - so, I think it's not a big deal to provide user roles to the App operation. It will decrease number of additional queries from the app.
GET /auth/userinfo
already returns user withrole
- list of roles. Maybe it will be good to have the same structure and just expand request'soauth/user
attribute withrole
attribute to have it unified across policies/userinfo endpoint.Alternatives I've considered, but they don't work
Currently I make an additional query to fetch user roles.
The text was updated successfully, but these errors were encountered: