I'm trying to do some request by administration REST API through custom client. Client has proper scopes. I get 403. Same issue when authenticate by user (with proper roles). Everything works fine when I change client to 'admin-cli' and use user authentication. I can not see any difference in configuration. Is it possible to use admin REST API only through client 'admin-cli' and user authentication?
Asked
Active
Viewed 3,510 times
1 Answers
1
See this answer to learn how to authorize your client to use the admin rest api : Keycloak Get Users returns 403 forbidden

Lucas Declercq
- 1,534
- 11
- 17
-
I have Service Account Enabled to ON, set proper roles. The only difference is when I use custom client instead of 'admin-cli' – grzesiu988 Feb 09 '22 at 02:47