Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DotNetOpenAuth MVC 3 Service Provider Example

I am looking at the OAuthServiceProvider WebForms example that comes with the DotNetOpenAuth project, but would like to implement this into an MVC 3 application instead.

Is there any examples where someone has done this already? I can imagine this is a common scenario that someone has already solved. Google/SO is failing to return any working examples.

Thanks for any assistance.

like image 519
Brandon Avatar asked Apr 02 '11 19:04

Brandon


1 Answers

This project template is an ASP.NET MVC web site that includes an OAuth Service Provider authentication module in it. It also accepts OpenID logins, but you can rip that out if you don't want it. Granted, the project template looks like it throws in a lot of code. It is much more complete and production ready than a very simple sample that perhaps you can find elsewhere.

Although this project template targets MVC 2, I imagine you might be able to tie it over to MVC 3 fairly easily.

like image 86
Andrew Arnott Avatar answered Nov 15 '22 13:11

Andrew Arnott