azure-ad-b2c / samples

Azure AD B2C custom policy solutions and samples.
825 stars 596 forks source link

not able to generate the QR code #161

Open rpanjwani opened 3 years ago

rpanjwani commented 3 years ago

I'm hosting the TOTP sample and connected it to my Azure B2C setup by troubleshooting and following the minimal documentation here. I can't get the QR code to show up when the page is rendered by AD B2C on the user signup_signin journey. Not sure if this is a technical issue, or documentation needs to be vastly improved so it can make sense.

JasSuri commented 3 years ago

Is javascript enabled in the relying party file?

rpanjwani commented 3 years ago

yep, i've enabled it and my policies are set up pretty close to what's in the repo. Is there anything additional that needs to be done?

JasSuri commented 3 years ago

Are you referencing this html template in the content definition? https://github.com/azure-ad-b2c/samples/blob/master/policies/custom-mfa-totp/source-code/AADB2C.MFA.TOTP/wwwroot/selfasserted-appfactor-registration.html

rpanjwani commented 3 years ago

yep, it's hosted here along with the service as is: https://samples318f.azurewebsites.net/selfasserted-appfactor-registration.html

rpanjwani commented 3 years ago

i've followed all the instructions including setting the two custom attributes