Azure-Samples / Azure-Samples/ms-identity-msal-java-samples
resource-api is not validating token signatures
- Lingua principale
- Java
- Stelle
- 79
- Fork
- 82
- 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`)
```
- [X ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```
### Minimal steps to reproduce
1. Configure with a valid api registration in AAD
2. Use Postman client to get an access token to the configured API
3. Modify the token by changing some of the signature characters (even one)
4. Call the API with the new token
5. Note that the API does not reject the token
### Any log messages given by the failure
>
### Expected/desired behavior
>
### OS and Version?
> Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
### Versions
>
### Mention any other details that might be useful
> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia nel progetto resource-api riproducendo il flusso segnalato con un AAD access token ottenuto tramite Postman, quindi ripetilo dopo aver modificato un carattere della firma. Traccia la configurazione di convalida dei token dell'API e confronta il suo comportamento con gli endpoint di metadati e JWKS di AAD; il lavoro è completato quando il token modificato viene rifiutato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- api, authentication, security
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100