PeterStaev / nativescript-azure-mobile-apps

:cloud: NativeScript plugin for working with Microsoft Azure Mobile Apps services
Apache License 2.0
30 stars 10 forks source link

Azure B2C Authentication #27

Closed johny8228 closed 6 years ago

johny8228 commented 6 years ago

Hi,

does this plugin works with Azure B2C authentication as well?

Thanks, Johnny

PeterStaev commented 6 years ago

Hey @johny8228 , I haven't personally tried it but from what I see the plugin should support Server managed B2C authentication as explained here: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/data-cloud/authentication/azure-ad-b2c-mobile-app#server-managed-authentication

You just have to use the Azure Active Directory provider as shown in this snippet: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/data-cloud/authentication/azure-ad-b2c-mobile-app#server-managed-authentication

Also make sure you make all the required changes and settings in the Azure Portal as explained in the article.

Feel free to try it out and report back if it works or not 😉

johny8228 commented 6 years ago

@PeterStaev thank you for your answer, much appreciated.So the Client-managed authentication it is not supported by this plugin, since I was looking more into this, through Server based authentication I basicly wrap the B2C authentication in an webservice.

PeterStaev commented 6 years ago

That is correct.

PeterStaev commented 6 years ago

No further response so closing this one for now.