이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

PrimeTime WordPress + Discourse SSO

설명

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

스크린샷

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

설치

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/

후기

2016년 September 3일
It was hard to believe at first but everything was set in under 10 min. Awesome !
2016년 September 3일
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!
2016년 September 3일
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
모든 6 평가 읽기

기여자 & 개발자

“PrimeTime WordPress + Discourse SSO”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “PrimeTime WordPress + Discourse SSO”(을)를 번역하십시오.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하십시오.

변경이력

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