I am trying to use the REST API with a client credentials grant. Using these instructions, I changed the Access Type of the admin-cli client to Confidential, enabled service accounts, and created a client secret. I then used a very simple API wrapper that I’ve used many times before:
I am able to make a GET request to auth/realms/master, but everything else comes back as a 404. I also tried the MohammadWaleed client, but it came back with
unknown_error. The logicpanel client returns with a 403.
I saw a Stack Overflow post saying that I needed to grant rights to my user, but this is the admin user on the master realm. What am I missing?