Azure Cordova Plugin with Azure AD B2C -


i'm developing cordova app , looking solution log in users azure ad b2c. azure cordova plugin not show option connect azure ad b2c.

i tested adal plugin doesn't work.

context.tokencache.readitems().then(function (items) {         if (items.length > 0) {             authority = items[0].authority;             context = new microsoft.adal.authenticationcontext(authority);         }         // attempt authorize user silently         context.acquiretokensilentasync(resourceuri, clientid)             .then(authcompletedcallback, function () {                 // require user credentials, triggers authentication dialog box                 context.acquiretokenasync(resourceuri, clientid, redirecturi)                     .then(authcompletedcallback, function (err) {                         alert("failed authenticate: " + err);                     });             });     }); 

my authority : https://login.microsoftonline.com/tfp/[mytenant].onmicrosoft.com/b2c_1_signuporsignin

the login page not show have à server error, 404 not found. (i have same if click on url).

edit : 20170912

before using authority : 'login.microsoftonline.com/[mytenant].onmicrosoft.com' indicated in doc

and login page login page of azure ad , not azure adb2c.

now have changed autority 'login.microsoftonline.com/tfp/[mytenant].onmicrosoft.com/b2c_1_signuporsignin'

and login page 404. picture


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -