Hey! Thanks for the wonderful examples, they really were an eye opener for something I've lost some nights sleep over.
one thing I can't really get my head around is the sendRefreshToken() call in both the installCookieJWT middleware and refreshTokenPlugin schema extension. sendRefreshToken() is of course needed in refreshTokenPlugin, as otherwist the refresh token wouldn't be set at all, but do I read correctly it's set in the former as well?
More to the point, am I correct in the assumption that you extend the expiry of the refresh-token every time a new access-token is set?
Thanks in advance!
Hey! Thanks for the wonderful examples, they really were an eye opener for something I've lost some nights sleep over.
one thing I can't really get my head around is the
sendRefreshToken()call in both theinstallCookieJWTmiddleware andrefreshTokenPluginschema extension.sendRefreshToken()is of course needed inrefreshTokenPlugin, as otherwist the refresh token wouldn't be set at all, but do I read correctly it's set in the former as well?More to the point, am I correct in the assumption that you extend the expiry of the refresh-token every time a new access-token is set?
Thanks in advance!