-
Hey there, The Problem I am facing is that the preflight OPTION requests are answered with 401 and therefore the following GET request is not made. I enabled cors for the oathkeeper API over the configuration with wildcard
So I think what happens is that nginx is doing a GET request to oathkeeper for the preflight request which is unauthorized because of the missing authorizatiob header. As far as I understand its ok for preflight request to not have a auth header. Do you dealt with this issue before and have a recommendation here? We could enable CORS on the nginx level but I was wondering if there is another solution? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @PeteMac88, Thanks for reaching out :) What do your nginx and oathkeeper configurations look like? |
Beta Was this translation helpful? Give feedback.
Hi @PeteMac88,
Thanks for reaching out :)
What do your nginx and oathkeeper configurations look like?