Azure-Samples / Azure-Samples/ms-identity-docs-code-javascript

protected-api-access-protected-api - sample call returning 404

未關閉
#88 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
62
分支
63
PR 合併指標
30 天內沒有已合併 PR

描述

> Please provide us with the following information:
> ---------------------------------------------------------------

### This issue is for a: (mark with an `x`)
```
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [X ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
>Follow the Readme for sample "protected-api-access-protected-api"

### Any log messages given by the failure
>unable to get a response to

http://localhost:8080/me with an Authorization header of Bearer {VALID-ACCESS-TOKEN}.

The Bearer {VALID-ACCESS-TOKEN}has permissions (scp: User_impersonation)

### Expected/desired behavior
>The api should return user info

### OS and Version?
> Windows11.

### Versions
>

### Mention any other details that might be useful
> I have asked a question here - https://learn.microsoft.com/en-us/answers/questions/1344784/on-behalf-of-flow-configuration-web-app-calls-web?page=1&orderby=helpful&comment=answer-1300064

and got a little ahead, But sample is still not working

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。