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

unclear prerequisites for demo

Aperta
#179 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
status:triage
Lingua principale
JavaScript
Stelle
108
Fork
207
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

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con Azure Communication Services Access Tokens Quickstart e con l’entry point menzionato issue-access-token.js, quindi esamina come viene eseguita la demo con webpack e come viene ottenuto il token. Chiarisci i prerequisiti e documenta un esempio minimo per chiamare un altro utente o collega, incluso ciò che è richiesto per l’utente Teams o la connessione ad Active Directory. Verifica il flusso documentato rispetto alla risposta 401 segnalata.

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

Valutazione

Stack tecnologico
javascript, node.js, webpack
Ambito
documentation
Tipo di issue
Documentazione
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.