guys i m using django rest framework with jwt auth . by a login form in angular 4 im sending my login information with POST to http://localhost:8000/rest-auth/login/
and i will get token and user object .. so far its good. but now how should i redirect user to dashboard ? should i write a class and check token on django(backend ) ? or instantly redirect user to a component (dashboard) in angular section ? generally
how should i continue?