Apigee SSO モジュールをインストールした後、Edge UI で外部 IDP をサポートするように構成する必要があります。
Edge UI で外部 IDP を有効にすると、Edge UI は OAuth を使用して Management Server に接続します。Edge UI と Edge Management Server の間で OAuth トークンの有効期限切れを心配する必要はありません。有効期限切れのトークンは自動的に更新されます。
Edge UI を設定するには、構成ファイルを作成する必要があります。
IP1=hostname_or_IP_of_apigee_SSO # Comma separated list of URLs for the Edge UI, # in the format: http_or_https://IP_or_hostname_of_UI:9000. # You can have multiple URLs when you have multiple installations # of the Edge UI or you have multiple data centers. EDGEUI_PUBLIC_URIS=http_or_https://IP_or_hostname_of_UI:9000 # Publicly accessible URLs for Edge UI. EDGEUI_SSO_REGISTERD_PUBLIC_URIS=$EDGEUI_PUBLIC_URIS # Required variables # Default is "n" to disable external IDP support. EDGEUI_SSO_ENABLED=y # Information about apigee-sso. # Externally accessible IP or DNS of apigee-sso. SSO_PUBLIC_URL_HOSTNAME=$IP1 SSO_PUBLIC_URL_PORT=9099 # Default is http. Set to https if you enabled TLS on apigee-sso. SSO_PUBLIC_URL_SCHEME=http # SSO admin credentials as set when you installed apigee-sso. SSO_ADMIN_NAME=ssoadmin SSO_ADMIN_SECRET=Secret123 # The name of the OAuth client used to connect to apigee-sso. # The default client name is edgeui. EDGEUI_SSO_CLIENT_NAME=edgeui # Oauth client password using uppercase, lowercase, number, and special chars. EDGEUI_SSO_CLIENT_SECRET=ssoClient123 # If set, the existing EDGEUI client is deleted and new one is created. # The default value is "n". # Set to "y" when you configure your external IDP and change the value of # any of the EDGEUI_* properties. EDGEUI_SSO_CLIENT_OVERWRITE=y
Edge UI で外部 IDP のサポートを有効にするには:
- 次のコマンドを実行します。
/opt/apigee/apigee-service/bin/apigee-service edge-management-ui configure-sso -f configFile
Classic UI の場合は、
edge-management-ui
ではなくedge-ui
コンポーネントを使用します。
後でこれらの値を変更するには、構成ファイルを更新してコマンドを再実行します。