Dex: readable page when a GitHub sign-in is refused
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 66/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- github, python
- Domain
- authentication, frontend
Research direction
Read docs/setup/github-oauth-app.md and check the Dex v2.46.0 frontend template configuration, especially frontend.dir and the stock templates. Determine the smallest supported way to override error.html while keeping the rest of the frontend stock. Done when the stated GitHub refusal and both likely causes appear with the setup guide link, and the uninstalled-app sign-in shows the custom page instead of a generic 500.
Written by the indexing model from the issue text.
Description
Follow-up to #433/#436. When the GitHub connector refuses a login (app not installed on the org, or the user in no mapped team), Dex renders its own error page:
Internal Server Error — Authentication failed. Please contact your administrator or try again later.
The browser never returns to oauth2-proxy, so #436's perimeter error page does not appear. The cause is only in the Dex log: user not in org or application not authorized to read org data.
Fix: give Dex a custom error.html, either through frontend.dir with the default templates plus an override, or the smallest supported mechanism in v2.46.0. Show:
- that sign-in was refused by the GitHub check;
- the two likely causes (GitHub App not installed on
<org>, not in a mapped team); - a link to
docs/setup/github-oauth-app.md.
Keep everything else the stock Dex frontend.
Acceptance: signing in with the app not installed shows that page, not the generic 500.
🤖 Generated with Claude Code
- Dominant language
- Python
- Stars
- 26
- Forks
- 6
- Avg merge
- 12h 26m
- Merged PRs (30d)
- 162
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from OpenLakeForge/openlakeforge
-
bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
OpenLakeForge/openlakeforge#498 ·
Maintainers usually reply within 1 day
-
bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
OpenLakeForge/openlakeforge#497 ·
Maintainers usually reply within 1 day
-
feat(cli): export `olf query` output directly to a filePossibly taken @dbdefault claimed this today. Openenhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OpenLakeForge/openlakeforge#494 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
OpenLakeForge/openlakeforge#488 ·
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OpenLakeForge/openlakeforge#487 ·
Maintainers usually reply within 1 day
All issues in OpenLakeForge/openlakeforge
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
fossasia/visdom-dev#69 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
BUG: PROD: v1.3.0-beta Onboarding Profile Picture Misaligns When Name Validation Error AppearsPossibly taken @RitikaSen27 claimed this today. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
AOSSIE-Org/PictoPy#1647 · 2 comments ·
Maintainers usually reply within 2 days
-
[oblt-aw][autodoc] Update workflow docs for gh-aw v0.92.5 and detector permission scopePossibly taken @github-actions claimed this today. Open
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day