Title: PrimeTime WordPress + Discourse SSO
Author: etcio
Published: <strong>డిసెంబర్ 30, 2014</strong>
Last modified: మే 4, 2015

---

Search plugins

![](https://ps.w.org/pt-wp-discourse-sso/assets/banner-772x250.png?rev=1057307)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/pt-wp-discourse-sso/assets/icon-256x256.png?rev=1057307)

# PrimeTime WordPress + Discourse SSO

 By [etcio](https://profiles.wordpress.org/etcio/)

[Download](https://downloads.wordpress.org/plugin/pt-wp-discourse-sso.0.2.3.zip)

 * [Details](https://te.wordpress.org/plugins/pt-wp-discourse-sso/#description)
 * [Reviews](https://te.wordpress.org/plugins/pt-wp-discourse-sso/#reviews)
 *  [Installation](https://te.wordpress.org/plugins/pt-wp-discourse-sso/#installation)
 * [Development](https://te.wordpress.org/plugins/pt-wp-discourse-sso/#developers)

 [Support](https://wordpress.org/support/plugin/pt-wp-discourse-sso/)

## 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.

Coming Soon:

 * Only allow access with certain capabilities or roles.

### 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

## Screenshots

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

## 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!

## FAQ

  Where can I get a Discourse forum?

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

## Reviews

![](https://secure.gravatar.com/avatar/85e933a8cfaef3820a7d4cff4ac4f388c45496812ba77efed4f5512d2997c25b?
s=60&d=retro&r=g)

### 󠀁[Work realy great](https://wordpress.org/support/topic/work-realy-great/)󠁿

 [xdau](https://profiles.wordpress.org/xdau/) మే 22, 2018

Great plugin, still working with the last wp

![](https://secure.gravatar.com/avatar/db9de8bf13f636021c86a0dd3402b3241e1d6aaa293a7a8d37e7ad6a5c60d849?
s=60&d=retro&r=g)

### 󠀁[Nice !](https://wordpress.org/support/topic/nice-1711/)󠁿

 [Pierre P.](https://profiles.wordpress.org/pjoy/) సెప్టెంబర్ 3, 2016

It was hard to believe at first but everything was set in under 10 min. Awesome !

![](https://secure.gravatar.com/avatar/26f6ba650ee78d03f174993af6107f9d70cc9e272468fe7400ca5ae851dd3c00?
s=60&d=retro&r=g)

### 󠀁[Flawless.](https://wordpress.org/support/topic/flawless-51/)󠁿

 [theatereleven](https://profiles.wordpress.org/theatereleven/) సెప్టెంబర్ 3, 2016

I’ve been using this plugin with my WordPress/Discourse setup for about 7 months
now. I’ve had zero problems. Highly recommended, and thanks for the sweet plugin!

![](https://secure.gravatar.com/avatar/1682c6b035e680817e3dd842ab5a0d153f49cb91da8806cded7c9559561327d1?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-2452/)󠁿

 [Zack Katz](https://profiles.wordpress.org/katzwebdesign/) సెప్టెంబర్ 3, 2016

Works exactly as it should. Make sure to check TWO checkboxes in the Discourse admin:
Enable single sign on via an external site (WARNING: USERS’ EMAIL ADDRESSES *MUST*
BE VALIDATED BY THE EXTERNAL SITE!) Implement Discourse SSO provider protocol at
the /session/sso_provider endpoint, requires sso_secret to be set

 [ Read all 6 reviews ](https://wordpress.org/support/plugin/pt-wp-discourse-sso/reviews/)

## Contributors & Developers

“PrimeTime WordPress + Discourse SSO” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ etcio ](https://profiles.wordpress.org/etcio/)
 *   [ Nick Haskins ](https://profiles.wordpress.org/nphaskins/)

[Translate “PrimeTime WordPress + Discourse SSO” into your language.](https://translate.wordpress.org/projects/wp-plugins/pt-wp-discourse-sso)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/pt-wp-discourse-sso/),
check out the [SVN repository](https://plugins.svn.wordpress.org/pt-wp-discourse-sso/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/pt-wp-discourse-sso/)
by [RSS](https://plugins.trac.wordpress.org/log/pt-wp-discourse-sso/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.2.3

 * Send avatars to discourse (Thanks @pjv https://github.com/PrimeTimeCode/pt-wp-
   discourse-sso/pull/1)
 * Additional sanitization (Thanks @pratyushmittal https://github.com/PrimeTimeCode/
   pt-wp-discourse-sso/pull/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

## Meta

 *  Version **0.2.3**
 *  Last updated **11 సంవత్సరాలు ago**
 *  Active installations **10+**
 *  WordPress version ** 3.6 or higher **
 *  Tested up to **4.2.39**
 *  Language
 * [English (US)](https://wordpress.org/plugins/pt-wp-discourse-sso/)
 * Tags
 * [discourse](https://te.wordpress.org/plugins/tags/discourse/)[forum](https://te.wordpress.org/plugins/tags/forum/)
   [sso](https://te.wordpress.org/plugins/tags/sso/)
 *  [Advanced View](https://te.wordpress.org/plugins/pt-wp-discourse-sso/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/pt-wp-discourse-sso/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/pt-wp-discourse-sso/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/pt-wp-discourse-sso/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/pt-wp-discourse-sso/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/pt-wp-discourse-sso/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/pt-wp-discourse-sso/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/pt-wp-discourse-sso/reviews/)

## Contributors

 *   [ etcio ](https://profiles.wordpress.org/etcio/)
 *   [ Nick Haskins ](https://profiles.wordpress.org/nphaskins/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/pt-wp-discourse-sso/)