PandaWhisperer / meteor-accounts-reddit

Reddit OAuth2 login service for use with Meteor
MIT License
2 stars 0 forks source link

invalid redirect_uri parameter #3

Open mscherer82 opened 10 years ago

mscherer82 commented 10 years ago

when trying to log in I got the message
"you are not allowed to do that — invalid redirect_uri parameter."

The redirect uri I entered is "http://127.0.0.1:3000/_oauth/reddit?close" and the request uri is "https://ssl.reddit.com/api/v1/authorize?client_id=IaVf5...&response_type=code&state=...&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F_oauth%2Freddit%3Fclose&duration=permanent&scope="

For me, the parameters I added seems to be correct, but maybe it would be helpful to have further documentation on this.

albertstartup commented 9 years ago

for the redirect uri: try replacing 127.0.0.1 with localhost.

PandaWhisperer commented 8 years ago

@mscherer82 what @albertstartup should do the trick.