Please help me I don't know what can be wrong, I've been trying to find something for hours...
I want to have a user login component on the cookie in blazor. I have set the cookies and implemented logged out but I am unable to check that the cookie exist or not in web api code to get information from the cookies to blazor client app.
In web api this is my program.cs
In blazor web assembly app this is my program.cs
Now this is my getcurrentuser in which request.cookies["abc"] works if I consumed it from web api but if I use blazor web assembly to call the web api it doesn't work it is returning null. how can i make this
Updated:
My web api project where i am adding cookie




