Azure mobile services facebook login without username/password

azure, azure-mobile-services, xamarin

Solution

You have to use the Facebook SDK to achieve this. You can get it from the Xamarin component store here (Facebook SDK Component)

I believe you are then able to pass the token to azure to log into the azure mobile services instance. Something like this (This is for Windows Phone)

Hope this helps

Problem

I have set up authentication with Azure Mobile Services using Facebook and Google successfully in my iOS app implemented in Xamarin. It works fine but it does require the user to input username and password in some nasty web UI. Ive seen may other apps and websites where you just click the facebook login and since you are already signed in with facebook on the device you just get some popup to accept and in you go without entering any username or password. How do I achieve this?

Original source