You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of just using the access_token to make requests (it only lasts 10 minutes), use the refresh_token to generate an access token. A reasonable naive solution would be to do this right before creating a handle / issuing a query. Once a connection is open, it should be available for the normal amount of time (4 hours?)
If snowflake returns an error specifically saying that the refresh token is expired, it would be nice if dbt could return that error so that cloud could consume it
The text was updated successfully, but these errors were encountered:
Instead of just using the
access_token
to make requests (it only lasts 10 minutes), use therefresh_token
to generate an access token. A reasonable naive solution would be to do this right before creating a handle / issuing a query. Once a connection is open, it should be available for the normal amount of time (4 hours?)If snowflake returns an error specifically saying that the refresh token is expired, it would be nice if dbt could return that error so that cloud could consume it
The text was updated successfully, but these errors were encountered: