Redirected to /#/_=_ after redirect from Facebook login

I’m using Facebook to authenticate a site using their manual login flow, which has my server redirect to FB, which then redirects back to my server, which then redirects back to the main page that uses Vue. The strange thing is that after the redirect, the page gets routed to site.com/#/= after loading. I can see this happen if I use the “Router.beforeEach” hook. This leaves the page with an invalid URI and no component loaded in the router view. I reproduced it using the problem using the...

14 Apr 2017 ... Seems the best way to handle this is simply to instruct your router to reject the /= route. router.beforeEach((to, from, next) => { if (to.path == '/_=_') { ...

Lee mas