PHPackages                             primetimecode/pt-wp-discourse-sso - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. primetimecode/pt-wp-discourse-sso

ActiveWordpress-plugin[Authentication &amp; Authorization](/categories/authentication)

primetimecode/pt-wp-discourse-sso
=================================

PrimeTime Code WP + Discourse SSO

0.2.3(11y ago)17175[1 issues](https://github.com/PrimeTimeCode/pt-wp-discourse-sso/issues)PHP

Since Dec 18Pushed 9y ago8 watchersCompare

[ Source](https://github.com/PrimeTimeCode/pt-wp-discourse-sso)[ Packagist](https://packagist.org/packages/primetimecode/pt-wp-discourse-sso)[ RSS](/packages/primetimecode-pt-wp-discourse-sso/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

```
=== PrimeTime WordPress + Discourse SSO ===
Contributors: etcio, nphaskins, dphrag
Tags: discourse, forum, sso
Requires at least: 3.6
Tested up to: 4.3.1
Stable tag: 0.2.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

This plugin provides single sign-on capabilities for Discourse using WordPress user authentication.

== Description ==

Discourse is a fantastic new forum that can add another layer to your WordPress community. This plugin allows you to create a fluid experience by using your WordPress installation as the authentication server, creating a single-sign-on (SSO) for your users!

Notes:

*   The Discourse option "Staff must approve all new user accounts before they are allowed to access the site." needs to be disabled for this to work properly.

Some Features:

*   Seamless integration into almost any WordPress installation.
*   Get setup within minutes through 3 easy steps. Anyone can do it.
*   Additional integration with MemberMouse.

Coming Soon:

*   Only allow access with certain capabilities or roles.

== Installation ==

There are only three steps to configuring your WP + Discourse SSO!

= 1. Install this plugin and activate it =

= Uploading in WordPress Dashboard =

1. Navigate to the 'Add New' in the plugins dashboard
2. Navigate to the 'Upload' area
3. Select `plugin-name.zip` from your computer
4. Click 'Install Now'
5. Activate the plugin in the Plugin dashboard

= Using FTP =

1. Download `pt-wp-discourse-sso.zip`
2. Extract the `pt-wp-discourse-sso` directory to your computer
3. Upload the `pt-wp-discourse-sso` directory to the `/wp-content/plugins/` directory
4. Activate the plugin in the Plugin dashboard

= 2. Configure the plugin =

Under settings, you'll see the SSO configuration page. Add the url to your Discourse community forum. Generate a secret key that will be used to secure the authentication between the installations and paste it here.

= 3. Enabling SSO on Discourse =

In your Discourse admin settings, find the settings labeled, enable_sso, sso_url and sso_secret. Enter the URL of your WP installation, as well as the secret key, and enable sso.

More information about these settings can be found here:
https://meta.discourse.org/t/official-single-sign-on-for-discourse/13045

That's it!

== Frequently Asked Questions ==

= Where can I get a Discourse forum? =

* https://discourse.org
* https://www.discoursehosting.com/

== Screenshots ==

1. The plugin settings screen. Here you enter your secret key as well as the url to your discourse site.
2. Custom SSO page can be assigned with any theme.
3. Enjoy single sign on between WP + Discourse. Cool!

== Credits ==

* Request processing adapted from Adam Capirola : https://gist.github.com/adamcapriola/11300529
* SSO methods adapted from ArmedGuy : https://github.com/ArmedGuy/discourse_sso_php

== Changelog ==

= 0.2.4 =
* Added basic support for MemberMouse
* Added option to synchronize logouts, if user logging out from WP site.

= 0.2.3 =
* Send avatars to discourse (Thanks @pjv #1)
* Additional sanitization (Thanks @pratyushmittal #2)

= 0.2.2 =
* Better compatibility with PHP 5.2

= 0.2.1 =
* More user friendly configuration
* Fields a bit more forgiving

= 0.2 =
* Refactoring away from template based system

= 0.1 =
* Initial release
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~34 days

Total

5

Last Release

4032d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b208b315f147a2a6ea644d2ef21399cccd724db70c897e93fefde784119acdc0?d=identicon)[etc](/maintainers/etc)

---

Top Contributors

[![etcook](https://avatars.githubusercontent.com/u/2329397?v=4)](https://github.com/etcook "etcook (30 commits)")[![pratyushmittal](https://avatars.githubusercontent.com/u/1546426?v=4)](https://github.com/pratyushmittal "pratyushmittal (2 commits)")[![lumpysimon](https://avatars.githubusercontent.com/u/625372?v=4)](https://github.com/lumpysimon "lumpysimon (1 commits)")[![pjv](https://avatars.githubusercontent.com/u/327716?v=4)](https://github.com/pjv "pjv (1 commits)")

---

Tags

pluginwordpressSSOforumdiscourseprimetime

### Embed Badge

![Health badge](/badges/primetimecode-pt-wp-discourse-sso/health.svg)

```
[![Health](https://phpackages.com/badges/primetimecode-pt-wp-discourse-sso/health.svg)](https://phpackages.com/packages/primetimecode-pt-wp-discourse-sso)
```

###  Alternatives

[discourse/wp-discourse

WordPress plugin that allows you to use Discourse as a community engine for your WordPress blog.

5419.5k](/packages/discourse-wp-discourse)[humanmade/wp-simple-saml

WordPress Simple SAML plugin

124284.7k2](/packages/humanmade-wp-simple-saml)[cviebrock/discourse-php

Helper class for building a single sign-on source for Discourse forums

66502.3k9](/packages/cviebrock-discourse-php)[spinen/laravel-discourse-sso

Integrate Discourse SSO into Laravel.

4897.8k](/packages/spinen-laravel-discourse-sso)[maicol07/flarum-ext-sso

SSO for Flarum

468.3k](/packages/maicol07-flarum-ext-sso)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
