Replies: 1 comment
-
sorry it took a while to get to this, but this is now addressed in c675949 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When the AuthType is oauth20, the module returns a 200 when it receives an OPTIONS request, since OPTIONS requests do not send the Authorization header.
However, when the AuthType is auth-openidc, an OPTIONS request is unauthorized unless there is an OIDC session cookie. This means that the auth-openidc AuthType doesn't work for cors, since many browsers first send the OPTIONS request. Requesting that for OPTIONS request with auth-openidc, it also returns a 200, or that it can be configured to do so.
Beta Was this translation helpful? Give feedback.
All reactions