-
Notifications
You must be signed in to change notification settings - Fork 384
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
Fix response handler #22
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See review comments.
@@ -24,7 +24,7 @@ | |||
"dependencies": { | |||
"bluebird": "^3.0.5", | |||
"express": "^4.13.3", | |||
"oauth2-server": "next", | |||
"oauth2-server": "kinvey/node-oauth2-server#kinvey", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably stay at "next"
. 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed..
Tests fixed with #33. |
dd93f0b
to
cf51252
Compare
cf51252
to
660f586
Compare
Rebased to remove some duplicate commits and incorporate latest changes to |
res.set(response.headers); | ||
res.redirect(location); | ||
} | ||
else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style-wise.. Are we going by the 1TBS
} else {
or Stroustrup?
}
else {
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The former...
@mjsalinger
|
302 is the default used in the oauth2 spec.. Others are allowed, and I think that's a good idea to add support for, but I think that should be a separate PR for a future release. |
Added issue #37 to track. |
No description provided.