microsoftarchive/botauth

Doesn't support setting B2C policy

Opened this issue · 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