8000 Check if suspicious log about CORS is correct · Issue #39492 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Check if suspicious log about CORS is correct #39492
Closed
@lrozenblyum

Description

@lrozenblyum

Description

Every request to refresh a token is accompanied by a debug log with an issue about CORS

2025-05-06 14:51:29,039 DEBUG [org.keycloak.services.cors.DefaultCors] (executor-thread-7) Invalid CORS request: origin https://192.168.17.10 not in allowed origins []
2025-05-06 14:51:29,040 DEBUG [org.keycloak.events] (executor-thread-7) type="REFRESH_TOKEN" ...

It's suspicious because the client is requesting the exactly the host from which the app is loaded (https://192.168.17.10) for which no CORS should be taken into account.

NOTE: Keycloak and the webapp itself are behind a reverse proxy (nginx) with X-Forwarded headers tuned.

Discussion

No response

Motivation

No response

Details

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0