Repository navigation
Spring Cloud Keycloak javax.ws.rs.NotAuthorizedException: HTTP 401 Unauthorized in Docker #13978
Unanswered
Rapter1990
asked this question in
Q&A
Replies: 1 comment
|
Hi, The problem with your code is that you forgot to put the grant-type: "password" when you are creating the instance of keycloak. like that it should work |
0 replies
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.
I have a problem about creating user through Keycloak in my Spring Cloud example which runs on Docker.
When I make a request through this url
http://localhost:8600/api/v1/users/signup(from api gateway to user service), I got this issue on the console.Here is the error shown below.
Here is the keycloak configuration class defined in user service.
Here is the keycloak part of docker-compose.yml
Here is my project Link : Link
All reactions