79700: specs for modal, auth check for idleness tracking & stop blocking at token success

This commit is contained in:
Marie Verdonck
2021-06-03 14:29:50 +02:00
parent 38387d1a0f
commit e88baa1995
6 changed files with 151 additions and 18 deletions

View File

@@ -48,17 +48,16 @@ export const environment: GlobalConfig = {
ui: {
// the amount of time before the idle warning is shown
// timeUntilIdle: 15 * 60 * 1000, // 15 minutes
timeUntilIdle: 1 * 60 * 1000, // 1 minutes
timeUntilIdle: 30 * 1000, // 30 seconds
// the amount of time the user has to react after the idle warning is shown before they are logged out.
// idleGracePeriod: 5 * 60 * 1000, // 5 minutes
idleGracePeriod: 1 * 60 * 1000, // 1 minutes
idleGracePeriod: 1 * 60 * 1000, // 1 minute
},
// Authority REST settings
rest: {
// If the rest token expires in less than this amount of time, it will be refreshed automatically.
// This is independent from the idle warning.
// timeLeftBeforeTokenRefresh: 2 * 60 * 1000, // 2 minutes
timeLeftBeforeTokenRefresh: 0.25 * 60 * 1000, // 25 seconds
timeLeftBeforeTokenRefresh: 2 * 60 * 1000, // 2 minutes
},
},
// Form settings