Skip to content

Commit 02b911d

Browse files
Update authenticators.rst
The secretKey in loadAuthenticator should be the public key (jwt.pem).
1 parent 39e565c commit 02b911d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/en/authenticators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Add the following to your ``Application`` class::
141141
// ...
142142
$service->loadIdentifier('Authentication.JwtSubject');
143143
$service->loadAuthenticator('Authentication.Jwt', [
144-
'secretKey' => file_get_contents(CONFIG . '/jwt.key'),
144+
'secretKey' => file_get_contents(CONFIG . '/jwt.pem'),
145145
'algorithm' => 'RS256',
146146
'returnPayload' => false
147147
]);

0 commit comments

Comments
 (0)