Skip to content

Commit 445aef3

Browse files
authored
Merge pull request #722 from joaopatrocinio/patch-1
Error: Supplied key param cannot be coerced into a public key
2 parents 39e565c + 02b911d commit 445aef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)