Repository navigation
Discrepancy between the API & the UI for UAM fine grain authorization #16831
Unanswered
davidrouchet
asked this question in
Q&A
Replies: 1 comment 1 reply
|
Offhand, I don't know what would be different. I would suspect that the API calls you are making are slightly different from the calls the UI is making. The first step would be to use the browser's Inspector to look at exactly what the UI is sending, then compare to what your code is doing. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi there,
While playing around with Keycloak Authorization Services, UMA & fine grain authorization, we have been observing a discrepancy between the API & the UI.
A client has been created with Authorization enabled (fine-grained authorization support for a client). From the authorization tab, a resource has been defined as well as scopes, policies and permissions.
When the same thing is achieved using the API (i.e /admin/realms/<realm/clients endpoint, UMA resource registration endpoints and Keycloak Policy Endpoints), although the behavior of the client is the same (work as expected), when we look at the UI, we can only see the resources, but no scopes, policies nor permissions from the respective tabs.
Any idea whether this is a bug or if there is another explanation?
Tnx
All reactions