Archive of ‘Facebook’ category

Using facebook to login into your MVC site

Make sure you test with both your own and another account. I was caught out by just testing with my own account, the same one used to setup the app within https://developers.facebook.com/apps

For instructions on how to set up your application: http://www.asp.net/mvc/overview/security/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on

The missing step they don’t mention is you need to ‘activate’ the app for the public. This is done via the ‘Status & Review’ section of the app’s left nav. Remember to put a contact email in ‘Settings’ -> ‘Basic’