Client flow login for Xamarin? - xamarin

I am looking for sdk that can help me do the client flow login in my Xamarin app(shared assets with forms UI) for Facebook and LinkedIn for iOS and android. I've got it working using Xamarin.Auth server flow but having hard time in client flow.
For facebook, I tried Xamarin Android Facebook, Xamarin iOS Facebook and cross platform facebook sdk by outercurve foundation. The official xamarin facebook sdk's are in very bad shape, don't work and no documentation has been provided as well. I couldn't find any for LinkedIn though.
My main objective is to use facebook and linkedin app to do the authentication to provide better user experience.

Eventually worked with official Xamarin Facebook SDK's for facebook for android and iOS. This blog post from James Montemagno came in handy.

Take a look at Auth0. They have a reasonable SDK and they support a large number of different Social Authentication providers including Facebook and LinkedIn. Their authentication service isn't free once you reach critical mass, but it's great to have the whole authentication aspect handled for you. Check it out at http://www.auth0.com

Related

Google Pay CRYPTOGRAM_3DS integration for websites

I am trying to integrate Google Pay into one of our websites. If I provide only CRYPTOGRAM_3DS as an authentication option, the Google Pay button is not getting displayed in Desktop Chrome and even in Android Chrome also. I have read that CRYPTOGRAM_3DS is used for the cards that got stored in Android device as tokens. Does that mean that I have to use CRYPTOGRAM_3DS only for Android app integration or will it work for web integration also? I really want to understand when we have to use CRYPTOGRAM_3DS as an authentication method for Google Pay integration. If it supports for web integration, what are the things that I need to do to really see the Google Pay button with only CRYPTOGRAM_3DS as authentication option?
I have read that CRYPTOGRAM_3DS is used for the cards that got stored in android device as tokens.
This is correct, CRYPTOGRAM_3DS is only available for cards tokenized using Google Pay. This means that it is only available on Android for both web and Android integrations on an Android device.
Can you include a sample integration with sample code?

Windows Authentication for Xamarin UWP

can any one help me how to do Windows Authentication using xamarin forms
Thanks in Advance
Regards,
Reddy Krishna M
You can take a look at our documentation on using Windows Integrated Auth with UWP. We also have a sample app which demonstrates creating a Xamarin application that signs in users with AAD and calls the Microsoft Graph using OAuth 2.0 access tokens.
More documentation on Integrated authentication on Windows.
For the authentication libraries, the implementation of WAM, which is another layer of Windows auth, is on the horizon. Hope this helps.

Google SignIn in Android and IOS with backend server

I am developing an app in Android and IOS. I want to use the Google Sign In to login in the app.
In Android I use the client ID of the backend server, but in IOS I have to use the IOS app client ID to login.
Is not possible to use the backend server client ID in the IOS app?
Google Documentation
https://developers.google.com/identity/sign-in/ios/backend-auth
Regards
I work on the team at Google: yes, unfortunately, this is a known deficiency and inconsistency of the iOS SDK for Google Sign-In. We're working on some changes and I'll update this answer when this is resolved.
For now, your backend server will have to determine what client the token is coming from and check appropriate audience. Very sorry for the trouble :/

Implementing Google OAuth2 in Xamarin for Google Classrooms

Any idea when a Google Classroom library wil be available for Xamarin? I have tried the .NET and Android library, but the GoogleWebAuthorizationBroker and FileDataStore does not exist, and Xamarin doesn't cater for "urn:ietf:wg:oauth:2.0:oob" as a redirect url when authenticating with Google Api (OAuth 2). Is there a workaround that anyone know of?
We are unlikely to build any library specifically for Xamarin. The details of our OAuth2 endpoints are publicly available, so it is in theory possible for you to develop your own implementation.

Facebook API Implementation in Windows Phone

I have an application. I have created a facebook page for it . Now when I look at the Facebook API , It asks me this
1)Select how your app integrates with Facebook
Website with Facebook Login(Log in to my website using Facebook.),
App on Facebook (Use my app inside Facebook.com.),
Mobile Web (Bookmark my web app on Facebook mobile.),
Native iOS App ( Publish from my iOS app to Facebook.),
Native Android App ( Publish from my Android app to Facebook.),
Page Tab (Build a custom tab for Facebook Pages.),
2)What exactly I want to do is when my user opens up my app for the first time, I want to use his credentials and post using my app on his behalf.
3)I want to implement the API so that after the user allows my app to connect to his profile, I use my app while he shares anything through my app to post on his behalf.
Kindly help me in all these circumstances with the perfect code as I am novoice to OAuth
Take a look on official Facebook C# SDK Sample for Windows Phone 7
https://github.com/facebook-csharp-sdk/facebook-windows-phone-sample

Resources