microsoftgraph / microsoftgraph/msgraph-sdk-java
Microsoft Graph Java SDK v.6.16.0 return empty site list with "*" and ""(empty) search query parameter
未關閉
還沒有人認領這個 Issue。
Status: Needs Investigation
- 主要語言
- Java
- 星號
- 444
- 分支
- 154
- 平均合併
- 18 小時 28 分鐘
- 30 天內合併 PR
- 4
描述
Describe the bug
Create GraphServiceClient with UsernamePasswordCredential provider
var provider = new UsernamePasswordCredentialBuilder()
.clientId("client_id")
.username("username")
.password("password");
var graphClient = new GraphServiceClient(provider);
Call graphClient.sites().get().getValue()
Expected result: receive a list of the sites
Actual result: an empty list was returned without any error.
GraphServiceClient with ClientSecretCredential provider works as expected on graphClient.sites().get().getValue() call.
SDK Version
6.16.0
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先使用 UsernamePasswordCredentialBuilder 透過 GraphServiceClient.sites().get().getValue() 重現此問題,然後將其與 ClientSecretCredential 進行比較。調查 SDK 在每個認證提供者下如何處理空白或 "*" 的網站搜尋查詢。當 username/password 流程傳回預期的網站清單,且未導致 client-secret 流程回歸時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- api, authentication
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100