Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/goh-chunlin/burger

Xamarin app demonstrating the social network authentication and logged-in user info retrieval with Microsoft Mobile App Service on Azure.
https://github.com/goh-chunlin/burger

android-application azure azure-application-insights c-sharp social-network xamarin

Last synced: 3 days ago
JSON representation

Xamarin app demonstrating the social network authentication and logged-in user info retrieval with Microsoft Mobile App Service on Azure.

Awesome Lists containing this project

README

        

# Burger
This is a Xamarin app demonstrating the social network authentication and logged-in user info retrieval with Microsoft Mobile App Service.

This app is inspired by Xamarin Evangelist, Ben Ishiyama-Levy during [his talk at Microsoft Singapore](https://www.meetup.com/SingaporeMobileDev/events/234494626/) about authenticating and authorizing users with Microsoft Azure Mobile Apps.

## Project Objectives
- Understand how to login user to an Xamarin app via social network such as Facebook, Google+, Twitter, and Microsoft Live;
- Learn the deployment of Microsoft Azue Mobile Apps;
- Get updated with the new Mobile Apps after [Microsoft plans to kill Azure Mobile Services in December 2016](http://venturebeat.com/2016/05/10/microsoft-killing-azure-mobile-services-in-december-will-migrate-sites-to-app-service-starting-september-1/).

## Technologies Used
- Xamarin.Android
- Azure App Service: Mobile App
- Facebook Graph
- Google+ APIs
- OAuth Scope
- Twitter
- Microsoft Live
- Azure Application Insights

| ![Facebook Login](github-images/facebook-login.png?raw=true) | ![Google+ Login](github-images/google-plus-login.png?raw=true) | ![Twitter Login](github-images/twitter-login.png?raw=true) | ![Microsoft Live Login](github-images/microsoft-live-login.png?raw=true) | ![Retrieving User Info](github-images/retrieving-info.png?raw=true) |
| --- | --- | --- | --- | --- |
| Facebook | Google+ | Twitter | Microsoft Live | Retrieving User Info |

## Fields to Customize
- BACKEND_APP_SERVICE_URL: Please setup one Azure App Service: Mobile App to get its URL. Put the URL in Burger/Resources/values.ApiKeys.xml;
- TwitterConsumerKey: Only applicable if the app is setup to allow logging in via Twitter. Put the value from Twitter Developer in burgerappService/web.config.
- TwitterConsumerSecret: Only applicable if the app is setup to allow logging in via Twitter. Put the value from Twitter Developer in burgerappService/web.config.
- InstrumentationKey: Only applicable if the app is using Azure Application Insights. Put the value in burgerappService/ApplicationInsights.config.

## References
- [Azure Mobile App Service - Get personal info of authenticated users](http://social.technet.microsoft.com/wiki/contents/articles/34290.azure-mobile-app-service-get-personal-info-of-authenticated-users.aspx)
- [Google+ Platform: Authorizing API requests](https://developers.google.com/+/web/api/rest/oauth)
- [OAuth2.0 Playground](https://developers.google.com/oauthplayground/)
- [Authentication and authorization in Azure App Service](https://azure.microsoft.com/en-us/documentation/articles/app-service-authentication-overview/)