-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read property 'set' of undefined #29
Comments
@wehriam just ran into this issue as well |
Replacing
with
Seems to remedy the problem. |
Got me as well. @babsonmatt for whatever reason your fix didn't work for me but this did seem to fix it: this.res.header['Cache-Control'] = 'no-store';
this.res.header['Pragma'] = 'no-cache';
this.res.jsonp(response); |
run into this issue too. Wish node-oauth2-server would release a upgrade soon. @babsonmatt 's solution works for me. |
thomseddon
added a commit
to oauthjs/node-oauth2-server
that referenced
this issue
May 17, 2015
laverite
pushed a commit
to laverite/koa-oauth-server
that referenced
this issue
Jun 20, 2015
night
pushed a commit
to night/node-oauth2-server
that referenced
this issue
Jan 19, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version 2.4.0 of node-oauth2-server seems to have introduced a breaking change. I'll provide more information as soon as I can.
The offending function:
See the commit: thomseddon/node-oauth2-server@c19719e
The text was updated successfully, but these errors were encountered: