{"id":18513893,"url":"https://github.com/vedmaka/mediawiki-opauth","last_synced_at":"2026-05-19T03:13:42.005Z","repository":{"id":36915824,"uuid":"41222876","full_name":"vedmaka/Mediawiki-Opauth","owner":"vedmaka","description":"Opauth integration module for Mediawiki engine","archived":false,"fork":false,"pushed_at":"2017-04-02T15:27:06.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-10T02:42:00.603Z","etag":null,"topics":["authentication","mediawiki","mediawiki-extension","opauth","php","social-login"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vedmaka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-22T20:16:23.000Z","updated_at":"2017-03-12T11:41:00.000Z","dependencies_parsed_at":"2022-09-09T12:10:19.200Z","dependency_job_id":null,"html_url":"https://github.com/vedmaka/Mediawiki-Opauth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vedmaka/Mediawiki-Opauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedmaka%2FMediawiki-Opauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedmaka%2FMediawiki-Opauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedmaka%2FMediawiki-Opauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedmaka%2FMediawiki-Opauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vedmaka","download_url":"https://codeload.github.com/vedmaka/Mediawiki-Opauth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedmaka%2FMediawiki-Opauth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265746744,"owners_count":23821729,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","mediawiki","mediawiki-extension","opauth","php","social-login"],"created_at":"2024-11-06T15:41:07.914Z","updated_at":"2026-05-19T03:13:41.974Z","avatar_url":"https://github.com/vedmaka.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mediawiki-Opauth\nOpauth integration module for Mediawiki engine. \nThis extension integrates Opauth with 4 predefined strategies ( Facebook, Google, LinkedIn and Twitter ). \nIt provides Special Page entrypoint \u0026 endpoint for authentication handling via Opaith library and provides hook for external handling.\n\n# Installation\n\n1. Put **Opauth** folder into **extensions** folder\n2. Add these lines into **LocalSettings.php**:\n```php\nrequire_once \"$IP/extensions/Opauth/Opauth.php\";\n$wgOpauthConfig['security_salt'] = 'YOUR_RANDOM_SALT_STRING';\n$wgOpauthConfig['Strategy'] = array(\n\n\t'Facebook' =\u003e array(\n\t\t'app_id' =\u003e 'YOUR_APP_ID',\n\t\t'app_secret' =\u003e 'YOUR_APP_SECRET',\n\t\t'scope' =\u003e 'public_profile,email'\n\t),\n\n\t'Google' =\u003e array(\n\t\t'client_id' =\u003e 'YOUR_APP_ID',\n\t\t'client_secret' =\u003e 'YOUR_APP_SECRET'\n\t),\n\n\t'Twitter' =\u003e array(\n\t\t'key' =\u003e 'YOUR_APP_ID',\n\t\t'secret' =\u003e 'YOUR_APP_SECRET'\n\t),\n\n\t'LinkedIn' =\u003e array(\n\t\t'api_key' =\u003e 'YOUR_APP_ID',\n\t\t'secret_key' =\u003e 'YOUR_APP_SECRET'\n\t)\n\n);\n```\n3. For more configuration information please see https://github.com/opauth/opauth\n5. Use code below to fetch social-auth url:\n```php\nOpauthHelper::getLoginLink('facebook'); // where 'facebook' is provider name\n```\n4. Create your own extension which listen **OpauthUserAuthorized** hook. This hook will be called with parameters listed below in sample callback function:\n```php\npublic static function onOpauthUserAuthorized( $provider, $uid, $info, $raw ) { ... }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvedmaka%2Fmediawiki-opauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvedmaka%2Fmediawiki-opauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvedmaka%2Fmediawiki-opauth/lists"}