✅ Authentication with Cookies
I'm playing around with cookies to get a better understanding. My code:
Currently, the
Currently, the
user-info endpoint returns "empty" after getting a cookie from the login endpoint. When I changed to AddCookie("cookie"), and change the ClaimsIdentity and Signin to "cookie", it returns a claim value. I was under the impression I could name the AddCookie scheme whatever I would like. Could someone please explain?