C#C
C#2y ago
TreF01L

Can't add jwt to cookies

Can someone explain why I have queries working when using IIS Express on BackEnd if I use axios in Vue, but if I use normal fetch, errors appear. I would keep using axios but when I want to add jwt token to cookie the same error appears. Any help would be greatly appreciated))

Modified*
All requests work in postman, cookies are added and deleted, but errors appear when working with the browser, so I'm leaning towards not adding something in the app.Cors or builder.Services.AddCors settings
image.png
image.png
image.png
image.png
Was this page helpful?