protected-api-access-protected-api - sample call returning 404
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 30/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- api, authentication, documentation
Research direction
Start by following the README for the "protected-api-access-protected-api" sample and reproduce the request to http://localhost:8080/me with the stated Authorization header. Compare the sample instructions with the expected user-info response and update the documentation or sample guidance so the protected API call works as described.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- JavaScript
- Stars
- 63
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure-Samples/ms-identity-docs-code-javascript
-
Difficulty 1/5 Under an hour Newbie friendliness 52/100
Azure-Samples/ms-identity-docs-code-javascript#175 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in Azure-Samples/ms-identity-docs-code-javascript
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·