Dmitry Kandalov
12/04/2024, 10:49 AMexpiry = it.expiresIn?.let { clock.instant().plusSeconds(it) } ?: MAX
here https://github.com/http4k/http4k/blob/249ad0c727f5f1cabae0b4d2c22af999a532722a/cor[…]tlin/org/http4k/security/oauth/client/clientFilterExtensions.ktdave
12/04/2024, 10:58 AMexpires_in (recommended) If the access token expires, the server should reply with the duration of time the access token is granted for.
Whilst recommending best practices, I don't think we can legitmately just make up a value here - we're trying to be unopinionated in the code except for following the specDmitry Kandalov
12/04/2024, 12:01 PMdave
12/04/2024, 12:02 PMDmitry Kandalov
12/04/2024, 12:03 PMdave
12/04/2024, 12:05 PM