Skip to content

Keycloak: Different context root #995

Open
@virtualmarc

Description

@virtualmarc

By default Keycloak is deployed at a context root /auth which can be changed in the configuration.
Out Keycloak Server is deployed in the context root / which makes scribejava generate wrong URL's.

The problem is in

return baseUrl + (baseUrl.endsWith("/") ? "" : "/") + "auth/realms/" + realm;

where auth/ is hardcoded.

In other Clients/Keycloak Lib's the context root has to be set in the url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions