Skip to content

Keycloak - Kubernetes - ingress.nginx infinite auth loop #479

Discussion options

You must be logged in to vote

@Lissy93 Finally figured it out!!!!

The CORS issue was coming from the ingress configuration on the KeyCloak side. The ingress was keeping a static Access-Control-Allow-Origin of "*". Thanks again for taking a look at it!

Documentation: Ingress-nginx

    nginx.ingress.kubernetes.io/cors-allow-origin: "https://dashydashboard.aimit.io"
    #nginx.ingress.kubernetes.io/cors-expose-headers: "*"
    #nginx.ingress.kubernetes.io/cors-allow-headers: "*"
    nginx.ingress.kubernetes.io/enable-cors: "true"
    #nginx.ingress.kubernetes.io/cors-allow-methods: "PUT, GET, POST, OPTIONS"

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@AlmostDoneRight
Comment options

@Lissy93
Comment options

@AlmostDoneRight
Comment options

@Lissy93
Comment options

@AlmostDoneRight
Comment options

Comment options

You must be logged in to vote
1 reply
@Lissy93
Comment options

Answer selected by AlmostDoneRight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants