Azure-Samples / Azure-Samples/ms-identity-android-java

Access Token for non-Microsoft Graph API

Aperta
#42 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
34
Fork
30
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
>

### 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
I am trying to access an API on the same server that my android app is registered. The process of logging into the android app works fine. I have attempted to use the IAuthenticationResult.getAccessToken() generated to access an API on the same server as a bearer token unsuccessfully. I get a 401 Unauthorized error message both on Postman and my application. The sample applications available including this one work fine with Microsoft Graph but I haven't seen any sample accessing other forms of API including end points hosted in the same client.
> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

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.