How can I convert a token to a user session (with cookie). We have an identity server that is creating a token (uses the jwt cookie) and redirecting back to the site:
The token can be used easily in the jsonclient but I also want to create a cookie session from that token so authenticte the user before even serving the page. Something like client.SetTokenCookie(jwtToken); but we don’t have a client in this case. Is there a helper to do this in a filter?