when does the passport.js failure redirect gets hit?

twitter logo github logo ・1 min read

I have been using passport.js to perform OAuth. So the redirect URI gets hit after successful authentication However for the failure scenarios. I am not able to trigger it anyway,

What happens in the following scenarios?

1. When the google/twitter or any OAuth provider opens their sign-in page but the


twitter logo DISCUSS
Classic DEV Post from Aug 29 '19

How can open source contributors and maintainers engage in a respectful ongoing relationship?

Mahesh Kumaran profile image

dev.to now has dark theme. 🌝

Go to the "misc" section of your settings and select night theme

(You can also change font to sans serif, which a lot of folks prefer.) 💖