Azure-Samples / ms-identity-python-webapp

A Python web application calling Microsoft graph that is secured using the Microsoft identity platform
MIT License
291 stars 138 forks source link

Remove placeholder scopes in B2C config #31

Closed rayluo closed 4 years ago

rayluo commented 4 years ago

Quoted from #29:

in the current sample, if a developer updates just the CLIENT_ID in app_config.py (after renaming it from app_config_b2c.py, of course), several errors occur when navigating to the application and attempting to sign in, and the experience is busted.

That is because our placeholder B2C api scopes mismatch the actual scopes the customer has setup.

This is a short term workaround for #29, by not attempting to require consent for non-exist scopes during initial login.