Giter Club home page Giter Club logo

steamauth's Introduction

Hey! I'm Brendan


Languages I have worked with

javascript typescript html5 css3 java python php dart rust c cplusplus csharp

Technologies I have worked with

Visual Studio Code Vim git nodejs bootstrap sass Hugo webpack framework7 MediaWiki flutter firebase gcp unity Adobe XD figma ubuntu shopify jekyll tauri

On My Radar

deno zig

steamauth's People

Contributors

banakin avatar

Stargazers

 avatar

Watchers

 avatar

steamauth's Issues

Call to undefined method MediaWiki\Auth\AuthManager::singleton()

Mediawiki 1.37

Latest PluggableAuth installed
Latest SteamAuth installed

Not sure if this is a PluggableAuth issue or a problem with SteamAuth, but wanted to report it:

[b060034da28537bd888eea4e] /wiki/Special:PluggableAuthLogin Error: Call to undefined method MediaWiki\Auth\AuthManager::singleton()

Backtrace:

from /bitnami/mediawiki/extensions/SteamAuth/src/SteamAuth.php(16)
#0 /bitnami/mediawiki/extensions/PluggableAuth/includes/PluggableAuthLogin.php(36): SteamAuth->authenticate()
#1 /opt/bitnami/mediawiki/includes/specialpage/SpecialPage.php(647): PluggableAuthLogin->execute()
#2 /opt/bitnami/mediawiki/includes/specialpage/SpecialPageFactory.php(1366): SpecialPage->run()
#3 /opt/bitnami/mediawiki/includes/MediaWiki.php(314): MediaWiki\SpecialPage\SpecialPageFactory->executePath()
#4 /opt/bitnami/mediawiki/includes/MediaWiki.php(930): MediaWiki->performRequest()
#5 /opt/bitnami/mediawiki/includes/MediaWiki.php(564): MediaWiki->main()
#6 /opt/bitnami/mediawiki/index.php(53): MediaWiki->run()
#7 /opt/bitnami/mediawiki/index.php(46): wfIndexMain()
#8 {main}

Receiving "User is not logged in."

I seem to be getting nothing but "User is not logged in." using the SteamAuth plugin for our MediaWiki instance at https://bulletsperminute.wiki

MediaWiki 1.34.2
Pluggable Auth 5.7
Apache 2.4.41
PHP 7.4.3

LocalSettings.php snippet:

wfLoadExtension( 'PluggableAuth' );
wfLoadExtension( 'SteamAuth' );
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['autocreateaccount'] = true;
$wgSteamAuth_Key = "<valid API key from URL provided in documentation>";

Logs

