Скочи на садржај
WordPress.org

Српски

  • Теме
  • Додаци
  • Новости
    • Документација
    • Форуми
  • Информације
  • Упутства
  • Речник
  • @wp_sr
  • Организација
  • Преузми Вордпрес
Преузми Вордпрес
WordPress.org

Plugin Directory

Greenhouse Portal SSO

  • Пошаљи додатак
  • Моји омиљени
  • Пријави се
  • Пошаљи додатак
  • Моји омиљени
  • Пријави се

Овај додатак није испробан са последња 3 главна издања Вордпреса. Можда се више не одржава нити подржава и може имати проблема са усаглашеношћу када се користи са новијим издањима Вордпреса.

Greenhouse Portal SSO

Аутор: ghmeh
Преузми
  • Детаљи
  • Рецензије
  • Постављање
  • Развој
Подршка

Опис

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. By default, the redirect URL is set to admin-ajax.php in conjuction with admin_url and uses WordPress’ AJAX API to further handle the redirect flow.

`

Temperary Redirect
Location:
https://authorize.my.greenhousegroup.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. The access token is passed through as a query parameter to the redirect url (e.g. ?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.

`

POST / HTTP/1.1
Host:
https://api.my.greenhousegroup.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).

Постављање

  1. Install from plugins page by name (Greenhouse Portal SSO) OR upload to the /wp-content/plugins/ directory
  2. Activate the plugin
  3. Configure the plugin settings to meet your needs

Рецензије

Нема рецензија за овај додатак.

Сарадници и градитељи

„Greenhouse Portal SSO“ је софтвер отвореног кода. Следећи људи су допринели овом додатку.

Сарадници
  • ghmeh

Преведите „Greenhouse Portal SSO“ на свој језик.

Заинтересовани сте за развој?

Прегледајте кôд, погледајте SVN складиште или се претплатите на дневник развоја преко RSS-а.

Мета

  • Издање 1.0.0
  • Последње ажурирање пре 6 година
  • Активних постављања Мање од 10
  • Издање Вордпреса 4.9 или новије
  • Испробано до 5.6.23
  • PHP издање 7.1 или новије
  • Језик
    English (US)
  • Ознаке
    greenhouseloginportalsecurity
  • Напредни преглед

Оцене

Још нису послате рецензије.

Ваша рецензија

Види све рецензије

Сарадници

  • ghmeh

Подршка

Имате нешто да кажете? Потребна вам је помоћ?

Види форум подршке

  • О нама
  • Вести
  • Хостинг
  • Приватност
  • Витрина
  • Теме
  • Додаци
  • Обрасци
  • Учење
  • Подршка
  • Програмери
  • WordPress.tv ↗
  • Укључите се
  • Догађаји
  • Донирај ↗
  • Роба ↗
  • WordPress.com ↗
  • Мет ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

Српски

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • Посетите наш налог на X-у (раније Twitter)
  • Посетите наш Bluesky налог
  • Посетите наш Mastodon налог
  • Посетите наш налог на Threads-у
  • Посетите нашу Facebook страницу
  • Посетите наш Инстаграм налог
  • Посетите наш LinkedIn налог
  • Посетите наш TikTok налог
  • Посетите наш YouTube канал
  • Посетите наш Tumblr налог
Кôд је поезија.