https://bugzilla.wikimedia.org/show_bug.cgi?id=55580

       Web browser: ---
            Bug ID: 55580
           Summary: Redirecting client to Special:MWOAuth/authorize more
                    than once results in database error
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: OAuth
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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

Hi Valhallasw,
Gerrit Patch Uploader would like to have basic access on your behalf on
media.wikipedia.org.
[Cancel] [Allow]


Clicking Allow results in

Database error
A database query error has occurred. This may indicate a bug in the software.
Function: MWOAuthDAO::save
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to