fix(all): Added scope variable as requested by a customer.

This commit is contained in:
Rodrigo Rodriguez 2021-02-16 15:31:06 -03:00
parent c55f9ed73c
commit 875043b86e
2 changed files with 1 additions and 3 deletions

View file

@ -370,7 +370,7 @@ export class AdminDialog extends IGBDialog {
min.instance.botEndpoint,
min.instance.botId,
'/token'
)}&state=${state}&response_mode=query`;
)}&scope=https://graph.microsoft.com/.default&state=${state}&response_mode=query`;
await min.conversationalService.sendText(min, step, Messages[locale].consent(url));

View file

@ -140,8 +140,6 @@ export class GBMinService {
GBServer.globals.server.use('/', express.static(url));
}
// Servers the bot information object via HTTP so clients can get
// instance information stored on server.