From fc8709bc4b1949c98d4c19930a866febff6c2153 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 5 Jan 2025 13:49:13 -0700 Subject: [PATCH] Fix typo --- app/Auth/BearerTokenResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Auth/BearerTokenResponse.php b/app/Auth/BearerTokenResponse.php index c9dc0a602..85050629d 100644 --- a/app/Auth/BearerTokenResponse.php +++ b/app/Auth/BearerTokenResponse.php @@ -17,7 +17,7 @@ class BearerTokenResponse extends \League\OAuth2\Server\ResponseTypes\BearerToke protected function getExtraParams(AccessTokenEntityInterface $accessToken) { return [ - 'scopes' => array_map(fn ($scope) => $scope->getIdentifier(), $accessToken->getScopes()), + 'scope' => array_map(fn ($scope) => $scope->getIdentifier(), $accessToken->getScopes()), 'created_at' => time(), ]; }