Ilia Reingold
11/14/2021, 9:49 PMconst auth = new Auth(this, 'Auth', { tokenDuration: '1 day' )}
From my understanding the default is 1 hour but can go as high as one day.Brinsley
11/15/2021, 10:13 AMnew Auth(this, "user-auth", {
cognito: {
userPoolClient: {
accessTokenValidity: Duration.minutes(5),
},
}
});