Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Error on redirect #156

Closed
sicsol opened this Issue Oct 5, 2012 · 1 comment

Comments

Projects
None yet
1 participant

sicsol commented Oct 5, 2012

User A signs up with Facebook and creates a new account.
(redirect: http%3A%2F%2Flocalhost%3A8888%2Fauth%2Ffacebook )

This works fine.

Once Logged In User A wants to add their Twitter Account so i send the following request below.

https://api.singly.com/oauth/authorize?client_id=MY_CLIENT_ID&redirect_uri=http%3A%2F%2Flocalhost%3A8888%2Fauth%2Ftwitter&state=CUSTOM_STATE&response_type=code&service=twitter&account=SINGLY_ACCOUNT_ID

however on redirect the user is sent back to:

http%3A%2F%2Flocalhost%3A8888%2Fauth%2Ffacebook

Instead of

http%3A%2F%2Flocalhost%3A8888%2Fauth%2Ftwitter

Any suggestions would be helpful. this reference to facebook isn't logged anywhere in my APP setup either.

Thanks,

sicsol commented Oct 5, 2012

I figured it out the callback url in the twitter application was incorrect

@sicsol sicsol closed this Oct 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment