Wanaku client usage in local deployment #2019
Replies: 7 comments 2 replies
|
Hey @claudio4j, can you take a look at this one, please? |
Thanks for the detailed report. This looks like an authentication bootstrap and documentation mismatch, rather than a Wanaku CLI or management API defect. The documented CLI flow uses the Keycloak password grant with Your workaround repairs both gaps: enabling Direct Access Grants and adding an accepted audience for I am currently on PTO, so I cannot verify and prepare a fix quickly. Thank you for your consideration and patience while we follow up. |
|
Today I took a look at the code and the guides and I found several additional problems on this (some of the issues have been logged as part of this). I already fixed a few minor issues and have a draft in progress, but full resolution is likely only by the end of the next week. |
|
When using the |
|
#147 is going to fix aliases the cli workflow is If you want to use curl and not wanaku login, note I use wanaku-mcp-router and the 4180 port to route to the mcp router (not the management endpoint at 4181) |
|
I 'm will review the docs and provide additional fixes for both wanaku and wanaku-barn |
|
@claudio4j I got it working with these 2 PRs:
If you have a chance, please try both ... |
Uh oh!
There was an error while loading. Please reload this page.
Env:
I followed the instructions in the README.md and am using Quick Start (Docker Compose).
I added Postgres to docker-compose-auth.yml.
All the services start up fine using
docker compose up -d.Created a test user in wanaku realm using KeyCloak UI. (Instruction missing in the doc)
I am able to login to http://localhost:4181/admin with my test user.
Next, I went to
CLI Usagesection.Here I couldn't get a token because of this error:
So I enabled
Direct access grantsforwanaku-mcp-routerclient using KeyCloak UI. (Instruction missing in the doc)After this I got a token using.
However the following command fails.
I enabled client authentication, direct access grants and added an audience mapper to mcp-client.
(Notice that I switched to
mcp-clientinstead ofwanaku-mcp-routeras the former feels more appropriate.)Without the audience mapper we get the following error in the oauth proxy logs:
The commands in the README work after this.
Thanks.
Anand
All reactions