We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5039390 commit c568af5Copy full SHA for c568af5
src/Services/AuthenticationService.php
@@ -105,7 +105,12 @@ public function getAuthenticateUser(
105
if (!array_key_exists($this->userIdAttr, $claims) || !is_array($claims[$this->userIdAttr])) {
106
$attr = implode(', ', array_keys($claims));
107
throw new Error\Exception(
108
- 'Attribute `useridattr` doesn\'t exists in claims. Available attributes are: ' . $attr,
+ sprintf(
109
+ 'User identifier attribute `%s` does not exist in the user attribute state.' .
110
+ ' Available attributes are: %s.',
111
+ $this->userIdAttr,
112
+ $attr,
113
+ ),
114
);
115
}
116
0 commit comments