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.
1 parent 879df12 commit 6d83d00Copy full SHA for 6d83d00
app/code/Magento/CustomerGraphQl/Controller/HttpRequestValidator/AuthorizationRequestValidator.php
@@ -66,13 +66,13 @@ public function validate(HttpRequestInterface $request): void
66
67
$bearerToken = end($headerPieces);
68
try {
69
- $token = $this->tokenReader->read($bearerToken);
+ $token = $this->userTokenReader->read($bearerToken);
70
} catch (UserTokenException $exception) {
71
throw new GraphQlAuthenticationException(__($exception->getMessage()));
72
}
73
74
75
- $this->tokenValidator->validate($token);
+ $this->userTokenValidator->validate($token);
76
} catch (AuthorizationException $exception) {
77
78
0 commit comments