Skip to content

Keycloak: calls to endpoint userinfo should use serverUrlInternal #413

@pkoz

Description

@pkoz

The OAuth module for Keycloak has a configuration parameter serverUrlInternal that is useful when the internal Keycloak URL (e.g., from the Nuxt server) is different from the public URL.

The problem: When calling /protocol/openid-connect/userinfo, the module uses serverUrl instead of serverUrlInternal even though it is also an internal request.

The solution: a one-liner that replaces serverUrl with serverUrlInternal.

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