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…