microsoft / microsoft/vscode-pgsql

Improve EntraId auth error message

Open
#57 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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:

  1. Try connecting using Browse Azure to PG server with Password auth enabled only but using EntraId auth.
  2. See error below

Image

Expected behavior

  1. 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.
  2. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.