Azure-Samples / Azure-Samples/ms-identity-msal-java-samples

Incorrect hint in source file

Offen
#37 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
untriaged
Vorherrschende Sprache
Java
Sterne
79
Forks
82
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

> 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)
```

### Which sample?

Java Spring WebAPI II

### Minimal steps to reproduce
The [comment in this file ](https://github.com/Azure-Samples/ms-identity-msal-java-samples/blob/main/4.%20Spring%20Framework%20Web%20App%20Tutorial/3-Authorization-II/protect-web-api/resource-api/src/main/resources/application.yml)is correct but the last line is incorrectly suggesting that the same value (guid) as enter for client-id should be used for app uri. In AAD app-uri may be different to the client id, e.g. appi://myapi is valid. The hint should be replaced to say Enter_your_app_uri_here.

### Any log messages given by the failure
>

### Expected/desired behavior
>The hint should be replaced to say:
app-id-uri: Enter_Your_App_Uri_Here

### 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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Öffne Open 4. Spring Framework Web App Tutorial/3-Authorization-II/protect-web-api/resource-api/src/main/resources/application.yml und überprüfe den Kommentar zu app-id-uri. Aktualisiere den Hinweis so, dass er einen Platzhalter für die app URI verwendet, statt die client ID nahezulegen, und verifiziere anschließend, dass die Beispielkonfiguration weiterhin die app URI von der client ID unterscheidet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java, spring
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.