Replies: 1 comment 1 reply
-
I'm not clear whether you are doing this is code of your own, or if your comment refers to this line in the source of the SQLTools extension:
I assume when you use the Edit Connection option from the context menu of your connection definition in the SQLTools Connections tree. then the Use password field is set to SQLTools Driver Credentials Does your VS Code Accounts menu (from the person icon near the bottom of Activity Bar) show any entries ending in The first popup is informing you that the PostgeSQL/Cockroach driver wants to use the authentication provider that the main SQLTools extension implements. When you enter your password at the second prompt are you clicking the key icon in order to save the password? Or are you simply pressing Enter? If you do not use the key icon at this point then I would expect you to get both prompts again if you close/reopen your VS Code window, or run the If you do use the key icon I wouldn't expect either prompt to reappear unless you use the Sign Out option from the corresponding entry on the Accounts menu of VS Code. |
Beta Was this translation helpful? Give feedback.
-
While programmatically connecting to the database using the method:
conn = await this._setConnection(conn as IConnection).catch(e => this.errorHandler('Error opening connection', e));
a pop-up frequently appears:
'The extension "SQLTools PostgreSQL/Cockroach Driver" wants to sign in using SQLTools Driver Credentials.'
After allowing, another prompt requests the password:
"Optionally use the key button to store the password securely until you sign out using the 'Accounts' menu."
Although the connection to the database succeeds, this behavior is inconsistent.
Key Questions to Address:
Clear insights and resolution steps are required to eliminate these disruptions.
Beta Was this translation helpful? Give feedback.
All reactions