Skip to content
This repository was archived by the owner on Sep 23, 2023. It is now read-only.
This repository was archived by the owner on Sep 23, 2023. It is now read-only.

Fatal error: Uncaught MediaWiki\OAuthClient\Exception: JWT has incorrect format #232

Open

Description

@MatmaRex

I just saw this error while viewing the main page. It worked fine after refreshing.

image

Fatal error:  Uncaught MediaWiki\OAuthClient\Exception: JWT has incorrect format. Received: {"error":"mwoauth-oauth-exception","message":"An error occurred in the OAuth protocol: Nonce already used: 01a40493d4fbfa332b4d9ced52f2177f"} in /var/www/html/vendor/mediawiki/oauthclient/src/Client.php:327
Stack trace:
#0 /var/www/html/vendor/mediawiki/oauthclient/src/Client.php(199): MediaWiki\OAuthClient\Client->decodeJWT('{"error":"mwoau...', 'c2822ff10e5e2ac...')
#1 /var/www/html/oauth.php(42): MediaWiki\OAuthClient\Client->identify(Object(MediaWiki\OAuthClient\Token))
#2 /var/www/html/includes.php(49): include_once('/var/www/html/o...')
#3 /var/www/html/index.php(2): require_once('/var/www/html/i...')
#4 {main}
  thrown in /var/www/html/vendor/mediawiki/oauthclient/src/Client.php on line 327

Activity

  1. edg2s commented on Feb 4, 2021

    @edg2s
    Collaborator

    I saw this at some point too. Some sort of oauth expiry? Could’ve been triggered by something happening on meta. Haven’t touched that code recently.

  2. added
    bugSomething isn't working
    on Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions