> For the complete documentation index, see [llms.txt](https://docs.allganize.ai/alli-llm-app-market/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.allganize.ai/alli-llm-app-market/manual/project-settings/external-service-integration/okta-authentication.md).

# Okta認証

## 概要

Okta認証を使用して、エンドユーザーがAlli LLM App Marketを使用する際のセキュリティを強化することができます。 \
Alli LLM App Marketのダッシュボード上でメンバーが Okta 認証を設定すると、エンドユーザーは Okta 認証を受けた場合のみ アプリランチャー と アプリ を使用することができるようになります。

<mark style="color:red;">**※Alli Works へのOkta認証機能はオプション機能の為、こちらの機能をお使いになりたい場合は、担当セールスまたはカスタマーサクセスまでご連絡ください。**</mark>

## Alli LLM App MarketダッシュボードとOktaダッシュボード上での設定

1. Oktaの管理者ダッシュボードにログインしてください。<br>

   <figure><img src="/files/Xod7GFFus33R8B6UHRHK" alt=""><figcaption></figcaption></figure>

2. Applications > Applications 内の「**Click Create App Integration**」 ボタンを選択します。<br>

   <figure><img src="/files/V51REgK9u5l66C9qLqOs" alt=""><figcaption></figcaption></figure>

3. &#x20;「***Sign-in method**」*&#x3068;「***Application type」**&#x3092;選択してください。*<br>

   <figure><img src="/files/vw8bcasA8kbQtqKOah8a" alt=""><figcaption></figcaption></figure>

   ①「***Sign-in method**」は、"**OIDC (OpenID Connect)"***\
   「***Application type」**&#x306F;、"**Single-Page Application"**&#x3092;選択してください。*\
   \
   *アプリケーション作成画面が開きましたら次に進みます。*<br>

4. Alli LLM App Market ダッシュボード > プロジェクト設定 > 外部サービス連携 > Okta にアクセスし、下記**A,B,C**の値を保存してください。<br>

   <figure><img src="/files/yzOEeD01uwQwuRvTXHgM" alt=""><figcaption></figcaption></figure>

   A,B,Cの値は次のステップで使用しますので控えておいてください。<br>

5. Okta ダッシュボード に Okta アプリケーションの情報を入力します。<br>

   <figure><img src="/files/KjvA1p0PLp88vpJxLTAu" alt=""><figcaption></figcaption></figure>

   ①アプリ連携名を入力（例：Alli）

   ②認可タイプの「リフレッシュ・トークン」オプションをチェックします。

   ③4.の値Aをコピーして貼り付けます

   ④4.の値Bをコピーして貼り付けます

   ⑤4.の値Cをコピーして貼り付けます

   ⑥アクセス制御のオプションを選択します<br>

   「***Skip group assignment for now***」を選択した場合は、ユーザーまたはグループを後ほど手動で割り当てる必要があります。<br>

   「Save」ボタンをクリックすると、以下のページが表示されます。<br>

   <figure><img src="/files/jRrYW29qXjNs2mG8iRPo" alt=""><figcaption></figcaption></figure>

   上記画面内 1.のClient IDは次のステップで使用しますので控えておいてください。

6. Alli LLM App Market ダッシュボード > プロジェクト設定 > 外部サービス連携 > Okta にアクセスし、下記D,Eの情報を入力してください。

   <figure><img src="/files/9rPmEPQQr4JLmEESrmcl" alt=""><figcaption></figcaption></figure>

   D: 5.で控えておいた1.の値(ClientID)をコピーして貼り付けます<br>

   E:手動で入力してください。これは Okta アプリケーションの URL です。 Okta インスタンス名に基づいている必要があります。\
   \
   例)\
   下記の情報でログインしている場合、

   https\://{your\_okta\_instance\_name}-admin.okta.com<br>

   次の値をEに入力します

   https\://{your\_okta\_instance\_name}.okta.com/oauth2/default\
   &#x20;<mark style="color:red;">**{your\_okta\_instance\_name}以降の「-admin」の文字列が削除されていることにご注意ください。**</mark><br>

7. 接続ボタンをクリックし、以下のようなメッセージが表示されていれば接続は完了です。<br>

   <figure><img src="/files/lt8v2tuxhrc5y4wVm7io" alt=""><figcaption></figcaption></figure>

## Okta認証を使用したアプリランチャーへのアクセス(エンドユーザー画面)&#x20;

プロジェクトにOkta 認証が接続されている場合、エンドユーザーは Okta 認証を受けて アプリランチャーにアクセスをする必要があります。<br>

<figure><img src="/files/izMDCIDostoJhCwY2opk" alt=""><figcaption></figcaption></figure>

1. アプリランチャーにアクセス\
   アクセスする方法は下記の3つです。\
   ①「アプリ管理」>「アプリランチャー」ボタンのクリック

   ②プロジェクト設定 > アプリ ランチャー管理 > コピー ボタンのクリック

   ③アプリ ランチャーの URL を直接指定してアクセス
2. Oktaの認証画面が立ち上がります。\
   エンドユーザーが自身のID/PWでログインが完了するとアクセスが完了します。<br>

   <figure><img src="/files/Bc6rEQ1n3TQewRKRdosY" alt=""><figcaption></figcaption></figure>

   <figure><img src="/files/w3gyFxc94m7w4J1fL6LH" alt=""><figcaption></figcaption></figure>

Oktaからサインアウトする場合は、アプリランチャー画面の「サインアウト」ボタンを選択してください。

<figure><img src="/files/TC4ZEyC4v9DuPAuhxzES" alt="" width="563"><figcaption></figcaption></figure>

## Okta認証を使用した各アプリへのアクセス(エンドユーザー画面)&#x20;

プロジェクトにOkta 認証が接続されている場合、エンドユーザーは Okta 認証を受けて各アプリにアクセスをする必要があります。

1. 各アプリにアクセス\
   Okta認証を介したアクセスは下記の4つです。\
   ①アプリマーケット > 各アプリをクリック > 「アプリをテストする」をクリック

   ②アプリ管理 > (公開)アプリをクリック > 「アプリテスト」をクリック

   ③各アプリの URLに直接アクセス\
   　 (\[アプリ管理] > \[アプリ] > \[その他] ボタン > \[URL をコピー] から)

   ④アプリランチャー > アプリをクリック
2. アプリランチャーと同様にOktaの認証画面が立ち上がります。

ただし、エンドユーザーが アプリランチャーにアクセスするために既に Okta 認証を受けている場合は、各アプリへのアクセス時にOkta 認証を行う必要はありません。

## 更新情報

2024年5月　"**会話型アプリ**"へのOkta認証の対応をサポートいたしました。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.allganize.ai/alli-llm-app-market/manual/project-settings/external-service-integration/okta-authentication.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
