User Authentication with Azure Mobile Apps

I use the new Azure Mobile Apps (and not the old mobile services) as the backend for my Xamarin app. Mobile apps come with a set of social authentication options (e.g. Twitter, Facebook ...), but I want my own authentication to be done with my own account.

For old auth attributes for mobile services is described here: http://azure.microsoft.com/de-de/documentation/articles/mobile-services-dotnet-backend-get-started-custom-authentication/ This approach uses LoginProvider , which is no longer available on Mobile Apps. The documentation for migrating from mobile services to mobile apps simply says:

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

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

Thanks:)

+6
source share
2 answers

User authentication is currently not available in mobile applications; see comment from azure service documentation

It should become available when Mobile Apps is generally available (GA). I have the same login requirements, and now I have to use Mobile Services.

+1
source

Here is an update from the azure team There is, at present, a preview for ASP.NET - you can use the Microsoft.Azure.Mobile.Server.Login NuGet package for this now. More about this here: https://azure.microsoft.com/en-us/blog/azure-mobile-apps-november-2015-update/

+2
source

Source: https://habr.com/ru/post/987091/


All Articles