Added refresh token endpoint

This commit is contained in:
2026-05-28 14:05:47 +01:00
parent 76239b41bd
commit fc9da89ebe
5 changed files with 76 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ QuestPDF.Settings.License = LicenseType.Community;
// On ajoute ici FastEndpoints, un framework REPR et Swagger aux services disponibles dans le projet
builder.Services
.AddAuthenticationJwtBearer(s => s.SigningKey = "ThisIsASuperSecretJwtKeyThatIsAtLeast32CharsLong")
.AddAuthenticationJwtBearer(s => s.SigningKey = "v9!Qx7#Lk2@pZ8$wR6!tN5%uF3&cD9^mH1*eY4")
.AddAuthorization()
.AddFastEndpoints()
.SwaggerDocument(options => { options.ShortSchemaNames = true; })