1 Commits
2.0 ... v1.1.1

Author SHA1 Message Date
El. Abdellah
764736c493 remove /auth from Keycloak token URL 2022-04-22 11:58:12 +02:00

View File

@@ -67,7 +67,7 @@ class KeycloakBearerUserProvider implements UserProviderInterface
'base_uri' => $this->issuer, 'base_uri' => $this->issuer,
]); ]);
$response = $client->post('/auth/realms/'.$this->realm.'/protocol/openid-connect/token/introspect', [ $response = $client->post('/realms/'.$this->realm.'/protocol/openid-connect/token/introspect', [
'auth' => [$this->client_id, $this->client_secret], 'auth' => [$this->client_id, $this->client_secret],
'form_params' => [ 'form_params' => [
'token' => $accessToken, 'token' => $accessToken,