I'm using asp.net core/OpenIdConnect/Cookies authentication.
I can add custom claims to the ClaimsIdentity in the TokenValidated event and these persist fine.
However there is an additional code path when I can only add the claims to the ClaimsIdentity as part of a Controller POST action. However these additional claims are not persisted and lost for the next request.
Is this actually possible to get these claims persisted - without forcing a login?
Thanks, Donal