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
{{ message }}
Repository navigation
Creating a new client via Dynamic Client Registration endpoint using IAT fails to decode the token
#41327
When I remove the bearer part, it works, BUT it seems to follow the 'anonymous access' flow because I get an error:
b'{"error":"insufficient_scope","error_description":"Policy \'Trusted Hosts\' rejected request to client-registration service. Details: Host not trusted."}'
When I remove the Authorization header it is exactly the same message.
Anonymous DCR is not what I need, which means I'm back at the initial error of Failed decode token.
I've got the token from my freshly started keycloak where I created such an IAT in the according menu.
Any thoughts, what could go wrong?
I'm using version 26.3.0 but tested also other random versions back to 21.0.
I'm using start-dev command line to startup KC. I hope this doesn't have any impact on this endpoint's behavior.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
When I use the IAT as described here:
https://www.keycloak.org/securing-apps/client-registration#_initial_access_token
I get this error message:
When I remove the
bearerpart, it works, BUT it seems to follow the 'anonymous access' flow because I get an error:When I remove the
Authorizationheader it is exactly the same message.Anonymous DCR is not what I need, which means I'm back at the initial error of
Failed decode token.I've got the token from my freshly started keycloak where I created such an IAT in the according menu.
Any thoughts, what could go wrong?
I'm using version 26.3.0 but tested also other random versions back to 21.0.
I'm using
start-devcommand line to startup KC. I hope this doesn't have any impact on this endpoint's behavior.Thanks for any hint,
Matthias
All reactions