# \#xamarin

**URL:** https://community.auth0.com/tag/xamarin/24.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Welcome/Login form in Xamarin](https://community.auth0.com/t/welcome-login-form-in-xamarin/81994)

<div class="topic-metadata">

**Author:** [@rlkeith](https://community.auth0.com/u/rlkeith)\
**Replies:** 3\
**Last updated:** [April 25, 2022, 4:39pm UTC](https://community.auth0.com/t/welcome-login-form-in-xamarin/81994 "2022-04-25T16:39:06Z")

</div>

Hi All, I am using the New Universal Login form to handle logins to a Xamarin app for both IOS and Android. This does most of what I want but has two annoying problems: The tenant name is BrightSentinel and the app is …

---

## [Easy Authentication in Xamarin Apps with Auth0](https://community.auth0.com/t/easy-authentication-in-xamarin-apps-with-auth0/37364)

<div class="topic-metadata">

**Author:** [@bachi.degli-innocent](https://community.auth0.com/u/bachi.degli-innocent)\
**Replies:** 11\
**Last updated:** [March 19, 2021, 11:07am UTC](https://community.auth0.com/t/easy-authentication-in-xamarin-apps-with-auth0/37364 "2021-03-19T11:07:04Z")

</div>

Learn how to add authentication to iOS and Android apps with Xamarin and Auth0. Brought to you by @daniel.krzyczkowski Check it out

---

## [Xamarin.Forms iOS Application Crashes With ActivityMediator In AppDelegate](https://community.auth0.com/t/xamarin-forms-ios-application-crashes-with-activitymediator-in-appdelegate/73787)

<div class="topic-metadata">

**Author:** [@ldegianni](https://community.auth0.com/u/ldegianni)\
**Replies:** 3\
**Last updated:** [December 6, 2021, 8:15pm UTC](https://community.auth0.com/t/xamarin-forms-ios-application-crashes-with-activitymediator-in-appdelegate/73787 "2021-12-06T20:15:24Z")

</div>

Here is my AppDelegate.cs file: using Foundation; using PanCardView.iOS; using Syncfusion.ListView.XForms.iOS; using Syncfusion.SfAutoComplete.XForms.iOS; using Syncfusion.SfBusyIndicator.XForms.iOS; using Syncfusion.Sf…

---

## [Xamarin iOS disable confirm dialog](https://community.auth0.com/t/xamarin-ios-disable-confirm-dialog/60201)

<div class="topic-metadata">

**Author:** [@eugenio.favalli](https://community.auth0.com/u/eugenio.favalli)\
**Replies:** 1\
**Last updated:** [March 29, 2021, 12:23pm UTC](https://community.auth0.com/t/xamarin-ios-disable-confirm-dialog/60201 "2021-03-29T12:23:18Z")

</div>

Hi everyone, I have a Xamarin project that will go productive in a month and I have a couple of issues here. 1st I would like to disable the confirm popup like in the screenshot below. It’s annoying for the user (and …

---

## [Getting response after cancel login popup](https://community.auth0.com/t/getting-response-after-cancel-login-popup/41180)

<div class="topic-metadata">

**Author:** [@rafal.zielinski](https://community.auth0.com/u/rafal.zielinski)\
**Replies:** 0\
**Last updated:** [April 16, 2020, 1:47pm UTC](https://community.auth0.com/t/getting-response-after-cancel-login-popup/41180 "2020-04-16T13:47:00Z")

</div>

Hi, I’m working on Xamarin Forms and Xamarin Native apps. Use Auth0.OidcClient 3.1.2 (in one app) and 2.3.0 (in another app). To open login popup I’m using this code: var response = await auth0Client.LoginAsync()…

---

## [LoginAsync fails in Dependency Service in Xamarin Forms](https://community.auth0.com/t/loginasync-fails-in-dependency-service-in-xamarin-forms/40592)

<div class="topic-metadata">

**Author:** [@lindsaymiles](https://community.auth0.com/u/lindsaymiles)\
**Replies:** 8\
**Last updated:** [April 14, 2020, 10:52am UTC](https://community.auth0.com/t/loginasync-fails-in-dependency-service-in-xamarin-forms/40592 "2020-04-14T10:52:43Z")

</div>

Here’s the guidance I need…here’s my method I’m calling the Auth0 login…. public async Task\<string\> LoginAuth0Async() { try { var auth0Client = new Auth0Client(new Auth0ClientOptions …

---

## [PhoneGap sample only works with npm run](https://community.auth0.com/t/phonegap-sample-only-works-with-npm-run/24232)

<div class="topic-metadata">

**Author:** [@rajaauthowner](https://community.auth0.com/u/rajaauthowner)\
**Replies:** 1\
**Last updated:** [April 26, 2019, 5:26pm UTC](https://community.auth0.com/t/phonegap-sample-only-works-with-npm-run/24232 "2019-04-26T17:26:03Z")

</div>

I downloaded the phonegap sample, sent it to build.phonegap.com, got an apk back and installed it on my Android phone. When I opened the app all I get is a blank screen. I tried the same on PhoneGap desktop app, which ru…

---

## [Equivalent of Xamarin.Auth's logout() for clearing Auth0's login cookie](https://community.auth0.com/t/equivalent-of-xamarin-auths-logout-for-clearing-auth0s-login-cookie/17801)

<div class="topic-metadata">

**Author:** [@Simon](https://community.auth0.com/u/Simon)\
**Replies:** 2\
**Last updated:** [November 12, 2018, 1:43am UTC](https://community.auth0.com/t/equivalent-of-xamarin-auths-logout-for-clearing-auth0s-login-cookie/17801 "2018-11-12T01:43:36Z")

</div>

Previously, a simple call to logout() in the deprecated Xamarin.Auth plugin would clear the login cookie at Auth0. I’ve read about the clearing by calling the Login lock with a clear flag - but I just wish to log out, n…

---

## [Using Auth0.OidcClient.iOS cannot login pass-wordlessly](https://community.auth0.com/t/using-auth0-oidcclient-ios-cannot-login-pass-wordlessly/16853)

<div class="topic-metadata">

**Author:** [@william1](https://community.auth0.com/u/william1)\
**Replies:** 1\
**Last updated:** [October 18, 2018, 11:34pm UTC](https://community.auth0.com/t/using-auth0-oidcclient-ios-cannot-login-pass-wordlessly/16853 "2018-10-18T23:34:52Z")

</div>

Hi there, We are developing an Xamarin app, which uses Auth0 Oidc client for it’s authentication. Both Xamarin Android and iOS work fine yesterday, but this morning the iOS version start to fail. In addition, Android v…

---

## [How to validate verification code for passwordless](https://community.auth0.com/t/how-to-validate-verification-code-for-passwordless/10026)

<div class="topic-metadata">

**Author:** [@angeltek](https://community.auth0.com/u/angeltek)\
**Replies:** 1\
**Last updated:** [December 18, 2018, 3:27pm UTC](https://community.auth0.com/t/how-to-validate-verification-code-for-passwordless/10026 "2018-12-18T15:27:27Z")

</div>

I’m trying to validate the verification code that was send through SMS. I used the following post call in Postman: http://\<tenant\>/oauth/legacy/grant-type/ro { "client\_id": "id", "connection": "sms", "grant\_type…

---

## [Passwordless in Xamarin](https://community.auth0.com/t/passwordless-in-xamarin/9991)

<div class="topic-metadata">

**Author:** [@angeltek](https://community.auth0.com/u/angeltek)\
**Replies:** 1\
**Last updated:** [December 18, 2018, 3:22pm UTC](https://community.auth0.com/t/passwordless-in-xamarin/9991 "2018-12-18T15:22:15Z")

</div>

I’m trying to achieve passwordless authentication is Xamarin. The idea behind it is to validate phone number and login. I have login validation working from the quick guide but I can’t seem to find any documentation on …

---

## [Xamarin Android custom error description from rule is hidden](https://community.auth0.com/t/xamarin-android-custom-error-description-from-rule-is-hidden/9397)

<div class="topic-metadata">

**Author:** [@Pistoolirapu](https://community.auth0.com/u/Pistoolirapu)\
**Replies:** 1\
**Last updated:** [February 10, 2018, 12:47am UTC](https://community.auth0.com/t/xamarin-android-custom-error-description-from-rule-is-hidden/9397 "2018-02-10T00:47:12Z")

</div>

It is hard to understand how it is meant to sort out the custom error message from rules while creating app with Xamarin for Android. Here is example of rule to be used to return custom error message: function (user, c…

---

## [Xamarin.Forms - Not Native Xamarin](https://community.auth0.com/t/xamarin-forms-not-native-xamarin/6931)

<div class="topic-metadata">

**Author:** [@thomas2](https://community.auth0.com/u/thomas2)\
**Replies:** 3\
**Last updated:** [January 23, 2018, 8:40am UTC](https://community.auth0.com/t/xamarin-forms-not-native-xamarin/6931 "2018-01-23T08:40:27Z")

</div>

Has anyone seen any examples of integrating Auth0 into a Xamarin.Forms project? I have reviewed the QuickStart for Xamarin but they are for native iOS and Android, not Xamarin.Forms. The implementations in each project s…

---

## [Use google token to create youtube service in xamarin android](https://community.auth0.com/t/use-google-token-to-create-youtube-service-in-xamarin-android/8840)

<div class="topic-metadata">

**Author:** [@gboy9155](https://community.auth0.com/u/gboy9155)\
**Replies:** 1\
**Last updated:** [November 29, 2017, 11:42pm UTC](https://community.auth0.com/t/use-google-token-to-create-youtube-service-in-xamarin-android/8840 "2017-11-29T23:42:42Z")

</div>

I’m new to auth0 and i’m probably asking a basic question but how can we create an instance of a google service (youtube, google drive…) in xamarin or android. Should we create a credential from the token or is there an …

---

## [Access Token returned from loginResult is not usable with APIs](https://community.auth0.com/t/access-token-returned-from-loginresult-is-not-usable-with-apis/8249)

<div class="topic-metadata">

**Author:** [@john.cairns](https://community.auth0.com/u/john.cairns)\
**Replies:** 0\
**Last updated:** [September 20, 2017, 3:47am UTC](https://community.auth0.com/t/access-token-returned-from-loginresult-is-not-usable-with-apis/8249 "2017-09-20T03:47:14Z")

</div>

Hi everyone. I am having the problem that when I attempt to use the loginResult.AccessToken from client.ProcessResponseAsync(), the token returned is not usable with the API that I have set up. When I use the test acce…

---

## [Xamarin android - use custom login rather than web](https://community.auth0.com/t/xamarin-android-use-custom-login-rather-than-web/8148)

<div class="topic-metadata">

**Author:** [@flatbreadstudios](https://community.auth0.com/u/flatbreadstudios)\
**Replies:** 0\
**Last updated:** [September 10, 2017, 6:49am UTC](https://community.auth0.com/t/xamarin-android-use-custom-login-rather-than-web/8148 "2017-09-10T06:49:34Z")

</div>

Are there any examples out there for creating your own custom login page for a xamarin android app rather than forcing user to load auth0 in a browser? I’d like to be able to have users signup or login both with social a…

---

## [Can't configure lock in Xamarin; Access token not JWT](https://community.auth0.com/t/cant-configure-lock-in-xamarin-access-token-not-jwt/6374)

<div class="topic-metadata">

**Author:** [@frapaquad](https://community.auth0.com/u/frapaquad)\
**Replies:** 3\
**Last updated:** [September 6, 2017, 5:37am UTC](https://community.auth0.com/t/cant-configure-lock-in-xamarin-access-token-not-jwt/6374 "2017-09-06T05:37:18Z")

</div>

I’m trying to use auth0 to allow a client on a mobile app to connect to an API. After login, I get back an “access token” that isn’t a JWT, and the server (which I have already tested) doesn’t recognize whatever this th…

---

## [XAMARIN Quickstart error, Token Validation Errors](https://community.auth0.com/t/xamarin-quickstart-error-token-validation-errors/6673)

<div class="topic-metadata">

**Author:** [@nic.siggel](https://community.auth0.com/u/nic.siggel)\
**Replies:** 1\
**Last updated:** [May 22, 2017, 6:04am UTC](https://community.auth0.com/t/xamarin-quickstart-error-token-validation-errors/6673 "2017-05-22T06:04:43Z")

</div>

Hello, I am currently trying to get the XAMARIN quickstart working, namely for Android, however I keep getting the following error when looking at the login results: Error validating token response: Error validating id…

---

## [Getting "disallowed\_useragent" error using Google authentication on Xamarin Android](https://community.auth0.com/t/getting-disallowed-useragent-error-using-google-authentication-on-xamarin-android/6608)

<div class="topic-metadata">

**Author:** [@brixn.development](https://community.auth0.com/u/brixn.development)\
**Replies:** 1\
**Last updated:** [May 17, 2017, 4:59pm UTC](https://community.auth0.com/t/getting-disallowed-useragent-error-using-google-authentication-on-xamarin-android/6608 "2017-05-17T16:59:21Z")

</div>

I was using Auth0 component for Xamarin Forms app. It was working perfectly to authenticate against Google and Facebook. Recently it started getting a disallowed\_useragent error page when I try to login on Android using…

---

## [Getting a disalowed\_useragent when using Google authentication in Xamarin](https://community.auth0.com/t/getting-a-disalowed-useragent-when-using-google-authentication-in-xamarin/6581)

<div class="topic-metadata">

**Author:** [@arno.pancken](https://community.auth0.com/u/arno.pancken)\
**Replies:** 1\
**Last updated:** [May 17, 2017, 4:23pm UTC](https://community.auth0.com/t/getting-a-disalowed-useragent-when-using-google-authentication-in-xamarin/6581 "2017-05-17T16:23:54Z")

</div>

The application was working before, but now throws the following error: 403: disalowed\_useragent
