Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Startup configuration for Authentication and Authorization

Aperta
#43 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
android, java

Direzione di ricerca

La issue menziona la configurazione di startup, un client Android, Postman, AD B2C, bearer token e una risposta 401. Inizia confrontando il flusso di autenticazione documentato dell'esempio con lo scenario richiesto senza Graph API; il lavoro è completato quando vengono aggiunte indicazioni chiare sulla configurazione per l'app web e gli endpoint a cui accede Android.

Scritto dal modello di indicizzazione a partire dal testo della issue.

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

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.

Lingua principale
Java
Stelle
34
Fork
30
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure-Samples/ms-identity-android-java

Tutte le issue di Azure-Samples/ms-identity-android-java

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.