Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Not able to get token from keycloak when api gateway is working as resource server #11

Open
RatneshChouhan opened this issue Nov 29, 2022 · 0 comments

Comments

@RatneshChouhan
Copy link

I have set up authorization using keycloak and I'm getting token for product-service and its working perfectly fine, however when I configured authorization flow and api-gateway as resource server I'm not getting token from localhost key cloak endpoint, instead getting error -
2022-11-29 11:41:21,467 WARN [org.keycloak.events] (executor-thread-1) type=LOGIN_ERROR, realmId=e57bf1b5-e17d-4e70-812b-c83faff3fb12, clientId=spring-cloud-gateway-client, userId=null, ipAddress=127.0.0.1, error=invalid_redirect_uri, redirect_uri=http://localhost:8080/login/oauth2/code/spring-cloud-gateway-client
image
image
image
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant