Azure-Samples / Azure-Samples/ms-identity-docs-code-javascript
protected-api-access-protected-api - sample call returning 404
- Lenguaje dominante
- JavaScript
- Estrellas
- 62
- Forks
- 63
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
> 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
Guía de contribución
Línea de trabajo
Comienza siguiendo el README del sample "protected-api-access-protected-api" y reproduce la solicitud a http://localhost:8080/me con el encabezado Authorization indicado. Compara las instrucciones del sample con la respuesta de información del usuario esperada y actualiza la documentación o las instrucciones del sample para que la llamada a la API protegida funcione tal como se describe.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- api, authentication, documentation
- Tipo de issue
- Documentación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 30/100