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
35
votes
4 answers

Xamarin Auth Store Keychain not working after ios10 upgrade

I'm using Xamarin.Auth (https://components.xamarin.com/view/xamarin.auth/) to store my credentials, as I've always done. var accountStore = AccountStore.Create (); foreach (var account in accountStore.FindAccountsForService("myAppName")) …
Ziba Leah
  • 2,484
  • 7
  • 41
  • 60
7
votes
2 answers

Xamarin.Auth, WebView Clear Cookies on Android

I've tried probably everything I could find online regarding clearing the cookies for an Android WebView using Xamarin.Auth. The Auth library does not expose the Android WebView; I cannot use its WebSettings nor clear the cache on that WebView…
ethane
  • 2,329
  • 3
  • 22
  • 33
6
votes
1 answer

Xamarin.Auth Google Presenter not closing in Android Xamarin.Forms App

I am using Xamarin.Form to write a Android app. I have successfully implemented the OAuth and I can sign in and get the user information using OAuth2Authenticator. When the user clicks signup/Login I show the OAuthLoginPresenter as follows: var…
TResponse
  • 3,940
  • 7
  • 43
  • 63
6
votes
1 answer

Xamarin.Auth (Android) - Chrome Custom Tabs Doesn't Close on Redirect

I've implemented the Xamarin.Auth sample code to authenticate with google's identity provider on Android. I'm successfully navigated to the Google login page using the device's Chrome browser where I can enter my credentials. I successfully…
James B
  • 8,975
  • 13
  • 45
  • 83
5
votes
1 answer

recent media instagram GET request returns status 200 but empty data

I am doing a simple GET request using this instagram API endpoint: https://api.instagram.com/v1/users/{USER ID}/media/recent?access_token={ACCESS TOKEN} I get the access token via OAuth2Authenticator from Xamarin.Auth plugin. I just notice today…
AISAC
  • 821
  • 1
  • 9
  • 14
5
votes
1 answer

Xamarin.Auth Facebook gives NullReferenceException 2

I am following This Page along with some samples from Xamarin.Auth github repo so set up a facebook login. I have created the following login function: public void Authenticate() { string clientId = Config.FacebookAppID; string redirectUri =…
Kayes
  • 502
  • 7
  • 18
5
votes
1 answer

Using Xamarin.Auth for OAuth2 authentication - username and password?

I'm facing some issue, while using Xamarin.Auth for OAuth2 authentication. From POSTMAN I'm sending request for token, via GET method to my backend URL: http://example.com/backend/oauth/token by adding to header: Authorization, Basic…
Namek
  • 477
  • 1
  • 8
  • 20
5
votes
1 answer

Xamarin.Auth iOS9 Authentication SSL ERROR

I've just updated XCode to the 7.0 (7A220) and this take my Simulators to iOS9. From that moment I cannot perform successfully any OAUTH call from the simulators.. I tried every model, from my App to the "sample Xamarin.Auth App". The answer is…
Ziba Leah
  • 2,484
  • 7
  • 41
  • 60
4
votes
1 answer

Xamarin.Auth doesn't work with Linkedin V2 API

I'm actually trying to do a simple login with Linkedin and the new API V2 with Xamarin.Auth extension. I do get the token like this var auth = new OAuth2Authenticator( clientId: *****, clientSecret: *****, scope: "r_liteprofile", …
Valli
  • 81
  • 5
4
votes
3 answers

Xamarin.Auth Google not auto close when done login

I follow guide enter link description here I have a issue when I done login my google account it show toast And browser not auto close to back my. Thanks!
Vermoric Huynh
  • 203
  • 2
  • 9
4
votes
2 answers

OAuth1Authenticator of Xamarin.Auth not terminating not completing

I am currently trying to use a REST service inside a xamarin.forms app. To perform the authentication I use this code: string consumerKey = "consumer_key"; string consumerSecret = "consumer_secret"; var requestTokenUrl = new…
zimmerrol
  • 4,872
  • 3
  • 22
  • 41
4
votes
1 answer

Azure AD token endpoint doesn't return an access_token (just an id_token and a refresh_token)

I'm using Xamarin.Auth for authenticating users against Google and Azure AD in a Xamarin Forms based mobile app. While everything works as expected with Google, I'm unable to get an access_token with Azure AD: Authorize works as expected providing…
manuel
  • 252
  • 1
  • 9
4
votes
1 answer

Error while installing Xamarin.Auth on visual studio 2015 community

While installing Xamarin.Auth Nuget i am getting following error: Severity Code Description Project File Line Suppression State Error Could not install package 'Validation 2.0.4.14103'. You are trying to install this package into a…
Unnati
  • 41
  • 3
3
votes
0 answers

Xamarin.Auth Linkedin custom url interceptor not working

So I've successfully implemented Xamarin.Auth for Google login using this as a guide: https://github.com/xamarin/Xamarin.Auth Now, trying to implement the same thing for LinkedIn, for some reason the custom URL interceptor (for deep linking),…
3
votes
1 answer

Xamarin.Auth getting disallowed_useragent error [Xamarin.Forms]

I was trying to implement login with Google and Facebook. I have successfully implemented Facebook login with Xamarin.Auth but in the Google Login I am getting error disallowed_useragent, I know Google has changed their policy and will not allow the…
Chandresh Khambhayata
  • 1,748
  • 2
  • 31
  • 60
1
2 3
9 10