banakin / steamauth Goto Github PK
View Code? Open in Web Editor NEWSteamAuth is a MediaWiki extension that allows users to sign in with Steam.
Home Page: https://www.mediawiki.org/wiki/Extension:SteamAuth
SteamAuth is a MediaWiki extension that allows users to sign in with Steam.
Home Page: https://www.mediawiki.org/wiki/Extension:SteamAuth
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}
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 :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.