---
description: >-
  GreenPlaces offers single sign on through OpenID Connect or SAML 2.0. SSO is a
  secure way to provision GreenPlaces user accounts using your organization's
  existing identity provider.
---

# Configuring SSO

Please reference the below documentation on how to configure Single Sign On with your GreenPlaces account.

{% tabs %}
{% tab title="OpenID Connect (Okta)" %}
For customers desiring to integrate an identity provider such as Okta with GreenPlaces, single sign on settings can be configured from the GreenPlaces dashboard by your platform administrator.

To configure your SSO settings, navigate to [https://app.greenplaces.com/single-sign-on](https://app.greenplaces.com/single-sign-on).&#x20;

### Step 1: Find your Organization ID

Navigate to the Preferences tab in the GreenPlaces platform. Select “Single Sign On” from the top navigation bar. \


<figure><img src="https://lh7-us.googleusercontent.com/5HVEbGTiBHJJDGVmTkjLfSuqkEYxB7mdPWzTAp_re6kt6XD6cVFMM5AxUsw86RI6iEpAlOmh218uhEx6xuA7b2h2dbW2Hxn_g1WSGxccFXLkic6B7fRLw_jOCYaDzFLkd15YoIWwd5Ilx0yzPDQj_kA" alt=""><figcaption></figcaption></figure>

Your company’s base organization ID will be displayed at the bottom of the screen. Copy this organization ID to use in the next step.&#x20;

### Step 2: Create a Private App in Okta

To utilize SSO with GreenPlaces using Okta, first create a private app within your Okta dashboard.\


<figure><img src="https://lh7-us.googleusercontent.com/A_LMoP-E07GSAepSIj4gtpdkfRXqtT9i2SZ4z3e5ibd5GzBAu3Fs7Q4iP-5Yv5Lt190iZH05MYWnb-XzRyQxErDfwxmKjSASHArtwrkdjEGBilxEBeWZbGZ_KrVI3AX5Zaa9J63aaGJWw1wHqFaKOhM" alt=""><figcaption></figcaption></figure>

To create the private application, click “Create App Integration”. This will open a modal that asks for the type of application you’re wanting to create.\


<figure><img src="https://lh7-us.googleusercontent.com/dFazDT89laHYdyYMMYgxN5TcxImDL0mqHVSyWcmR-Ocma8iN2ZL-bAHCtYMBsGq3vd1eYheFvRHj7xCyisSbVuhzTLmkGkK--1ba3cj8zOdtMYaN7SQYgBk5YTMyUhqokurFBr8qMYnd3J3RM15wCHA" alt=""><figcaption></figcaption></figure>

Select “OIDC - OpenID Connect” as the “Sign-in method”.

<figure><img src="https://lh7-us.googleusercontent.com/w1PTOBJpQmrAdFkEpYMSkilPQY8C3Lq3bqaljbsWNDivuuSmgRZcCF3pyby0pcEvNcp8OH0WQ7KslIHQBTWCIkjUiee6I0N-G_BpKQwXB5WO5LnrXOs1dM9EYvlX8JJhh2jSqjWes4jUgQMrt1064Io" alt=""><figcaption></figcaption></figure>

Select “Web Application” as the “Application type”. Click “Next”. \


<figure><img src="https://lh7-us.googleusercontent.com/DhqFLHkl3efLsq_Mt-Cb08DsKNTgsF213nzSVrWI0RgaJtb1w0Al7jOm9USxCFTIAOVb14Vwaxs9E9IDoA_gaibKZmXi2XtD3rXftPduWFWXJT5tQvZCM2UabLtRihRQg4xT3yJtg1G56Q3lJiVBcrk" alt=""><figcaption></figcaption></figure>

On the next screen, enter the following details to configure your application:

* App integration name: GreenPlaces
* Logo: We recommend using the logo file included at the end of this document.
* Grant type
  * Uncheck “Client Credentials”
  * Check “Authorization code”
* Sign-in redirect URIs
  * The url should be set to [https://app.greenplaces.com/oauth/ORGANIZATION\_ID/callback](https://app.greenplaces.com/oauth/ORGANIZATION_ID/callback), where ORGANIZATION\_ID is the base organization ID that was identified earlier within the GreenPlaces platform.
  * Please note: if you are configuring multiple SSO providers with GreenPlaces, your organization ID may have an integer at the end such as “-1” or “-2”. For most use cases, your organization only has one organization ID.&#x20;

You can now assign the users from your organization that you would like to have access to the application.

### Step 3: Add your Okta App to GreenPlaces

In the GreenPlaces platform, click “Create” to add a new SSO configuration.&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/u4nN_85gfRAft85AJWEMeL6EZv6HqUcTlF7uNewWT62bIgVEyg7lRUzEHLcVBUwNIzRYtTDBBt7Jv7Ap8ZUtew8a-nF2uPWcv97n8WXt790npY1hmQAuaO_hc74V5ngr6hic3C1fy1a9X9wQu4sgyLk" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/6CDoZiqqOFxprufT3SMerzhveceZBzMg7ryda2UB1AAlbihlS9k5ECCrO_-OTyUlCgOAsfWzGT_upHxHfpv77--jrgMgaNgo8YiEY-MFJUMAntNAcpkB3ubQry3utYXwSgurNpgnRc-0DhV2QIxE874" alt=""><figcaption></figcaption></figure>

Enter in the following information into the form to create your Okta provider:

* Select “Okta” as the Provider.&#x20;
* For the Base URL, enter in the login url for your company. This may be something like “[https://login.example.com](https://login.example.com)”. You can find your base URL under Customizations > Brands in the Okta Dashboard.
* Enter the Client ID and Client Secret from the application page that we created in Step 2.&#x20;
* Note: you can always rotate your client secret as often as desired in accordance with your company’s internal security and compliance policies.\


Click “Save” to continue.

<figure><img src="https://lh7-us.googleusercontent.com/tD8wMxuEY98bZPUdP3NL8E-nJW-cEx8p3RxEqQRYR7_5Np4dXLl8g7vKDlcYeG1pBrYCQX4z7ahZc9H44BORwSwSusbpXGQb3qdRGL6kOvDavlyiqp3h-SN6_1FMO4kMi-pwDxItaRWeFqAO8qHbQYQ" alt=""><figcaption></figcaption></figure>

### Step 4: Login with SSO

Share the Organization ID of your SSO configuration with the users that are assigned access to GreenPlaces. Then, navigate to the GreenPlaces login page at [https://app.greenplaces.com/login](https://app.greenplaces.com/login).

<figure><img src="https://lh7-us.googleusercontent.com/6yBfFwvcuZXT1nzK2oEwX7HY2BrpkIWh0TholWUtWrlTODcxEudZBT7fH8flIbPfN7jEgnr3_hT65xGb8FSkT3hFGN9dlgRwvcpsDQD9AeKyF1RxI1NxvT61Mpjz9stvzNUodFxUiTtyzZMOw3666u0" alt=""><figcaption></figcaption></figure>

Click “Sign in with SSO” at the bottom of the screen. This will open a modal that asks for the Organization ID.&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/joz3KwNYDGNj5TkeHb5N2Ttjv4BYU1yTGw7dYxqrIHB8uKOMvZtjJQ7kqNsKOJGGBY8F8GLPXMRyJuokwngBpacKuU5pSkywMDc4qaeG_KY6q635wsfeIp-zfdIMqVgTiRkF6iXlG5CIaGEp4MLmmVs" alt=""><figcaption></figcaption></figure>

Enter the Organization ID in the text box. Click “Continue” to start the authentication process.

<figure><img src="https://lh7-us.googleusercontent.com/mMPQyOfGFIX4ibWGCdweMXnVRbBQPxfc5RWwAIjGnmEmpJTXODW1ALzVkcdTnokCEsQT8xDyTIWUrP1n2CsGQ1PpfkzM7KIHu-4RQ9QFtBTdKccmMafPBMsiFPTyeQXcVNqvTX-tbHWPF5MVo0zNdI4" alt=""><figcaption></figcaption></figure>

You will be directed to sign in with Okta. Enter in your login credentials with Okta and click “Sign in”.

If the user is assigned to the GreenPlaces application, they will be redirected to the GreenPlaces Dashboard.&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/T4xAIjisOOImpBTtIHc159grVphHNiBus0GiP9nBBn-_ysG8mzci8FgzIVxbBh7tTn8RTb9EU5wTaaSOMu6E-jpC_EnLWvI_3ufufLvWP4BXPjH1Xqr2_CSOj5Btr2MiQsDJPSXMNRTt5aqa75q3lSw" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="SAML 2.0" %}
For customers desiring to integrate single sign on using SAML 2.0 with GreenPlaces, single sign on settings can be configured from the GreenPlaces dashboard by your platform administrator.

To configure your SAML 2.0 settings, navigate to [https://app.greenplaces.com/single-sign-on](https://app.greenplaces.com/single-sign-on).&#x20;

### Step 1: Create a New Provider

Create a new provider and select "SAML 2.0" as the provider type. If you have your Identity Provider details, please enter them at this time. If you do not have your Identity Provider details, you can provide them at any time in the future. Click "Save" to continue to the next step.&#x20;

<figure><img src="https://2570820010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTiJi8l8l6l0IUqZbb2SJ%2Fuploads%2FpKNn9902lpECHAnxcnWs%2Fsso-identity-provider.png?alt=media&#x26;token=6b873acd-966a-4c5a-84cd-86d3b700c4c5" alt=""><figcaption></figcaption></figure>

#### Identity Provider (IdP) Details

**Entity ID:** This is typically expressed as a unique URL, such as https://onelogin.com/your-company/unique-id.&#x20;

**Login URL**: This is a URL where your users login, such as https://accounts.your-company.com.&#x20;

**Logout URL**: This is a URL where your users logout, such as https://accounts.your-company.com/logout.

**X509 Certificate String**: This should be the certificate that your IdP uses to encrypt messages between with a Service Provider (SP).

### Step 2: Copy SAML Details to your Identity Provider

After you click "Save", a dialog will appear with some information that is commonly requested by an IdP when adding a new Service Provider. You can access these values at any time by clicking "Details" on any SAML provider.

<figure><img src="https://2570820010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTiJi8l8l6l0IUqZbb2SJ%2Fuploads%2FJjmEqKcOWTZospnQmOgS%2Fsso-details.png?alt=media&#x26;token=d172a711-bfc7-4e6f-8c1c-6501475f6faf" alt=""><figcaption></figcaption></figure>

Copy these details to your IdP. If you would like any assistance with this process, please let us know and someone from our engineering team will be happy to help.

### Step 3: Assign Users from your Identity Provider

User accounts within GreenPlaces will be created using just-in-time provisioning. To disable access for a user account, you can deprovision the account from your identity provider.

**Required Attributes**

For each user, the SAML attributes for "email", "name" and "role" should be shared.&#x20;

1. `email`: The email address of theuser.
2. `name`: The full name or display name of the user.
3. `role`: The desired role for the user as a string. This can either be `manager` of `member`.
{% endtab %}
{% endtabs %}