[SQLBagOStuff] MainObjectStash using store ReplicatedBagOStuff
[objectcache] MainWANObjectCache using store APCUBagOStuff
IP: <redacted>
Start request GET /view/Special:PluggableAuthLogin?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.op_endpoint=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Flogin&openid.claimed_id=https%3A%2F%2Fsteamc>HTTP HEADERS:
HOST: bulletsperminute.wiki
CONNECTION: keep-alive
CACHE-CONTROL: max-age=0
UPGRADE-INSECURE-REQUESTS: 1
DNT: 1
USER-AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
SEC-FETCH-SITE: cross-site
SEC-FETCH-MODE: navigate
SEC-FETCH-USER: ?1
SEC-FETCH-DEST: document
REFERER: https://steamcommunity.com/
ACCEPT-ENCODING: gzip, deflate, br
ACCEPT-LANGUAGE: en-US,en;q=0.9
COOKIE: bpmwikidb_session=<redacted>
[localisation] LocalisationCache: using store LCStoreDB
[session] SessionManager using store APCUBagOStuff
[session] Session "<redacted>" requested without UserID cookie
[DBQuery] Wikimedia\Rdbms\DatabaseMysqlBase::open [0s] localhost: SET group_concat_max_len = 262144, sql_mode = ''
[DBReplication] Cannot use ChronologyProtector with EmptyBagOStuff
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: request info {
    "IPAddress": "<redacted>",
    "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/85.0.4183.102 Safari\/537.36",
    "ChronologyProtection": false,
    "ChronologyPositionIndex": 0,
    "ChronologyClientId": false
}
[DBConnection] Wikimedia\Rdbms\LoadBalancer::lazyLoadReplicationPositions: executed chronology callback.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
[DBQuery] Wikimedia\Rdbms\Database::beginIfImplied (LCStoreDB::get) [0s] localhost: BEGIN
[DBQuery] LCStoreDB::get [0s] localhost: SELECT  lc_value  FROM `l10n_cache`    WHERE lc_lang = 'en' AND lc_key = 'deps'  LIMIT 1
[DBQuery] LCStoreDB::get [0.001s] localhost: SELECT  lc_value  FROM `l10n_cache`    WHERE lc_lang = 'en' AND lc_key = 'list'  LIMIT 1
[DBQuery] LCStoreDB::get [0s] localhost: SELECT  lc_value  FROM `l10n_cache`    WHERE lc_lang = 'en' AND lc_key = 'preload'  LIMIT 1
[DBQuery] LCStoreDB::get [0s] localhost: SELECT  lc_value  FROM `l10n_cache`    WHERE lc_lang = 'en' AND lc_key = 'preload'  LIMIT 1
[DBQuery] LCStoreDB::get [0s] localhost: SELECT  lc_value  FROM `l10n_cache`    WHERE lc_lang = 'en' AND lc_key = 'specialPageAliases'  LIMIT 1
[DBQuery] LCStoreDB::get [0s] localhost: SELECT  lc_value  FROM `l10n_cache`    WHERE lc_lang = 'en' AND lc_key = 'namespaceGenderAliases'  LIMIT 1
[PluggableAuth] In execute()
[PluggableAuth] Getting PluggableAuth singleton
[PluggableAuth] Class name: SteamAuth
[PluggableAuth] Authentication failure.
[PluggableAuth] ERROR: User is not logged in.
[session] SessionBackend "<redacted>" data dirty due to dirty(): PluggableAuthLogin->execute/MediaWiki\Auth\AuthManager->setAuthenticationSessionData/MediaWiki\Session\Session->setSecret/MediaWiki\Session\Ses>[session] SessionBackend "<redacted>" save: dataDirty=1 metaDirty=0 forcePersist=0
[DBQuery] MediaWiki::preOutputCommit [0s] localhost: COMMIT
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
MediaWiki::preOutputCommit: session changes committed
MediaWiki::preOutputCommit: LBFactory shutdown completed
[MessageCache] MessageCache using store APCUBagOStuff
Unstubbing $wgLang on call of $wgLang::hasVariants from OutputPage->sendCacheControl
OutputPage::sendCacheControl: private caching;  **
[DBQuery] Wikimedia\Rdbms\Database::beginIfImplied (Pingback::checkIfSent) [0s] localhost: BEGIN
[DBQuery] Pingback::checkIfSent [0s] localhost: SELECT  ul_value  FROM `updatelog`    WHERE ul_key = 'Pingback-1.34.2'  LIMIT 1
[DBQuery] Pingback::schedulePingback [0s] localhost: COMMIT
[DBQuery] Wikimedia\Rdbms\DatabaseMysqlBase::open [0s] localhost: SET group_concat_max_len = 262144, sql_mode = ''
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
[DBQuery] JobQueueDB::doGetSiblingQueuesWithJobs [0.001s] localhost: SELECT  DISTINCT job_cmd  FROM `job`    WHERE job_cmd IN ('InitImageDataJob','deletePage','refreshLinks','deleteLinks','htmlCacheUpdate','sendMail','enotifNotify>Request ended normally
[session] Saving all sessions on shutdown
[DBConnection] Wikimedia\Rdbms\LBFactory::destroy: closing connection to database 'localhost'.
[DBConnection] Wikimedia\Rdbms\LBFactory::destroy: closing connection to database 'localhost'.

Appreciate any insight you may have on this :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.