Search code examples
.netauthenticationazureazure-web-app-servicecustom-authentication

Custom Authentication with Azure Mobile Apps


I'm using the new Azure Mobile Apps (not the old Mobile Services) as backend for my Xamarin-App. Mobile Apps comes with a bunch of Social Authentication Options (e.g. Twitter, Facebook...), but I want my own authentication with my own account table.

For the old mobile services custom auth is described here: http://azure.microsoft.com/de-de/documentation/articles/mobile-services-dotnet-backend-get-started-custom-authentication/ This approach uses a LoginProvider, which isn't available anymore in Mobile Apps. The documentation for migrating from Mobile Services to Mobile Apps just says:

One of the biggest differences between Mobile Apps and Mobile Services is that login is handled by the App Service Gateway in the case of Mobile Apps, not the code site. http://azure.microsoft.com/de-de/documentation/articles/app-service-mobile-dotnet-backend-migrating-from-mobile-services-preview/

What does that mean? How can I implement custom auth?

Thanks :)


Solution

  • Custom authentication is currently not available in Mobile Apps, see comment from azure app service documentation

    It should become available when Mobile Apps is Generally Available (GA). I have the same login requirements and had to use Mobile Services for now.