---
title: "Xamarin Component just released"
description: "We are very excited to announce the release of the Auth0 Component for Xamarin. As with the other SDKs we released (and available on Github)"
authors:
  - name: "Eugenio Pace"
    url: "https://auth0.com/blog/authors/eugenio-pace/"
date: "Aug 22, 2013"
category: "Developers,Tutorial,Xamarin"
tags: ["android", "iphone", "microsoft", "enterprise"]
url: "https://auth0.com/blog/Xamarin-Component-Just-Released/"
---

# Xamarin Component just released


We are very excited to announce the release of the [Auth0 Component](http://components.xamarin.com/view/Auth0Client/) for Xamarin. As with the other SDKs we released (and [available on Github](http://github.com/auth0)), its goal is to streamline authentication with any of our [supported identity providers](http://docs.auth0.com/identityproviders). Consumer or Enterprise.

![](https://assets.ctfassets.net/23aumh6u8s0i/4VJXbZvHF4tYhc6O83Yqi5/109a72edc6de43f358f0979ee9edabd6/Auth0-Xamarin-iOS-602-400-slideshow-resize)

The API is straight forward and very easy to use. It works with iOS and Android:

```
    var auth0 = new Auth0Client(
        "{subDomain}",
        "{clientID}",
        "{clientSecret}");

     auth0.LoginAsync (this)
           .ContinueWith(t => {
              var facebook_token = t.Result.Profile["identities"][0]["access_token"];
              var email = t.Result.Profile["email"].ToString();
 	          });
```

The code above will display the [Auth0 login widget](https://docs.auth0.com/login-widget) as seen in the picture above.

It is delivered as a [component](http://components.xamarin.com/), so you can get it straight into Xamarin Studio.

What you get back after login is the [normalized user profile](https://docs.auth0.com/user-profile) and [Json Web Token](https://auth0.com/learn/json-web-tokens/) you can use to authenticate calls with your API.

Here's a quick end to end demo (use full screen):

<iframe width="700" height="315" src="//www.youtube.com/embed/7enbd_BQRdE?rel=0&vq=hd1080" frameborder="0" allowfullscreen></iframe>

Last but not least, if you have **Windows Azure Mobile Services** enabled in Auth0, then you can use the token to call WAMS endpoints with no changes or additional code. Auth0 will generate [the right JWT](https://docs.auth0.com/jwt#5) for you.

We want to thank the folks at Xamarin for their support and great experience!

The sample image was generated with the awesome [placeit](http://placeit.breezi.com/).

[Try Auth0 yourself!](https://auth0.com)
