-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error in OAuth Server: invalid_scope #4
Comments
OK, I was able to fix this by adding
but now I'm getting another error saying I need to provide a user agent. |
Thanks for your feedback. I've been pretty busy with other stuff and have not had time to hack on my Meteor stuff recently. In fact, this package was written for a pre-release version of Meteor, so I'm glad it would even work with 1.0. If you have the bandwidth to track this issue down and fix it, I'd be happy to accept a pull request and give you credit for it. |
I got the same problem. The user agent can be added in the reddit-oauth.js in the getIdentity() Method. After adding I got another error:
This is fired in the oauth.js of the OAuth package in the middleware function.
I don't know why the service isn't stored in the registeredServices array, because it seems that the OAuth.registerService function will be called correctly. |
Hey guys. Just updated this package for use with Meteor 1.2. Not sure if any of you are still using it, but if you could test it out, would love to hear your feedback. Thanks! |
I fixed this issue in PandaWhisperer/meteor-reddit-oauth#5 by adding a default scope 'read'. (A whopping 6 character pull request! but it's my first, you gotta start somewhere.) |
for just using Reddit to login, seems like using 'identity' would be the most private scope (for just Oauth login) |
Ah, you're right. I should have read the reddit documentation better 😞 Ah well I might add another PR at some point. |
I'm using
accounts-ui
and set up my client id and secret with it. When I go to log in, it says "log in completed" but on the server I get the following:The reddit OAuth2 documentation says "Ensure that the
scope
parameter is a comma-separated list of valid scopes" but I'm not sure what to do with this information.The text was updated successfully, but these errors were encountered: