Page MenuHomePhabricator

First-time Wikipedia Library users can't login
Closed, ResolvedPublic

Description

Per https://en.wikipedia.org/wiki/Wikipedia_talk:The_Wikipedia_Library#Can't_login, and my own brief test with a test account, it looks like new users cannot login to The Wikipedia Library.

Clicking Log in took me to Meta login, then OAuth approval, I clicked Approve, and then I got a Bad Request error. Once I was logged in on Meta, clicking Log in on the home page simply reloads the page.

Event Timeline

Kgraessle changed the task status from Open to In Progress.Jan 16 2025, 2:45 PM
Kgraessle claimed this task.
Kgraessle moved this task from Ready to In Progress on the Moderator-Tools-Team (Kanban) board.

It looks like we have to cast the self.wp_sub to int as well in the Editor.check_sub method.

Kgraessle moved this task from In Progress to Eng review on the Moderator-Tools-Team (Kanban) board.
Kgraessle subscribed.

@Scardenasmolinar Thanks I'll take a look at your PR! I haven't gotten far on this due to meetings all AM.

jsn.sherman moved this task from Eng review to Done on the Moderator-Tools-Team (Kanban) board.
jsn.sherman subscribed.

Merged and deployed https://github.com/WikipediaLibrary/TWLight/pull/1409
Verified fixed in production