We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b69583a + c568af5 commit b3e55c6Copy full SHA for b3e55c6
src/Services/AuthenticationService.php
@@ -137,7 +137,12 @@ public function getAuthenticateUser(
137
if (!array_key_exists($this->userIdAttr, $claims) || !is_array($claims[$this->userIdAttr])) {
138
$attr = implode(', ', array_keys($claims));
139
throw new Error\Exception(
140
- 'Attribute `useridattr` doesn\'t exists in claims. Available attributes are: ' . $attr,
+ sprintf(
141
+ 'User identifier attribute `%s` does not exist in the user attribute state.' .
142
+ ' Available attributes are: %s.',
143
+ $this->userIdAttr,
144
+ $attr,
145
+ ),
146
);
147
}
148
0 commit comments