受信 OAuth のクライアント認証情報権限許可タイプがサポートされています。Summary<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Washington リリースまで、ServiceNow では受信 OAuth 要求に「クライアント認証情報」権限許可タイプの使用をサポートしていませんでした。クライアント認証情報の権限許可タイプは、アプリケーションレベルのアクセスに基づいて動作します。ServiceNow の設計上、すべての要求がユーザーに関連付けられています。したがって、アプリケーションレベルのアクセスに基づいて動作する権限許可タイプの使用はサポートされていませんでした。 Washington リリース以降、ServiceNow では、OAuth エンティティレコード内のユーザーにリンクすることで、「クライアント認証情報」権限許可タイプをサポートするオプションが導入されました。 Facts<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Postman で次のエラーメッセージが表示されることがあります。 {"error": {"message": "User Not Authenticated","detail": "Required to provide Auth information"},"status": "failure"} OR {"error_description": "access_denied","error": "server_error"} Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Washington 以降 Instructions<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 受信クライアント認証情報の権限許可タイプは、システムプロパティを介して制御できる機能です。デフォルトでは、このシステムプロパティは false です。 クライアント認証情報の権限許可タイプを使用するには、次の手順を実行する必要があります。 glide.oauth.inbound.client.credential.grant_type.enabled システムプロパティの作成 名前:glide.oauth.inbound.client.credential.grant_type.enabled タイプ:true|false 値:true 以下は、受信 OAuth 要求の「クライアント認証情報」権限許可タイプを設定する手順です。 1.[System OAuth -> Application Registry] に移動します。 2.「新規」をクリックします。 3.[外部クライアント用の OAuth API エンドポイントを作成する] をクリックします。 4.名前を設定します。 5.[デフォルトの権限許可タイプ] として [クライアント認証情報] を選択します。 6.[OAuth アプリケーションユーザー] の虫眼鏡をクリックして、リストからユーザーを検索します。 7.統合ユーザーレコードを選択します。 8.「保存」をクリックします。 セットアップの準備ができました。POSTMAN または同等のツールを使用して、この構成をテストできます。POSTMANを使用してこれをテストしました。以下のスクリーンショットをご覧ください。 Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 詳細については、以下のドキュメントを参照してください。 https://docs.servicenow.com/bundle/washingtondc-platform-security/page/integrate/authentication/concept/client-credentials.html