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
Problem on AWS #80
Comments
I get the same error |
@tjerabek what version of node are you using? |
Last stable |
same, on micro ec2. Any ideas, fix so far? |
I have used Twitter auth instead. It's working well. I have no idea where is problem with Google auth. |
That is a shame, its always nice to have the trio auth, Fb, Google and Twitter. I will look into a solution and post if I find one. |
This is duplicated at jaredhanson/passport-google#4 I'm closing it here since it is specific to that strategy rather than Passport generally. As a workaround, I'd try switching to Google's OAuth 2.0 implementation, which is supported by passport-google-oauth. Google seems to be recommending that as their preferred approach for authentication.. |
my application don't work on AWS with passport and Google strategy. This is error:
node_modules/passport-google/node_modules/passport-openid/node_modules/openid/lib/convert.js:33
if(i.charCodeAt(0) > 127)
^
TypeError: Object ��:
�9r���Ţ�17q~��q�v#sf��Z.'�����zc�?)XӲ�9��h7W}E���-�zv�ΧKH�߯���%�NE��f4�I��5̂�H;�v">]I
����"� has no method 'charCodeAt'
at Object.btwoc (/home/ec2-user/data/scrum/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/lib/convert.js:33:8)
at _toBase64 (/home/ec2-user/data/scrum/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:70:40)
at Object.openid.associate (/home/ec2-user/data/scrum/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:637:35)
at successOrNext (/home/ec2-user/data/scrum/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:844:16)
at /home/ec2-user/data/scrum/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:860:5
at /home/ec2-user/data/scrum/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:607:7
at /home/ec2-user/data/scrum/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:485:16
at done (/home/ec2-user/data/scrum/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:201:9)
at IncomingMessage. (/home/ec2-user/data/scrum/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:205:32)
at IncomingMessage.EventEmitter.emit (events.js:123:20)
Everything is ok on my local computer.
The text was updated successfully, but these errors were encountered: