prime-8-consulting / meteor-oauth2

60 stars 20 forks source link

Can't get redirect to redirect_uri in example #20

Closed leonnardo closed 8 years ago

leonnardo commented 8 years ago

I'm not able to use your package because after logging in and clicking in authorize button, I can't go to redirect_uri given by the system.

I can go until this step:

screen shot 2016-08-01 at 2 45 01 pm

But when I click in the redirect_uri, I got errors like (in client console):

20160801-14:51:09.780(-3)? query { code: 'd1411767517b2fd4ea16d2b982ff11a419eed176',
I20160801-14:51:09.780(-3)?   state: 'eyJsb2dpblN0eWxlIjoicG9wdXAiLCJjcmVkZW50aWFsVG9rZW4iOiJ1ZDhKMl9FTmlNdFRLQVZhU0ZQeER6RVRGaVlBVzFDSlZZWmhWX1ZkS1RTIiwiaXNDb3Jkb3ZhIjpmYWxzZX0=' }
W20160801-14:51:56.984(-3) (oauth_server.js:71) Unable to base64 decode state from OAuth query: undefined
W20160801-14:51:56.986(-3) (oauth_server.js:71) Unable to base64 decode state from OAuth query: undefined
W20160801-14:51:56.987(-3) (oauth_server.js:398) Error in OAuth Server: Failed to complete OAuth handshake

socket hang up
W20160801-14:51:56.991(-3) (oauth_server.js:71) Unable to base64 decode state from OAuth query: undefined
W20160801-14:51:56.992(-3) (oauth_server.js:71) Unable to base64 decode state from OAuth query: undefined
W20160801-14:51:56.994(-3) (oauth_server.js:398) Error in OAuth Server: Failed to complete OAuth handshake

socket hang up
W20160801-14:51:56.997(-3) (oauth_server.js:398) Error in OAuth Server: Failed to complete OAuth handshake

socket hang up
W20160801-14:51:56.999(-3) (oauth_server.js:71) Unable to base64 decode state from OAuth query: undefined
W20160801-14:51:57.001(-3) (oauth_server.js:71) Unable to base64 decode state from OAuth query: undefined
W20160801-14:51:57.002(-3) (oauth_server.js:398) Error in OAuth Server: Failed to complete OAuth handshake

socket hang up
W20160801-14:51:57.005(-3) (oauth_server.js:71) Unable to base64 decode state from OAuth query: undefined
W20160801-14:51:57.006(-3) (oauth_server.js:71) Unable to base64 decode state from OAuth query: undefined
W20160801-14:51:57.007(-3) (oauth_server.js:398) Error in OAuth Server: Failed to complete OAuth handshake

socket hang up

What can I do to fix this?