Azure-Samples / Azure-Samples/ms-identity-android-java
Startup configuration for Authentication and Authorization
- Langage dominant
- Java
- Étoiles
- 34
- Forks
- 30
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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
>I am unable to replicate this sample with an android application communicating with other end points that are not Microsoft Graph. I am successfully authenticating and generating both an id_token with the correct scope captured in the scp claim and an access token as well being used as a bearer token. I keep getting a 401 error both on my android app and postman. I am suspecting that it has to do with how I have setup the authentication and authorization in my startup file. Please provide some guidance with the scenario where my web application which users logon directly through AD B2C and also has end points which can been accessed by the android application after a user logons on and generates a bearer token based on the same logic documented here
### 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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
L’issue mentionne la configuration de démarrage, un client Android, Postman, AD B2C, des bearer tokens et une réponse 401. Commencez par comparer le flux d’authentification documenté de l’exemple avec le scénario demandé sans Graph API ; le travail est terminé lorsque des indications de configuration claires ont été ajoutées pour l’application web et les endpoints auxquels Android accède.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- android, java
- Domaine
- authentication, authorization, documentation, mobile
- Type d'issue
- Documentation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100