© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
28 replies
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
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Cookies and JWT for Authentication
C#CC# / help
11mo ago
❔ Can't get Cookies Response from .net api
C#CC# / help
3y ago
❔ How to add a private signing key to an ES256 JWT?
C#CC# / help
3y ago
❔ Can't add css in ASP.NET
C#CC# / help
3y ago