How do I update my cookie, having got a new access_token?
问题 Having used a refresh token to get a new access token, I want to update my client side cookie with that access token. My client is able to sign in and call my REST API using ajax, however when that first authorization expires, naturally the API calls no longer work. I have a .NET web application which consumes its own REST API. The API is a part of the same project. It does not have its own startup configuration. As the cookie is being sent in the header of each request it needs to have the