Made redirectURL same for Oauth2 #139

Merged
merged 2 commits into from Jun 6, 2014

3 participants

@krisrak

Issue

Some services like Intel CSP rejects access_token if redirect_uri in param is different than the one previously used to POST code

Fix

changed redis key baseURL to callbackURL and save callbackURL instead of req.headers.referer

@mtougeron

This will need to be rebased.

I'll need to test this a little more thoroughly to make sure it doesn't break bc

@mtougeron mtougeron was assigned Dec 9, 2013
@mansilladev mansilladev added the auth label Mar 25, 2014
@mansilladev

I've tested. Works swell. @krisrak can you please rebase and resubmit?

@mansilladev mansilladev merged commit 4ffb2aa into mashery:master Jun 6, 2014
@mtougeron mtougeron was unassigned by krisrak Jun 6, 2014
@mansilladev mansilladev closed this Jun 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment