microsoft / microsoft/vscode-pgsql
Improve EntraId auth error message
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 395
- Forks
- 33
- Avg merge
- 1h 46m
- Merged PRs (30d)
- 3
Description
When connecting through 'Browse Azure' option, if Postgres server doesn't habe EntraId auth enabled the experience and error message are misleading. Need improvement in both.
To Reproduce
Steps to reproduce the behavior:
- Try connecting using Browse Azure to PG server with Password auth enabled only but using EntraId auth.
- See error below
Expected behavior
- First, when selecting EntraId auth option in the connection dialog, that option should show small errorboc saying that the server does not have EntraId auth enabled.
- Second, even if the connection attempt is made, the error message should clearly show that EntraId is not supported by the server.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure from Browse Azure using a PostgreSQL server with only password authentication enabled, then inspect the connection dialog and connection error handling entry points. Done means the EntraId option shows an inline explanation before connecting and a failed attempt clearly states that the server does not support EntraId authentication.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, postgresql, vscode
- Domain
- authentication, database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100