You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This occurs if the parent project is using a newer version of oauth2-server than the one listed in express-oauth-serverpackage.json. The instanceof fails I suppose due to newer class properties; though I haven't looked into it.
A workaround is to import Require and Response from node_modules/express-oauth-server/node_modules/oauth2-server. This will be fixed once the project is updated to use the latest oauth2-server.
The text was updated successfully, but these errors were encountered:
If using this project with latest
oauth2-server
,express-oauth-server
will fail if using custom express middleware. For example:The above will throw this error.
This occurs if the parent project is using a newer version of
oauth2-server
than the one listed inexpress-oauth-server
package.json
. Theinstanceof
fails I suppose due to newer class properties; though I haven't looked into it.A workaround is to import
Require
andResponse
fromnode_modules/express-oauth-server/node_modules/oauth2-server
. This will be fixed once the project is updated to use the latestoauth2-server
.The text was updated successfully, but these errors were encountered: