diff --git a/oauth/src/main/kotlin/com/example/InMemoryOAuthPersistence.kt b/oauth/src/main/kotlin/com/example/InMemoryOAuthPersistence.kt index e50b700..8178c88 100644 --- a/oauth/src/main/kotlin/com/example/InMemoryOAuthPersistence.kt +++ b/oauth/src/main/kotlin/com/example/InMemoryOAuthPersistence.kt @@ -73,6 +73,6 @@ class InMemoryOAuthPersistence(private val clock: Clock) : OAuthPersistence { private fun expiring(name: String, value: String) = Cookie( name, value, path = "/", - expires = clock.instant() + expires = clock.instant().plusSeconds(900) ) }