Wasim Hajwane
Wasim Hajwane

Reputation: 59

how to pass clientid and client secret in oauth2.0 in c#

Here i am using external weather api to get the weather information.I easily configure my api in postman by passing client id, client secret,access token url and grant type. But i am not able to configure all this to my c# code.

Can anybody help me to configure above parameter in c#

Upvotes: 1

Views: 2822

Answers (1)

Toni Wenzel
Toni Wenzel

Reputation: 2091

There are many libraries out there to help you with oauth apis. See IdentityModel or https://github.com/titarenko/OAuth2 .

Upvotes: 1

Related Questions