Questions tagged [xamarin.auth]

A cross-platform API for authenticating users and storing their accounts.

Xamarin.Auth is a cross-platform API for authenticating users and storing their accounts. It supports a few authentication options out of the box, OAuth2 in particular with an example given for Facebook. It is run from Github and can be cloned or forked from there.

https://github.com/xamarin/Xamarin.Auth

138 questions
0
votes
1 answer

Xamarin MobileServiceClient RefreshUserAsync with Google 403

I am using Azure's MobileServiceClient sdk to authenticate with my server. With the upgrades to 4.x version I am also using Xamarin.Auth to authenticate users with Google and Facebook. When the response comes back from Google I am getting a…
rleffler
  • 430
  • 6
  • 15
0
votes
1 answer

keychain config in xamarin forms

I am using xamarin forms I am trying to use xamarin.Auth to save some informations in the database...and when I did it in android all happend ok ... But in ios I receive this error... > Xamarin.Auth.AccountStoreException: SaveAsync error = error =…
Joyce de Lanna
  • 1,473
  • 2
  • 15
  • 39
0
votes
1 answer

Xamarin.Auth is re-initializing the app

I only encounter this issue on UWP private void Button_OnClicked(object sender, EventArgs e) { var clientId = Constants.GoogleUWPClientID; var clientSecret = Constants.GoogleUWPClientSecret; var…
ExtremeSwat
  • 794
  • 1
  • 12
  • 34
0
votes
1 answer

Xamarin.Auth 1.5.0: Google Drive: Cannot Name or Update Uploaded File?

I have successfully uploaded and downloaded files and downloaded files metadata from OneDrive and Dropbox using Xamarin.Auth 1.5. I have done all of this for Google Drive except when I upload a file I cannot name the file (shows as Untitled) and I…
0
votes
2 answers

Xamarin.Auth and web api tokens

I'm making calls to a Web API using a xamarin mobile app and I was wondering when receiving my authorization bearer token could I not simply store it in the xamarin.auth account store along with the user's credentials? I figured this would be a …
Stunshaw
  • 36
  • 1
  • 6
0
votes
0 answers

Xamarin.Auth doesn't persist data after closing the app - ios

I have built an application through Xamarin.Forms, I am using xamarin.auth to save sensitive (login) data on each platform, Android app works correctly, I login to the app, save the data, close the app, re-open it and no need to login, the app goes…
0
votes
1 answer

Xamarin auth and tokens using ASP.NET MVC identity as backend

So I set up an ASP.NET MVC app with Identity and Oauth2 using this tutorial: http://bitoftech.net/2014/06/01/token-based-authentication-asp-net-web-api-2-owin-asp-net-identity/ I can't recommend that tutorial enough if you are trying to do this, it…
Jeffrey Bane
  • 592
  • 1
  • 10
  • 40
0
votes
1 answer

Android Xamarin.Auth 1.2.2 How to Update Uploaded Cloud Storage File LastModifiedDate?

With Xamarin.Forms, I am using OneDrive SDK on UWP to access OneDrive and it is working good. I am uploading/downloading small data files and I use the following code to change a file's LastModifiedDate: Item itemUpdate1 = new…
MV12
  • 13
  • 5
0
votes
2 answers

URL's for using Xamarin.Auth with Facebook

I'm trying to test out Xamarin.Auth with Facebook on Xamarin.iOS. I can login via the web view and get redirected but the Completed handler is never called. After some investigation, it looks like a common problem that users have is with this code…
0
votes
0 answers

Is FBSDKLoginManager or FBSDKLoginButton compatible with Xamarin Forms?

I heard that some local UX (per platform) may not work with Xamarin Forms. Is it possible to leverage FBSDKLoginManager or FBSDKLoginButton with Xamarin Forms? I considered using the Xamarin Auth, but it uses a pop up window, doesn't leverage…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
0
votes
2 answers

what values i can pass to scope apart from empty string ("") to OAuth2Authenticator constructor in Xamarin.Auth?

What values i can pass to scope apart from empty string ("") to OAuth2Authenticator constructor in Xamarin.Auth? Please refer to the below link for more information on OAuth2Authenticator …
Veswanth
  • 1,061
  • 9
  • 22
0
votes
0 answers

Null Reference Exception while login with facebook using xamarin.auth in xamarin.ios

I've implemented Facebook login using xamarin.auth in my Xamarin forms application. It works fine in Android, but in iOS it raises NULL REFERENCE EXCEPTION. Here is my class in PCL: public class FBLogin : ContentPage { public FBLogin() { …
sandeep
  • 77
  • 1
  • 11
0
votes
1 answer

Xamarin.Forms PopModalAsync doesn't work

I'm building an application using Xamarin.Forms and Xamarin.Auth to login with Facebook. Here is what i'm doing: App.cs: public App() { if (IsAuthenticated) { MainPage = new NavigationPage(new DetailPage()); } else { …
0
votes
1 answer

Xamarin Forms facebook Login Xamarin.Auth

I'm new to Xamarin forms and I'd like to build an application with a Facebook login button and Xamarin.Auth. I found a lot of stuff online but I can't find a way to make it work. Maybe because I found some old implementations or because of my…
0
votes
1 answer

Facebook Authentication Page Error - Not Logged In

I have been researching this issue for days now, pulling my hair out. Another thread that most accurately describes my issue is here, but the suggested solution did not work for me. I'm creating a cross-platform mobile app using Xamarin Forms, and I…