pgadmin-org / pgadmin-org/pgadmin4

Add auto-redirect to provider / Disable Login Screen / Form

Open
#9,975 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

Describe the solution you'd like

If an external provider was set for authentication, and the local auth is disabled, the login form is still showed.
It could be interesting to implement a new environment / config variable to disable the login form and redirect automatically to the provider thanks to the informations added in the PGADMIN_CONFIG_OAUTH2_CONFIG environment variable or the config.py

Contributor guide

Open the contributing guide

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

Start by reading config.py and the PGADMIN_CONFIG_OAUTH2_CONFIG configuration path to understand how external providers and local authentication are represented. Trace the login entry point that displays the form, then define how the new setting should select a provider and redirect when local authentication is disabled. Done means the configured behavior is documented and the login form is bypassed only under the requested conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.