Description
Describe what problem your feature request solves
Add ability to use multiple passport connectors, such as Azure AD.
Describe the solution you'd like
I'd like to add the Azure AD Passport connector for authentication/authorization. I think it would make the most sense to have this be enabled via configuration, and also allow for multiple passport strategies. For example: export PASSPORT_STRATEGIES="['github', 'azuread-openidconnect']"
or export PASSPORT_STRATEGIES="['github']"
This would open up the possibility of adding other passport strategies/connectors in the future.
Additional context
Some questions I have:
- Because Azure AD requires a bunch more config options, would it make sense to implement something like dotenv to make configuration a bit easier?
- If so, should that be a separate feature / PR to keep the scope somewhat limited?
- Does it make sense to restructure how the passport authentication is configured to make it easier to add other authentication types in the future?
I'm eager to add this functionality, but wanted to see if it's a desired feature, and what the appetite is as far as the size and scope of pull requests.