Update expire on JWT to be official lease
Docker Build and Release Upload / build (push) Successful in 1m22s
Docker Build and Release Upload / build (push) Successful in 1m22s
This commit is contained in:
@@ -37,7 +37,7 @@ namespace Auth.Services {
|
||||
new Claim(ClaimTypes.Dns, RequestedSite),
|
||||
new Claim(ClaimTypes.IsPersistent, StayLoggedIn.ToString()),
|
||||
]),
|
||||
Expires = DateTime.UtcNow.AddMinutes(5),
|
||||
Expires = DateTime.UtcNow.AddDays(7),
|
||||
IssuedAt = DateTime.UtcNow,
|
||||
SigningCredentials = new SigningCredentials(RsaPrivateKey, SecurityAlgorithms.RsaSha256),
|
||||
Audience = TokenAudience,
|
||||
|
||||
Reference in New Issue
Block a user