Respect OIDC token lifetime and use refresh tokens
Currently, when a user logins with OIDC Huly issues a token to the user for an entire year. While that token is active Huly never again checks that the access token is still valid nor does it ever refresh the token. This means that even if a user is fully deleted from the idp, they would still be able to access Huly for any entire year.
Needless to say this isn't particularly secure. Respecting the OIDC token lifetime and using refresh tokens would be better.
Connected to Huly®: UBERF-16423
I proposed a fix for this in Platform-Collective/platform#133, the actively maintained continuation of this repository. Once it is merged there, this issue can be closed.