express-stormpath
express-stormpath copied to clipboard
Facebook OAuth callback error renders as [object Object]
When a Facebook callback error occurs it renders as [object Object].
How to reproduce
- Start an example application and navigate to
/login. - Click the login to Facebook login link.
- While being on the Facebook OAuth provider page prompting you to authorize your application to access your Facebook account. Go into the Facebook Developer dashboard and remove your whitelisted callback URI.
- Go back to the Facebook provider page and authorize your application to access the account.
- You should be redirected back to
/loginand with an error message stating[object Object](as shown below):
