Retrieving OAUTH2 Tokens in .NET

Retrieving OAUTH2 Tokens in .NET To get access tokens from an OAUTH2 identity server you can make a standard POST request using HttpClient, the easiest way of sending the required credentials is by serializing a dictionary object of values into URL encoded content. Token Class public class Token { public Read more…