Page MenuHomePhabricator

Add next parameter to InvalidOauth provider
Closed, ResolvedPublic



If your oauth token is invalid for any reason, Tracker forces you to reconnect your account to the OAuth provider (MediaWiki installation). However, Tracker will forget which page you were at previously, and redirects you to mainpage. That means you have to go wherever you were yourself again.

Proposed solution

Change InvalidOauth middleware to pass next parameter with the URL Tracker should redirect to.

Student is expected to send a patch for wikimedia-cz/tracker repository, hosted at Wikimedia Gerrit. When claiming task on GCI website, student should claim a respective Phabricator task as well.


Event Timeline

BubblySprout added a subscriber: BubblySprout.

Claiming task for GCI 2019

Change 563247 had a related patch set uploaded (by IAmNetx; owner: IAmNetx):
[wikimedia-cz/tracker@master] Add next parameter to InvalidOAuth provider

Change 563247 merged by jenkins-bot:
[wikimedia-cz/tracker@master] Add next parameter to InvalidOAuth provider