I am able to connect to Azure B2C using AppAuth but that uses support libraries on Android. So I am looking for a way to connect to Azure B2C using MSAL 1.0.0 library. I don't see any clear solution to achieve this.
Here is an sample which integrate Azure AD B2C into an Android App Using MSAL.
Code Snapshot
PublicClientApplication pApp = new PublicClientApplication(
this.getApplicationContext(),
Constants.CLIENT_ID,
String.format(Constants.AUTHORITY, Constants.TENANT, Constants.SISU_POLICY));
pApp.acquireToken(getActivity(), scopes, getAuthInteractiveCallback());
// ...
authenticationResult.getAccessToken();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.