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
The sample for psycopg 3 generates a token on every connection attempt. It should also show how to create a ConnectionPool that works with token refresh.
A caveat: psycopg/psycopg#851 indicates the entire connection pool must be recreated to update the connection string. There's agreement that credentials should be refreshed without recreating the pool work hasn't been started.