From 6d72b5ad061d3fd4b18994b4c3c0301f0473e0ac Mon Sep 17 00:00:00 2001 From: dype35 Date: Fri, 14 Mar 2025 15:16:03 +0100 Subject: [PATCH] correct the secretKey filename in getAuthenticationService function it the jwt.key file instead of jwt.pem --- docs/en/authenticators.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/authenticators.rst b/docs/en/authenticators.rst index 14cf234d..dd4f5d76 100644 --- a/docs/en/authenticators.rst +++ b/docs/en/authenticators.rst @@ -141,7 +141,7 @@ Add the following to your ``Application`` class:: // ... $service->loadIdentifier('Authentication.JwtSubject'); $service->loadAuthenticator('Authentication.Jwt', [ - 'secretKey' => file_get_contents(CONFIG . '/jwt.pem'), + 'secretKey' => file_get_contents(CONFIG . '/jwt.key'), 'algorithm' => 'RS256', 'returnPayload' => false ]);