[go: up one dir, main page]

Page MenuHomePhabricator

Speed up login
Open, Needs TriagePublic

Description

Investigate if logging in via the API and injecting the cookie in the browser would work. For more information see 698467.

I think Ruby framework had a similar feature.

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptJun 8 2021, 1:43 PM
zeljkofilipin changed the task status from Open to In Progress.Dec 9 2022, 3:12 PM
zeljkofilipin claimed this task.
zeljkofilipin triaged this task as Medium priority.

Change 866606 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/core@master] WIP: selenium: Speed up login

https://gerrit.wikimedia.org/r/866606

If you really want to speed up login, you could just define a custom authentication provider where you can set the name of the user in a cookie and the system automatically considers you as being logged in via that cookie. No extra login/logout actions required.

@Tgr I don't know how to do that. ๐Ÿ˜… Could you please submit a sample patch, or point me to documentation? Would that work on a public wiki, like the beta cluster or test2?

I really do want to speed up login. We have a test that checks that login works, I only want to login that one time. The rest of the tests can assume the login works, so any shortcut would be welcome.

zeljkofilipin changed the task status from In Progress to Open.Dec 15 2022, 11:52 AM
zeljkofilipin removed zeljkofilipin as the assignee of this task.
zeljkofilipin lowered the priority of this task from Medium to Low.
zeljkofilipin raised the priority of this task from Low to Needs Triage.Feb 22 2023, 5:47 PM
zeljkofilipin moved this task from Q1 ๐Ÿ‘” to Backlog ๐Ÿช’ on the User-zeljkofilipin board.

Change 866606 abandoned by Zfilipin:

[mediawiki/core@master] WIP selenium: Speed up login

Reason:

https://gerrit.wikimedia.org/r/866606