Someone that could help me get CORS to work? I'm g...
# ktor
j
Someone that could help me get CORS to work? I'm getting a OPTIONS request and I want to allow it, but ktor keeps returning 403 Forbidden. I have installed the CORS module, but most likely configured it wrong.
I figured it out. I just needed to look at request headers and saw that it was using
HttpHeaders.ContentType
and
HttpHeaders.Authorization
and needed to add them to the CORS Configuration
💯 1