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

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

Aperta
#88 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
62
Fork
63
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

> 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.