C#C
C#2y ago
5 replies
ibby

SignInAsync Set-Cookie header not working?

Frontend: localhost:3000
Backend api: localhost:61927


Using fetch() to hit a sign in endpoint that calls HttpContext.SignInAsync, it adds the token to Set-Cookie header but the cookie never gets set on my frontend? I've already configured CORS and I'm getting no CORS errors. Not sure whats wrong
image.png
Was this page helpful?