Skip to content

Commit

Permalink
Merge pull request #10 from vinz2018/master
Browse files Browse the repository at this point in the history
Fix "client id" key provided by keycloak
  • Loading branch information
BeBlood authored Dec 5, 2019
2 parents 85bb048 + 195d773 commit baf87a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Security/User/KeycloakBearerUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function loadUserByUsername($accessToken): UserInterface
}

return new KeycloakBearerUser(
$jwt['clientId'],
$jwt['client_id'],
$jwt['resource_access'][$provider->getClientId()]['roles'],
$accessToken
);
Expand Down

0 comments on commit baf87a5

Please sign in to comment.