From d7da231c87afdac1f4b3d0cee56270279d12723c Mon Sep 17 00:00:00 2001 From: sanchezvem Date: Mon, 13 Oct 2025 19:29:28 +0100 Subject: [PATCH] Change the key in Program.cs --- ApiEfCoreLibrary/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApiEfCoreLibrary/Program.cs b/ApiEfCoreLibrary/Program.cs index 012e0dc..1083e37 100644 --- a/ApiEfCoreLibrary/Program.cs +++ b/ApiEfCoreLibrary/Program.cs @@ -7,7 +7,7 @@ WebApplicationBuilder builder = WebApplication.CreateBuilder(args); // On ajoute ici FastEndpoints, un framework REPR et Swagger aux services disponibles dans le projet builder.Services - .AddAuthenticationJwtBearer(s => s.SigningKey = "The secret used to sign tokens") + .AddAuthenticationJwtBearer(s => s.SigningKey = "ThisIsASuperSecretJwtKeyThatIsAtLeast32CharsLong") .AddAuthorization() .AddFastEndpoints() .SwaggerDocument();