PandaWhisperer / meteor-accounts-reddit

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

package doesn't appear to be working #2

Closed geekyme closed 10 years ago

geekyme commented 10 years ago

When i hit the sign in / sign up with reddit, my reddit pop up with the allow / decline permissions...

after allowing.... I get this in the server logs:

W20140708-02:14:49.192(8) (oauth_server.js:230) Error in OAuth Server: Failed to complete OAuth handshake with reddit. failed [401] {"error": 401}
I20140708-02:14:49.306(8)? Exception while invoking method 'login' Error: Failed to complete OAuth handshake with reddit. failed [401] {"error": 401}
I20140708-02:14:49.306(8)?     at getTokenResponse (packages/reddit-oauth/reddit_server.js:59)
I20140708-02:14:49.306(8)?     at Object.isJSON [as handleOauthRequest] (packages/reddit-oauth/reddit_server.js:5)
I20140708-02:14:49.306(8)?     at OAuth._requestHandlers.(anonymous function) (packages/oauth2/oauth2_server.js:8)
I20140708-02:14:49.307(8)?     at middleware (packages/oauth/oauth_server.js:89)
I20140708-02:14:49.307(8)?     at packages/oauth/oauth_server.js:62

It crashed.

PandaWhisperer commented 10 years ago

Yes, I was still working on it. It wouldn't let me use localhost as callback URL so I had to deploy to a live server. Run mrt update to get the most recent version. I tested it and it appears to be working.