Page MenuHomePhabricator

OATHAuth doesn't support CentralAuth
Closed, InvalidPublic

Description

Ontop of T147901, OATHAuth doesn't properly support CentralAuth

	if ( $wmgUseCentralAuth ) {
		$wgOATHAuthDatabase = 'centralauth';
	}

We use the CentralAuth DB, but we're still using the local wikis user id... Which means we'd get collisions of userids from different wikis... And you're gonna have different oathauth on different wikis... So you just log into another wiki, and bypass it

Like I say, ontop of T147901, we need to be storing globaluser.gu_id in the centralauth.oathauth_users, and then using that across the board on all logins