moscoquera moscoquera - 3 years ago 133
Android Question

Azure mobile Apps Authentication: Allow users choose provider

I'm developing a small android application where users needs to login. i dont wanna implement a full login system because i think it's no really necessary for this application, i just wan't allow users to login in my application using their Facebook or google accounts, and then store their basic profile info in azure database. the access to the database is restricted to "authenticated users only", at this point i have only added the Facebook Login button and can read users data, but when i need to store this information in the database i'm going to need authenticate in the azure service, i wan't to use the users session data (Facebook and Google) to login into azure. how can i do it?. I dont want to force users to login twice in the app.

Answer Source

Take a look at this documentation for information on how to add Google and Facebook authentication to your mobile app: When a user logs in, your app backend can easily get their user data and make secured calls to your Azure database on behalf of the logged-in user.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download