Skip to content
DotNetOpenAuth for ASP.NET WebAPI (OpenID/OAuth/OAuth2)
C# JavaScript CSS ASP
Branch: master
Clone or download
Pull request Compare This branch is 2 commits ahead, 2 commits behind DavidChristiansen:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.nuget
source fixing references Nov 8, 2014
.gitattributes
.gitignore
DotNetOpenAuth.WebAPI.sln Upgrade to MVC5 Nov 8, 2014
README.md

README.md

#DotNetOpenAuth.WebAPI DotNetOpenAuth for ASP.NET WebAPI (OpenID/OAuth/OAuth2)

Build status

##Purpose

This project was developed to look into ways we can bring OAuth to the world of ASP.NET WebAPI.

##Details

I have included the following in the source

DotNetOpenAuth.WebAPI

  • Code required for the magic to happen

DotNetOpenAuth.WebAPI.ClientSample

  • A sample client demonstrating communicating with a WebAPI resource via JavaScript as well as C#. Simply check/uncheck the checkbox to switch between the client modes

DotNetOpenAuth.WebAPI.HostSample

  • A sample authorisation server and WebAPI host utilising the functionality exposed in DotNetOpenAuth.WebAPI

###Requirements

This sample uses Framework v4.5.1, MVC5 and requires SQL Express

###Getting Started

  1. Launch the solution in visual studio
  2. Start debugging both the client and host sample projects
  3. Navigate to the Host sample (http://localhost:49810/)
  4. Ensure you have SQL Express installed and running
  5. Click the Create Database button
  6. Navigate to the client sample (http://localhost:18529/)
  7. Start clicking buttons and enjoy

##Feedback

As always feedback is always welcome. Raise an issue if you have problems.

You can’t perform that action at this time.