node-oauth / express-oauth-server

🔒 Complete, compliant and well tested module for implementing an OAuth2 Server/Provider with express in node.js
https://www.npmjs.com/package/@node-oauth/express-oauth-server
MIT License
27 stars 8 forks source link

Response headers are missing in authenticate middleware #25

Closed FynniX closed 3 months ago

FynniX commented 3 months ago

The authenticate middleware function doesnt add the response headers before calling next function.

FynniX commented 3 months ago

Isn't needed as scopes are inside res.locals.oauth object. Therefore closing this request.