After the user has logged into my application with Facebook they are redirected the the home page. Is there any way to change this so I can redirect the user to
/dashboard for example?
I am using
Meteor.loginWithFacebook. The login button is on the homepage. I am also using react-router. I use the redirect flow instead of popup. All works fine. After the user has logged in they are redirected back to the homepage.
This is not what I want. Instead I want to redirect the user to
/dashboard, I know I can change the
redirectUrl in the
loginWithFacebook options, but I wasn’t sure how or whether or not it would be a wise idea to change it from the default
Is it possible to some how redirect the logged in user from Facebook to
/dashboard. Can I hook into
_oauth/facebook some how?