簡體   English   中英

在Cloud Foundry環境中使用S4 SDK執行ODATA V2調用時的DestinationAccessException錯誤

[英]DestinationAccessException Error in executing ODATA V2 calls using S4 SDK in cloud foundry environment

用於執行呼叫的目的地的身份驗證類型配置為oAuth2SAMLBearerAssertion ,業務用戶已經在系統中隨身攜帶了userid,email和其他基本詳細信息。 從SDK調用execute方法時,出現以下錯誤:

Caused by: com.sap.cloud.sdk.cloudplatform.connectivity.exception.DestinationAccessException: Failed to get authentication headers. Destination service returned error: Provided authorization grant is invalid. Exception was No user found with alias 'name@domain.com' (format: unspecified). For more information, consult the kernel traces or the OAuth 2.0 troubleshooting SAP note 1688545.

通過在配置的目標中添加以下屬性來解決此問題:

nameIdFormat urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress

這里nameIdFormat是附加的屬性名稱。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM