const config = {
issuer:
'https://zoomonlineb2c.b2clogin.com/zoomonlineb2c.onmicrosoft.com/B2C_1_MobileSignup_in/v2.0',
clientId: '83c5579e-d55b-4647-8c93-b66ee2961f49',
redirectUrl:
'com.ztg.zoomonline://com.ztg.zoomonline/android/callback/', // the redirectUrl must end with a slash
scopes: ['openid', 'offline_access'],
};
const auth = await authorize(config);
console.log('auth :>> ', auth);
Need to handle the azure ad b2c in react native
Posting my comments as an answer benefits the community.
According to this GitHub document, we can implement MSAL Azure AD B2C in React Native.
Code :
Login.js :
Logout.js :