Use OAuth2
Use other OAuth2 providers for authentication.
PHPMaker uses [HWIOAuthBundle](https://github.com/hwi/HWIOAuthBundle) to add support for authenticating users via OAuth1.0a or OAuth2 in Symfony.This bundle contains support for 58 different providers, if you don't use Google/Facebook/Microsoft but use other providers, you can enable this setting so the required code (e.g. add the bundle "hwi/oauth-bundle" in composer.json, enable the bundle in Symfony, add routing, etc.) will be generated. However, you need to set up the configuration for other providers yourself:
1. Add your configuration for the provider to `Config('HWI_OAUTH.resource_owners')`, see [Configuring resource owners](https://github.com/hwi/HWIOAuthBundle/blob/master/docs/2-configuring_resource_owners.md) for details.
1. Add the login checking route for the provider under `Config('SECURITY.firewall.main.oauth.resource_owner')`.
1. Setup the `color` (for displaying the login link in the login page) and the `identifyingAttribute` (for finding the user in the user table) for the provider under `Config('EXTERNAL_LOGIN_PROVIDERS')`.
You can enable one of the supported provider (e.g. Google), generate scripts, and see the generated _src/config.php_ as example.