Skip to content
This repository was 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

@RatneshChouhan

Description

@RatneshChouhan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions