Token not returned after successful login

Hi,
I have a spa made with Nuxt(vue) that uses a api made with .net Core.
These projects communicate fine when running on production servers(which is on linux), but when I try to run these projects locally, they refuse to work together. Both run fine, but I cannot connect my local spa to my local api.

I can access my local api with postman(using a token returned from auth0) and I can use my spa locally, if its connected to the production api.

When using my local spa with my local api I noticed one difference: the auth._token.auth0 returned is set to false, but in the logs on auth0 it seems to be successful.

When running the api locally, Im using visual studio community 2019.

Any tips?