Currently, it seems the expires value is not passed within the OAuth2 created token, which in turn makes it impossible to rely on the token.expired() mechanic to handle refreshes.
It is unclear to me if that happen only when reloading the token from the Session or all the time, the case I fixed on my end was from loading an already existing session.
Currently, it seems the expires value is not passed within the OAuth2 created token, which in turn makes it impossible to rely on the
token.expired()
mechanic to handle refreshes.It is unclear to me if that happen only when reloading the token from the Session or all the time, the case I fixed on my end was from loading an already existing session.