I'm using Socialite to get user information from facebook. All is going well but my redirect isn't working

Sub-routes

I read that it's not possible to do a redirect from a submethod, or any method that's not in your routes.

But how else can i redirect the user after I logged them in?

My URL looks like this after the successfull facebook handshake

http://tmdb.app/auth/login/facebook?code=AQBTKNZIxbfdBruAJBqZ8xx9Qnz...

Code