nuxt-alt / auth

An alternative module to @nuxtjs/auth
https://nuxt-alt-auth.vercel.app/
MIT License
96 stars 20 forks source link

Prevent Overriding Existing Authorization Headers in Request Handler #28

Closed binaryoverload closed 1 year ago

binaryoverload commented 1 year ago

At the moment, I have found the behaviour of the HTTP request handler to be that it overrides an existing HTTP Authorization header if there is one.

This small PR would change that behaviour so that the library user has the option to override the Authorization header on a per-request basis if they need to.

binaryoverload commented 1 year ago

Does anything need doing on this PR for it to be merged? :)