Login button on /login does not respond to clicks (form.requestSubmit() works)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 44/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- authentication, frontend
Research direction
The issue identifies a form and an ia-button class="submit-btn" inside nested shadow roots under app-root and login-page, but gives no source files or tests. Start by tracing the login page component and how its submit button handles clicks, then reproduce the failure in Firefox. Done means clicking Log in submits valid credentials and produces the expected login behavior.
Written by the indexing model from the issue text.
Description
Problem
The “Log in” button on [archive.org/login](https://archive.org/login) does nothing when clicked. The form is valid and can be submitted programmatically, but the button’s click handler never fires. Console shows multiple Google Sign-In / CSP / CORS errors on page load that appear related.
Reproducing the bug
- Go to [archive.org/login](https://archive.org/login)
- Enter a valid email and password
- Click the “Log in” button
- Expected behavior: Form submits and the user is logged in
- Actual behavior: Nothing happens. No network request, no error message
Workaround that succeeds in the console:
document.querySelector('app-root').shadowRoot
.querySelector('login-page').shadowRoot
.querySelector('form')
.requestSubmit();
Calling .click() on the ia-button class="submit-btn" also does nothing.
Context
- Browser (Chrome, Safari, Firefox, etc): Firefox
- OS (Windows, Mac, etc): Windows
- Logged in (Y/N): N
- Environment (prod, dev, local): prod
Relevant console errors on load include CSP blocks on inline scripts, google.accounts.id.initialize() called multiple times, CORS failures to play.google.com/log, and MIME-type issues from apollo.archive.org. The button is an ia-button class="submit-btn" inside nested shadow roots under app-root, login-page.
Breakdown
Implementation Details (for maintainers)
Requirements Checklist
Related files
Stakeholders
Instructions for Contributors
- Please run these commands to ensure your repository is up to date before creating a new branch to work on this issue and each time after pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.
- Dominant language
- Python
- Stars
- 7k
- Forks
- 2.1k
- Avg merge
- 22h 25m
- Merged PRs (30d)
- 384
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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 internetarchive/openlibrary
-
Speed up cover-archival re-runs: skip already-finished batches with a start_idPossibly taken @openlibrary-bot claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
internetarchive/openlibrary#14894 ·
Maintainers usually reply within 1 day
-
Affects: Data Module: Import Needs: Lead Needs: Triage Theme: Identifiers
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
internetarchive/openlibrary#14882 · 3 comments ·
Maintainers usually reply within 1 day
-
bug: GET /merges?mode=all returns 500 (KeyError: 'all' in merge_request_table.html)Possibly taken @iykyk-vedant claimed this 4 days ago. OpenLead: @mekarpeles Module: Merging Needs: Response
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
internetarchive/openlibrary#14780 · 3 comments ·
Maintainers usually reply within 1 day
-
Bulk Search progress cards have uneven heightsPossibly taken @shloksangwan claimed this 8 days ago. OpenAffects: UI Lead: @lokesh Module: Bulk Search Module: CSS Priority: 4
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
internetarchive/openlibrary#14669 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Affects: Server Lead: @RayBB Needs: Staff Decision Priority: 3 Type: Refactor/Clean-up
Difficulty 1/5 Under an hour Newbie friendliness 78/100
internetarchive/openlibrary#14570 · 2 comments ·
Maintainers usually reply within 1 day
All issues in internetarchive/openlibrary
Similar issues
-
[Bug]: streaming_end_of_stream_only guardrails rescan the whole stream on every chunk - blocks event loopPossibly taken A pull request linked to this issue is open or already merged. Openbug llm translation
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
arith ascend bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
tile-ai/tilelang#5173 · 2 comments · 1 reaction ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lanl/text-fetch#92 ·
Maintainers usually reply within 1 day
-
kind: for-triage
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
monumental-archive/.github#2284 ·
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
TanbirRamim/open-source-radar#761 ·
Maintainers usually reply within 1 day