TeslaGov / ngx-http-auth-jwt-module

Secure your NGINX locations with JWT
MIT License
309 stars 118 forks source link

allow options requests #43

Closed fitzyjoe closed 6 years ago

fitzyjoe commented 6 years ago

I've started using a different subdomain for my front end and back end. Suddenly, my app has started making OPTIONS requests. When the request is made, it does not pass the token! Apparently this is according to spec. I considered configuring NGINX to handle the OPTIONS requests, but I'd rather let my app handle it.