简体   繁体   中英

Azure AD B2C passwordless sign in custom Policy

My organization needs passwordless with email authentication in sign in. That mean user just needs to enter an email, then the system will send the one time passcode into that email & let user sign in. I tried this sample & it works for me. what I want to customize is,in sign in page i want only login with email option to be there. currently it gives option to sign in with social account (facebook) . how can i disable this or remove it from login page.

Just comment this line out: https://github.com/azure-ad-b2c/samples/blob/master/policies/passwordless-email/policy/TrustFrameworkExtensions.xml#L71 .

It will remove the option of social account (facebook) login.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM