Solved using the last aswer here. tl;dr change Auth0 setting from Regular Web Application to Single Page Application