Skip to content

Keycloak: Token request fails in Safari due to failed access control checks #322

@brandonwood98

Description

@brandonwood98

Currently, the client sets a User-Agent request header for all identity providers. This can be found here

When this request is made on Safari, the request fails access control checks due to Keycloak not listing User-Agent as an allowed request header. This is what the error looks like:

[Error] Request header field User-Agent is not allowed by Access-Control-Allow-Headers.

This is not an issue on Chrome-based browsers, which appear to have more lax access control checks.

Is there any way the client could be configured as not to attach this header? At least specifically for Keycloak?

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