Never mind, i got it to work, the problem was in the order of execution of my code.
What happened was i sent the get request before the token was set to state.
↧
Get user/session returns 401 error
↧
Never mind, i got it to work, the problem was in the order of execution of my code.
What happened was i sent the get request before the token was set to state.