Azure-Samples / Azure-Samples/communication-services-javascript-quickstarts

unclear prerequisites for demo

Offen
#179 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
status:triage
Vorherrschende Sprache
JavaScript
Sterne
107
Forks
207
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)
```

### Minimal steps to reproduce

* Checkout the code, run it using webpack command
* Copy Paste a token retrieved from Communication Server

We ONLY can call the echo service...

>

### Any log messages given by the failure

>

### Expected/desired behavior

Please add minimal example when we call a 'colleague' who has a team tab open.
What is required to call 'as a user' to another 'user'?

using the utility on our Communication Service, it is totally unclear where is the link with a teams user/active directory and having this demo working.

>

### OS and Version?
> Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

from console:
node issue-access-token.js

Azure Communication Services - Access Tokens Quickstart
Encountered an error
RestError: Denied by the resource provider.
{
"name": "RestError",
"code": "Denied",
"statusCode": 401,
"request": {
"url": "https://*****.europe.communication.azure.com/identities?api-version=2022-10-01",
"headers": {
"content-type": "application/json",
"accept": "application/json",
"accept-encoding": "gzip,deflate",
"user-agent": "azsdk-js-communication-identity/1.2.0 core-rest-pipeline/1.12.1 Node/v18.16.0 OS/(x64-Linux-6.2.0-34-generic)",
"x-ms-client-request-id": "d7e43fba-d52d-4648-9046-db0230301385",
"authorization": "REDACTED"
},

### Versions
>

### Mention any other details that might be useful

> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit dem Azure Communication Services Access Tokens Quickstart und dem erwähnten Einstiegspunkt issue-access-token.js. Überprüfe anschließend, wie die Demo mit webpack ausgeführt wird und wie das Token abgerufen wird. Kläre die Voraussetzungen und dokumentiere ein minimales Beispiel für den Anruf eines anderen Benutzers oder Kollegen, einschließlich dessen, was für den Teams-Benutzer oder die Active Directory-Verbindung erforderlich ist. Überprüfe den dokumentierten Ablauf anhand der gemeldeten 401-Antwort.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, node.js, webpack
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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