Skip to content

Commit f921056

Browse files
committed
Fix param for JWT decode
1 parent bc4d91f commit f921056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiInitializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function getAuthenticationService(): AuthenticationService
5454
'header' => 'Authorization',
5555
'queryParam' => 'token',
5656
'tokenPrefix' => 'bearer',
57-
'algorithms' => 'HS512',
57+
'algorithm' => 'HS512',
5858
'returnPayload' => false,
5959
'secretKey' => Configure::read('Api.Jwt.AccessToken.secret'),
6060
]);

0 commit comments

Comments
 (0)