15 May 2013

It is almost too easy to add OAuth authentication and authorization with Facebook, or Twitter to an MVC 4 Internet application. Include the commented out lines in the AuthConfig.cs file and add your facebook appId and appSecret and the job is done.

The only difficulty I had with this was down to a NuGet package that was not up to date. Click the update button and NuGet solves it for you. Microsoft are really making this easy.

No comments: