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.Auth not completed

I am developing an application with Xamarin.Android and i needed login system. Therefore i'm using Xamarin.Auth. I create a OAuth2Authenticator but not working auth.completed . How fire auth.completed on succeeded? public void LoginToSabis() …
Cenk Gun
  • 41
  • 6
0
votes
1 answer

How to retrieve profile informations from facebook using xamarin.auth

I'm writing a simple application in Xamarin.Forms that allows users the authentication through socials such as Facebook, Google, Instagram, Twitter, etc. I'm using Xamarin.auth to do this. I have a problem with Facebook Login. I used the same code…
0
votes
1 answer

Rerequest a facebook permission with Xamarin.Auth

I´m trying to re-asking for declined permissions in Facebook. According to facebook developers, once someone has declined a permission, the Login Dialog will not re-ask them for it unless you explicitly tell the dialog you're re-asking for a…
0
votes
0 answers

Xamarin.Auth - google authentication for firebase

I am trying to use xamarin.auth for authenticating user with their google account. Everything works fine, I get the access token also from google but i get a pop-up that says ** Authentication error - invalid_grant** and it reloads the google sign…
hyoyin_Kyuoma
  • 643
  • 1
  • 6
  • 16
0
votes
1 answer

Xamarin.Auth with CustomRenderer does not open on Android

I successfully got Oauth2 to work with my localhost implementation using iOS and this Xamarin example: https://github.com/rasmuschristensen/SimpleOAuth However, using Android, only a blank grey page is displayed. No error messages. I cannot figure…
fnllc
  • 3,047
  • 4
  • 25
  • 42
0
votes
1 answer

Using Xamarin.Auth with a custom endpoint/webservice

I'm implementing a login auth in my app. For now I'm using an IOC interface which stores my email and password in the device storage (It uses the SharedPreferences in Android and the NSUserDefault class in iOS). When I go to the login screen I must…
4gus71n
  • 3,717
  • 3
  • 39
  • 66
0
votes
1 answer

How to add Xamarin.Auth for Windows Phone

I need Xamarin.Auth for my WindowsPhone project in Xamarin. There is an experimental branch on GitHub: https://github.com/xamarin/Xamarin.Auth.git How do i add this as a reference to my project? I can't find any DLL? Thanks in advance!
0
votes
2 answers

Authentication with Facebook by using Xamarin.Auth

I am using Xamarin.Auth for login with facebook in my app(android/iOS) and all is going well but when successfully loged in, facebook profile is opening and not going back to my application. i want to redirect to my app's home page without showing…
Shahzaib Maqbool
  • 1,479
  • 16
  • 25
0
votes
1 answer

xamarin.forms facebook login windows phone

i'm been using xamarin.auth to use facebook in my app for android and iOS. but now i need to make it for windows phone, how do you recommend to do this for windows phone? is there a xamarin component that you like, or a tutorial you normally use of…
DaCh
  • 921
  • 1
  • 14
  • 48
0
votes
1 answer

xamarin.forms startactivity xamarin.auth

Im trying to use xamarin.auth to loging with facebook, but every tutorial uses startactivity(auth.getui(this)); but startactivity doesnt work with me, i cant run it Xamarin Android Xamarin.Auth - Twitter he uses it but when i try his code visual…
0
votes
1 answer

How to get access token with Xamarin.Auth?

https://components.xamarin.com/gettingstarted/xamarin.auth So that website shows how to authenticate the user, and how to make requests, but it skips the step in between which is getting the access token out of the url. This is probably really…
mredwan
  • 25
  • 1
  • 3
0
votes
1 answer

How to return a value after making the request with OAuth2Request?

I'm trying to return the value of an object but it returns null, however it returns a value in the request. using System; using Xamarin.Auth; using Newtonsoft.Json.Linq; using System.Collections.Generic; using System.Linq; using…
Jonathan Zúñiga
  • 645
  • 3
  • 13
  • 25
0
votes
1 answer

Xamarin.Auth OAuth2Authenticator Facebook NullReferenceException

I have created a function to login using Facebook. public void Login () { var ctx = Forms.Context as MainActivity; var accounts = new List(AccountStore.Create (ctx).FindAccountsForService (SERVICE)); if…
HansElsen
  • 1,639
  • 5
  • 27
  • 47
0
votes
2 answers

Xamarin.Auth - "One or more errors occured" with Foursquare venues API

So I'm basically trying stuff with Foursquare's venue API but getting the strange error whenever I send a API request. First of all I authenticate with the following code; var foursquareClient = new FoursquareClient(this); …
HuseyinUslu
  • 4,094
  • 5
  • 33
  • 50
0
votes
1 answer

Xamarin.Auth not able to parse JSON LinkedIn OAuth2 Request for Access Token by exchanging the Authorization Code

In the process of porting Xamarin.Auth to Windows 8 I came across the following problem. When trying to authenticate to LinkedIn using OAuth2 and Requesting an Access Token by exchanging the authorization code for it…
aquamoon
  • 15
  • 6
1 2 3
9
10