Closed eluhr closed 5 months ago
With this pull request I have added a new Auth Client for Keycloak. Here is an example of how it can be configured:
// ... 'components' => [ // ... 'authClientCollection' => [ 'class' => 'yii\authclient\Collection', 'clients' => [ 'facebook' => [ 'class' => 'Da\User\AuthClient\Keycloak', 'clientId' => 'keycloak_client_id', 'clientSecret' => 'keycloak_client_secret', 'issuerUrl' => 'http://keycloak/realms/your-realm' ] ] ] ]
If you don't mind, I'd add the configuration example in the class comments itself, to avoid having it lost in this PR
I've just added it
With this pull request I have added a new Auth Client for Keycloak. Here is an example of how it can be configured: