Skip to content
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

Dosen't work authentication with google or facebook #25

Open
maryampashmi opened this issue Apr 22, 2015 · 0 comments
Open

Dosen't work authentication with google or facebook #25

maryampashmi opened this issue Apr 22, 2015 · 0 comments

Comments

@maryampashmi
Copy link

Hi,
With my understanding from documentation i execute only grunt serve , but i am getting error 401 while i select google authentication or any others.
That’s an error.
Error: invalid_client
The OAuth client was not found.
I am not sure if i need to execute somethings inside server such as node app.js or not? it is not written in documentation anythings about server side. How i can solve problem of authentication?
or following error from twitter:

Error: Could not authenticate you. at Strategy.parseErrorResponse (C:\Users\pasma08\WebstormProjects\CspMetadata\node_modules\passport-twitter\lib\strategy.js:182:10) at Strategy.OAuthStrategy._createOAuthError (C:\Users\pasma08\WebstormProjects\CspMetadata\node_modules\passport-twitter\node_modules\passport-oauth1\lib\strategy.js:349:16) at C:\Users\pasma08\WebstormProjects\CspMetadata\node_modules\passport-twitter\node_modules\passport-oauth1\lib\strategy.js:218:41 at C:\Users\pasma08\WebstormProjects\CspMetadata\node_modules\passport-twitter\node_modules\passport-oauth1\node_modules\oauth\lib\oauth.js:543:17 at passBackControl (C:\Users\pasma08\WebstormProjects\CspMetadata\node_modules\passport-twitter\node_modules\passport-oauth1\node_modules\oauth\lib\oauth.js:397:13) at IncomingMessage. (C:\Users\pasma08\WebstormProjects\CspMetadata\node_modules\passport-twitter\node_modules\passport-oauth1\node_modules\oauth\lib\oauth.js:409:9) at IncomingMessage.emit (events.js:129:20) at _stream_readable.js:908:16 at process._tickCallback (node.js:355:11)

However i don't get this error through demo at all. I am getting error while using http://localhost:9000

Moreover in part of app.js inside server folder i am getting error from line exports = module.exports = app; after removing first exports, error disappear. Is that fine to remove first exports?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant