WordPress plugin intelligence profile

Greenhouse Portal SSO

A client plugin that provides SSO (Single-Sign-on) or opt-in authentication against Greenhouse Portal Auth0 implementation.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.6
Current version1.0.0
WordPress coverageTested up to WordPress 5.6
Minimum stackWP 4.9 · PHP 7.1
Directory statusactive
Last directory update23 Mar 20215y ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Greenhouse Portal SSO version 1.0.0 as active, updated 5y ago and tested up to WordPress 5.6.

Overview

About this plugin

This plugin allows to authenticate users against GH Portal API with Authorization Flow.

Once installed, it can be configured to automatically authenticate users (SSO). After consent has been obtained, an existing user is automatically logged into WordPress, while

new users are created in WordPress database.

Plugin flow explained

When a user of your WordPress application visits one of your public pages, a check is done if a user session is currently set. When GH_Portal_SSO_Option_Settings::enforce_privacy is set to TRUE, the plugin will redirect the user from the public page to the Greenhouse Portal SSO page incase no active session was found. The default WordPress authorization check if performed when accessing any of the wp-admin pages.

This also allows to user to sign-in using either the Greenhouse account of their existing WordPress acount.

The following applies to any non wp-admin page request incase no user session is found:

The user will be redirected from the current page to the Greenhouse Portal, which acts a proxy between Auth0’s management system and Greenhouse’s Microsoft Identity (OpenID Connect) accounts, to perform it’s authentication through SSO.

A success SSO using the Greenhouse Portal results in an active access token that’s short lived (8 hours). The access token can be used to retrieve data on behalf of the user to which he/she has given consent.

The request for a redirect to the Greenhouse Portal requires a redirect_uri as one of its query parameter. This is the URL to which the proxy should return the user’s access token. php in conjuction with admin_url and uses WordPress’ AJAX API to further handle the redirect flow.

`

Temperary Redirect

Location:

com/authorize

redirect_uri=<redirect/callback URL>

`

The above URL will initiate a SSO request to Auth0. Once the user has signed in, the Greenhouse Portal will redirect the user to the given URL in the redirect_uri query parameter. GHP_authorization_token=xxxxxxxxxxxx ).

On successfull redirect, the access token is fetched from the query parameters. An additional request is made to the Greenhouse API to fetch the Greenhouse user information from the retrieved access token.

`

1

Host:

com/user

Headers:

Authorization=

x-api-version=

`

The Greenhouse user information is used to find an existing WordPress user. When no WordPress user was found, a new one can be automatically created when GH_Portal_SSO_Option_Settings::create_if_does_not_exist is set to TRUE on successfull sign-in.

After finding/creating the WordPress user, a session of 8 hours is created, the duration can be set by GH_Portal_SSO_Option_Settings::expires_in using a numeric measured in seconds.

When no WordPress user account was found or can not be created, the user is redirected to the wp-admin sign-in page with the approriate error message (if any).

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • ghp
  • greenhouse
  • login
  • portal
  • security
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.6

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.6.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.6
Minimum requirementsWordPress 4.9 · PHP 7.1
Update activity23 Mar 20215y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.