I'm using Cookie authentication for a Web API Core application, with OpenIdConnect.
So far, I store JWT tokens in the cookies, and use a custom cache to keep a session-like data (in cache, the token is the key)
Now i'd like to keep tokens on the server side only, removing it from the authentication cookie.
I'm wondering if Authentication Cookie carry a unique Identifier, that i could use as key in my cache ? I've not found such property in the class ... Would need something like the sessionId in session Cookie, that i can retrieve each time the cookie is provided.
Thank you