Created
October 21, 2024 00:14
-
-
Save soerface/051e0f4d954de0319a005cb6f422a67a to your computer and use it in GitHub Desktop.
Caddy workaround for Keycloak 25 CORS issue with Swagger UI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
example.com { | |
reverse_proxy keycloak:8080 { | |
# https://github.com/keycloak/keycloak/issues/12682 | |
# x-csrftoken is set by the Swagger UI | |
header_down +Access-Control-Allow-Headers "x-csrftoken" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
keycloak/keycloak#12682