azure active directory - How to implement ADAL library in iOS to authenticate the user on AD B2C -


i'm trying integrate adal library in ios native app authenticate user on ad b2c passing username , password. i'm able authenticate user on ad using adal4j library in android app.

sample code:

executorservice service = executors.newfixedthreadpool(1); authenticationcontext  context = new authenticationcontext('https://login.windows.net/'+tenant, false, service);                future<authenticationresult> future = context.acquiretoken(                        resource, clientid, username, password,                        null);                result = future.get(); 

how can achieve same in ios? can please assist me on this?

at present, azure b2c doesn't support resource owner password credentials flow.

however, microsoft development team working on feature , may update on summer 2017(refer here).

and adal4j library works azure b2c tenant when use authorization code grant flow interact azure b2c active directory.


Comments