When we do an OAuth Flow, we get hold off an access token and a refresh token. Access tokens are short lived and when configured for snowflake's token parameter, the connection succeeds.
How do I configure refresh tokens with snowflake JDBC driver, in such a way that the driver uses a refresh token to get a new access token when the old one expires?
Is this supported in Snowflake JDBC driver?
Please note that the validity of the token expires in 600 secs from the time it is generated but if the token is used within those 600 seconds to establish a session from a client, then the session will be active as per the session configuration of the account/user.community.snowflake.com/s/article/FAQs-Snowflake-OAuth