{"id":33552,"date":"2014-12-30T08:33:09","date_gmt":"2014-12-30T08:33:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/pt-wp-discourse-sso\/"},"modified":"2015-05-04T20:03:05","modified_gmt":"2015-05-04T20:03:05","slug":"pt-wp-discourse-sso","status":"publish","type":"plugin","link":"https:\/\/te.wordpress.org\/plugins\/pt-wp-discourse-sso\/","author":7332018,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.3","stable_tag":"0.2.3","tested":"4.2.39","requires":"3.6","requires_php":"","requires_plugins":"","header_name":"PrimeTime WP Discourse SSO","header_author":"","header_description":"","assets_banners_color":"fdfdfc","last_updated":"2015-05-04 20:03:05","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/etc.io","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":10,"downloads":6444,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"6"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1057307","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1057307","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1057307","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1057307","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2.2","0.2.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1057307","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1057307","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1057307","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1057307","resolution":"4","location":"assets"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1057307","resolution":"5","location":"assets"}},"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!"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[51541,5706,2469],"plugin_category":[44],"plugin_contributors":[80645,80644],"plugin_business_model":[],"class_list":["post-33552","plugin","type-plugin","status-publish","hentry","plugin_tags-discourse","plugin_tags-forum","plugin_tags-sso","plugin_category-discussion-and-community","plugin_contributors-etcio","plugin_contributors-nphaskins","plugin_committers-etcio"],"banners":{"banner":"https:\/\/ps.w.org\/pt-wp-discourse-sso\/assets\/banner-772x250.png?rev=1057307","banner_2x":"https:\/\/ps.w.org\/pt-wp-discourse-sso\/assets\/banner-1544x500.png?rev=1057307","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/pt-wp-discourse-sso\/assets\/icon-128x128.png?rev=1057307","icon_2x":"https:\/\/ps.w.org\/pt-wp-discourse-sso\/assets\/icon-256x256.png?rev=1057307","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/pt-wp-discourse-sso\/assets\/screenshot-1.png?rev=1057307","caption":"The plugin settings screen. Here you enter your secret key as well as the url to your discourse site."},{"src":"https:\/\/ps.w.org\/pt-wp-discourse-sso\/assets\/screenshot-2.png?rev=1057307","caption":"Custom SSO page can be assigned with any theme."},{"src":"https:\/\/ps.w.org\/pt-wp-discourse-sso\/assets\/screenshot-3.png?rev=1057307","caption":"Enjoy single sign on between WP + Discourse. Cool!"},{"src":"https:\/\/ps.w.org\/pt-wp-discourse-sso\/assets\/screenshot-4.png?rev=1057307","caption":""},{"src":"https:\/\/ps.w.org\/pt-wp-discourse-sso\/assets\/screenshot-5.png?rev=1057307","caption":""}],"raw_content":"<!--section=description-->\n<p>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!<\/p>\n\n<p>Notes:<\/p>\n\n<ul>\n<li>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.<\/li>\n<\/ul>\n\n<p>Some Features:<\/p>\n\n<ul>\n<li>Seamless integration into almost any WordPress installation.<\/li>\n<li>Get setup within minutes through 3 easy steps. Anyone can do it.<\/li>\n<\/ul>\n\n<p>Coming Soon:<\/p>\n\n<ul>\n<li>Only allow access with certain capabilities or roles.<\/li>\n<\/ul>\n\n<h3>Credits<\/h3>\n\n<ul>\n<li>Request processing adapted from Adam Capirola : https:\/\/gist.github.com\/adamcapriola\/11300529<\/li>\n<li>SSO methods adapted from ArmedGuy : https:\/\/github.com\/ArmedGuy\/discourse_sso_php<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>There are only three steps to configuring your WP + Discourse SSO!<\/p>\n\n<h4>1. Install this plugin and activate it<\/h4>\n\n<h4>Uploading in WordPress Dashboard<\/h4>\n\n<ol>\n<li>Navigate to the 'Add New' in the plugins dashboard<\/li>\n<li>Navigate to the 'Upload' area<\/li>\n<li>Select <code>plugin-name.zip<\/code> from your computer<\/li>\n<li>Click 'Install Now'<\/li>\n<li>Activate the plugin in the Plugin dashboard<\/li>\n<\/ol>\n\n<h4>Using FTP<\/h4>\n\n<ol>\n<li>Download <code>pt-wp-discourse-sso.zip<\/code><\/li>\n<li>Extract the <code>pt-wp-discourse-sso<\/code> directory to your computer<\/li>\n<li>Upload the <code>pt-wp-discourse-sso<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin in the Plugin dashboard<\/li>\n<\/ol>\n\n<h4>2. Configure the plugin<\/h4>\n\n<p>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.<\/p>\n\n<h4>3. Enabling SSO on Discourse<\/h4>\n\n<p>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.<\/p>\n\n<p>More information about these settings can be found here:\nhttps:\/\/meta.discourse.org\/t\/official-single-sign-on-for-discourse\/13045<\/p>\n\n<p>That's it!<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Where can I get a Discourse forum?<\/dt>\n<dd><ul>\n<li>https:\/\/discourse.org<\/li>\n<li>https:\/\/www.discoursehosting.com\/<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2.3<\/h4>\n\n<ul>\n<li>Send avatars to discourse (Thanks @pjv https:\/\/github.com\/PrimeTimeCode\/pt-wp-discourse-sso\/pull\/1)<\/li>\n<li>Additional sanitization (Thanks @pratyushmittal https:\/\/github.com\/PrimeTimeCode\/pt-wp-discourse-sso\/pull\/2)<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Better compatibility with PHP 5.2<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>More user friendly configuration<\/li>\n<li>Fields a bit more forgiving<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Refactoring away from template based system<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"This plugin provides single sign-on capabilities for Discourse using WordPress user authentication.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/33552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=33552"}],"author":[{"embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/etcio"}],"wp:attachment":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=33552"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=33552"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=33552"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=33552"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=33552"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=33552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}