-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathconfig.js
More file actions
30 lines (27 loc) · 1.21 KB
/
Copy pathconfig.js
File metadata and controls
30 lines (27 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license.
* See LICENSE in the project root for license information.
*/
module.exports = {
creds: {
redirectUrl: 'http://localhost:3000/token',
clientID: 'ENTER YOUR APP ID HERE',
clientSecret: 'ENTER YOUR APP SECRET HERE',
identityMetadata: 'https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration',
allowHttpForRedirectUrl: true, // For development only
responseType: 'code',
validateIssuer: false, // For development only
responseMode: 'query',
scope: ['User.Read', 'Profile'] // permissions to request on behalf of the user
},
webhook : {
changeType: 'updated',
notificationUrl: 'https://{ENTER YOUR NGROK PUBLIC URL HERE}/listen',
resource: 'security/alerts',
clientState: 'cLIENTsTATEfORvALIDATION' // *
}
};
// * Setting this property will allow you to confirm that notifications
// you receive originate from the Microsoft Graph service. For this reason,
// the value of the property should remain secret and known only to your
// application and the Microsoft Graph service.