-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauthConfig.json
59 lines (59 loc) · 1.52 KB
/
authConfig.json
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"credentials": {
"tenantID": "Enter_the_Tenant_Info_Here",
"clientID": "Enter_the_Application_Id_Here",
"clientSecret": "Enter_the_Client_Secret_Here"
},
"metadata": {
"authority": "login.microsoftonline.com",
"discovery": ".well-known/openid-configuration",
"version": "v2.0"
},
"settings": {
"validateIssuer": true,
"passReqToCallback": false,
"loggingLevel": "info",
"cacheTTL": 3600
},
"protectedResources": {
"graphAPI": {
"endpoint": "https://graph.microsoft.com/v1.0/me/checkMemberGroups",
"scopes": [
"User.Read",
"GroupMember.Read.All"
]
}
},
"protectedRoutes": {
"todolist": {
"endpoint": "/api",
"scopes": [
"access_via_group_assignments"
]
}
},
"accessMatrix": {
"todolist": {
"path": "/todolist",
"methods": [
"GET",
"POST",
"PUT",
"DELETE"
],
"groups": [
"Enter_the_Object_Id_of_GroupMember_Group_Here",
"Enter_the_Object_Id_of_GroupAdmin_Group_Here"
]
},
"dashboard": {
"path": "/dashboard",
"methods": [
"GET"
],
"groups": [
"Enter_the_Object_Id_of_GroupAdmin_Group_Here"
]
}
}
}