---
title: "シングルサインオン"
description: "Oktaまたは任意のOpenID Connectプロバイダーを通じて従業員をサインインさせ、IDプロバイダーのグループをPynのロールにマッピングし、サインインページで従業員に何が表示されるかを把握します。"
sidebar:
  label: 概要
  order: 0
area: integrations
feature: sso
appPath: /settings/integrations/available
lastVerified: 2026-10-23
version: "2026-10-23"
audience: admin
related:
  - integrations/sso/connect-okta
  - integrations/sso/connect-an-oidc-provider
  - settings/users
  - account/sign-in
intercom:
  - id: "16838066"
    title: Enabling Single Sign On (Pyn 2)
    url: https://intercom.help/pyn/en/articles/16838066-enabling-single-sign-on-pyn-2
    note: replaces
  - id: "16838252"
    title: Connect to Okta SSO (Pyn 2)
    url: https://intercom.help/pyn/en/articles/16838252-connect-to-okta-sso-pyn-2
  - id: "6002159"
    title: Connect to Okta SSO
    url: https://intercom.help/pyn/en/articles/6002159-connect-to-okta-sso
    note: "Pyn 1 article, kept for reference"
  - id: "9421970"
    title: Connect to Okta API
    url: https://intercom.help/pyn/en/articles/9421970-connect-to-okta-api
    note: "Pyn 1 article, kept for reference"
translation:
  source: integrations/sso/index.mdx
  sourceSha: eba0488a11ed7990d58d78551457511726971a51
---

シングルサインオンでは、Google、Microsoft、マジックリンクのサインインではなく、あなたのIDプロバイダーを通じてPynに入ります。Pynは2つの連携を提供します。OktaのOpenID Connectアプリ向けの**Okta**と、Keycloak、Okta、Microsoft Entra ID、Auth0、Ping Identity、またはほかのすべてのOpenID Connectプロバイダー向けの**Single Sign-On**です。どちらもトークンからgroupsクレームを読み取り、Pynのロールに変換できます。

![Connect single sign-on: choose the Provider, then enter the issuer, client ID, client secret and groups claim.](https://support.pyn.ai/media/integrations/sso/integrations-sso-connect.png)

## ここでできること

- issuer、クライアントID、クライアントシークレットで[Oktaを接続する](https://support.pyn.ai/ja/integrations/sso/connect-okta/)
- サーバーURLとrealmで指定するKeycloakを含め、[OpenID Connectプロバイダーを接続する](https://support.pyn.ai/ja/integrations/sso/connect-an-oidc-provider/)
- グループをロールにマッピングして、誰がオーナー、管理者、パワーユーザー、ユーザーかをプロバイダーに決めさせる
- 連携パネルに表示される**Sign-in link**を共有するか、サインインページの**Continue with SSO**を使ってもらう

## ロールのマッピングの仕組み

**Single Sign-On**パネルの**Group mappings**には編集可能な4つの一覧があります。**Owner groups**、**Admin groups**、**Power user groups**、**User groups**で、それぞれプロバイダーのgroupsクレームに含まれるグループ名のカンマ区切りのセットです。パネルはそのルールを「The most privileged match wins. Once any of these is set, the provider decides roles on every sign-in — someone who matches nothing drops to User — so map the group your owners are in before you fill the rest.」と説明しています。マッピングが設定されていなければ、ロールはこれまでどおり[ユーザー](https://support.pyn.ai/ja/settings/users/)で管理します。

**Okta**では、一覧（**Owner Groups**、**Admin Groups**、**Power User Groups**、**User Groups**）はPynサポートが設定し、パネルに読み取り専用で表示されます。ここでも最も権限の高い一致が優先されますが、どのグループにも一致しない人はすでに持っているロールを保ちます。

Pynはプロバイダーからユーザーを事前に作成しません。SSOで初めてサインインした人はそのときにアクティブなユーザーとして作成されます。ロールはグループのマッピング先のロールで、何も一致しなければUserです。事前に招待していた人は仕事用メールアドレスで紐づけられます。

## 従業員に見えるもの

サインインページには**Continue with SSO**があります。仕事用メールアドレスを入力すると、ページは「Enter your work email address and you will be taken to your organisation's single sign-on provider.」と説明します。そこでサインインするとPynに入ります。連携パネルの**Sign-in link**を開くと、メールアドレスの入力なしで同じことができます。セッションは24時間続きます。

## アプリ内の場所

Pynで`/settings/integrations/available`を開き、**Okta**または**Single Sign-On**のタイルを選びます。どちらもPynが有効にしたワークスペースでのみ表示されます。オンにするにはsupport@pynhq.comに依頼してください。

## 関連ページ

- [Oktaを接続する](https://support.pyn.ai/ja/integrations/sso/connect-okta/)：Oktaの手順です。
- [OpenID Connectプロバイダーを接続する](https://support.pyn.ai/ja/integrations/sso/connect-an-oidc-provider/)：それ以外のすべてのプロバイダーについてです。
- [ユーザー](https://support.pyn.ai/ja/settings/users/)：各ロールでできることについてです。
- [サインイン](https://support.pyn.ai/ja/account/sign-in/)：ほかのサインイン方法についてです。
