Skip to content

Commit

Permalink
Increased the expiration date of the JWT token to 50 years
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLazarescu committed Jan 13, 2024
1 parent de3d1d9 commit 2fcb9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application/Managers/AuthenticationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private JwtSecurityToken GenerateTokenOptions(SigningCredentials signingCredenti
issuer: _configuration["JWTValidIssuer"],
audience: "librumapi",
claims: claims,
expires: DateTime.Now.AddMonths(2),
expires: DateTime.Now.AddYears(50),
signingCredentials: signingCredentials
);

Expand Down

0 comments on commit 2fcb9ad

Please sign in to comment.