Authentication fails with Error
See original GitHub issueI have some pretty straightforward boilerplate authentication code that fails,
router.get('/auth/google',
passport.authenticate('google', { scope: ['profile', 'email'] }));
router.get('/auth/google/return',
passport.authenticate('google', { failureRedirect: '/' }),
function (req, res) {
res.redirect('/');
});
Upon being returned to /auth/google/return
I’m given a vague Error,
Error
at /Users/apetcoff/i liek 2 progrmam/my-project/node_modules/passport-google-oauth20/lib/strategy.js:95:21
at passBackControl (/Users/apetcoff/i liek 2 progrmam/my-project/node_modules/oauth/lib/oauth2.js:132:9)
at IncomingMessage.<anonymous> (/Users/apetcoff/i liek 2 progrmam/my-project/node_modules/oauth/lib/oauth2.js:157:7)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickDomainCallback (internal/process/next_tick.js:122:9)
Facebook and Twitter authentication both work fine.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:6
Top Results From Across the Web
"Authentication failed" error when you try to log on to Unified ...
This issue occurs when Unified Access Gateway cannot convert the UPN name into the Security Accounts Manager (SAM) account name format.
Read more >Authentication Failed - The Error Explained
When attempting to send an email, your email program may report an "Authentication Failed" error message. Authentication is the act of providing a...
Read more >Authentication Error Occurred? -10 Proven Fixes - Dr.Fone
Learn how to overcome Wifi authentication error in this extensive post. We have listed stepwise solutions to fix authentication error occurred on Android....
Read more >Why did I Receive an Authentication Failed Error
If you did not properly log out of the system and close your browser, or if multiple users were trying to sign in...
Read more >I get a message that says “Authentication failed”
Make sure that you are connected to the Internet, or to a local area network. · Make sure that you have registered an...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ughitsaaron @gittheking
You need to enable the Google+ Social API for your Google API project
Google will be closing the G+ from 7th March 2019.