Page MenuHomePhabricator

OAuth: authorization should not fail with a new account on
Closed, DuplicatePublic


@Tgr: breaking this out from T74469.

If a user creates a new account on (and most other wikis, I assume) and then tries to log in to an OAuth app that authenticates on that same wiki, they will not be able to do so until they visit another wiki while logged in.

Reproduction steps:

  • Register a new account on
  • Go to and attempt to log in
  • You will get the E008 error.
  • Go to again (any number of times, even after waiting days or weeks) and attempt to log in.
  • You will get the same error.
  • Visit another wiki while logged in (such as, then try again.
  • Now you can log in successfully.