You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -57,12 +56,7 @@ public function loadUserByUsername($accessToken): UserInterface
57
56
}
58
57
59
58
if (!isset($jwt['resource_access'][$provider->getClientId()])) {
60
-
thrownew \UnexpectedValueException(sprintf(
61
-
'The token does not have the necessary permissions. Configure roles in the client \'%s\' of the realm \'%s\' and associate them with the user \'%s\'',
62
-
$provider->getClientId(),
63
-
$provider->realm,
64
-
$jwt['username']
65
-
));
59
+
thrownew \UnexpectedValueException(sprintf('The token does not have the necessary permissions. Configure roles in the client \'%s\' of the realm \'%s\' and associate them with the user \'%s\'', $provider->getClientId(), $provider->realm, $jwt['username']));
0 commit comments