botauth icon indicating copy to clipboard operation
botauth copied to clipboard

Doesn't support setting B2C policy

Open richardjharding opened this issue 7 years ago • 0 comments

I'm not sure if this lib is intended to work with Azure AD B2C but currently it does not support using it with a policy specified

It seems the underlying passport-azure-ad lib does support B2C but the button url generated does not include a policy parameter or a means in the options to specify one which means that the passport-azure-ad throws an error - see oidcstrategy.js

There needs to be some way to pass the policy as part of the options so that the button url can be created correctly

richardjharding avatar Sep 01 '17 09:09 richardjharding