OAuthTwoDemo.XForms | Xamarin.Auth with Xamarin.Forms for iOS and Android | iOS library
kandi X-RAY | OAuthTwoDemo.XForms Summary
kandi X-RAY | OAuthTwoDemo.XForms Summary
Xamarin.Auth with Xamarin.Forms for iOS and Android
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of OAuthTwoDemo.XForms
OAuthTwoDemo.XForms Key Features
OAuthTwoDemo.XForms Examples and Code Snippets
Community Discussions
Trending Discussions on OAuthTwoDemo.XForms
QUESTION
I'm creating a Xamarin.Forms PCL/Android/iOS app. My app will uses Azure Mobile App for sync data and now I need to implement user login to sync peer-user data.
I already have configure my Azure Mobile App (server) to Facebook and Google login and it works, but now, I need to do this on mobile app. I did this and it works for Facebook (MobileServiceUser receives the token and userId) but not for google, because google do not uses webview for login anymore.
I've search a lot in goole, but I didn't find nothing to solution my case. I found this but it didn't work for me. I've tried the client-flow but not success.
Has someone the solution for this?
In my login page on mobile, I need a button for facebook and another for google.
Thanks!
...ANSWER
Answered 2017-Apr-10 at 16:49Azure Mobile Apps uses Xamarin.Auth underneath for the authentication piece. Once Xamarin.Auth is updated to support the appropriate webview, then Azure Mobile Apps will as well.
However, in any reasonable mobile app, you will want to implement client-side authentication. In the case of client-side authentication, you use the provider SDK (Google or Facebook) to get the token in their approved way and then submit it to the mobile backend to swap it for a ZUMO token.
This method (including sample code for Facebook on iOS and Google on Android) is discussed in Chapter 2 of my book at http://aka.ms/zumobook.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install OAuthTwoDemo.XForms
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page