Skip to content

Commit

Permalink
Merge pull request #2 from ntidev/fix-version
Browse files Browse the repository at this point in the history
Fix version
  • Loading branch information
angelbencosme authored Feb 15, 2022
2 parents 461f01c + 2151ace commit 85835de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Provider/Keycloak.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ public function getClientSecret()

protected function getDefaultScopes(): array
{
return ['name', 'email'];
//These paramaters are sent as 1 element of the array instead of multiple to avoid problems with the getSeparatorFunction in the league/oauth2-client library separating the scopes by a comma.
return ['openid email'];
}

protected function checkResponse(ResponseInterface $response, $data)
Expand Down

0 comments on commit 85835de

Please sign in to comment.