If a user is sent to https://www.mediawiki.org/wiki/Special:MWOAuth/authorize?oauth_token=...&oauth_consumer_key=... while there still is an active authorization, the user is presented with
Gerrit Patch Uploader would like to have basic access on your behalf on media.wikipedia.org.
Clicking Allow results in
A database query error has occurred. This may indicate a bug in the software.
Error: 1062 Duplicate entry '5005-4-mediawiki' for key 'oaac_user_consumer_wiki' (10.64.16.8)
Expected behavior would be a redirect back to the application, as the application is still authorized.