Skip to content

OAuth 2.0 Authorization Code Grant demo using self-hosted ASP.NET Web API

Notifications You must be signed in to change notification settings

pmhsfelix/OAuth2.Demos.AuthzCodeGrant

Repository files navigation

OAuth2.Demos.AuthzCodeGrant

Yet another OAuth 2.0 Authorization Code Grant (Web flow) demo.

It is based on a .NET console application that runs a self-hosted ASP.NET Web API server to simulate the Web server.

By default, it uses the GitHub Authorization Server and the Github API as a Resource Server. However, this can easily be changed on the configuration.

In order to understand this OAuth 2.0 flow, we suggest:

  • Reading the source code, which is all in one file
  • Looking to at exchanged messages, using a tool such as Fiddler
  • Reading the console messages.

Any feedback is greatly appreciated.

About

OAuth 2.0 Authorization Code Grant demo using self-hosted ASP.NET Web API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages