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:
1 parent
3fcfca40a8
commit
ddd1685764
1 file changed
+1
-1
@@ -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