@itentialopensource/adapter-microsoft_graph 1.4.5 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- package/AUTH.md +2 -0
- package/CHANGELOG.md +8 -0
- package/entities/.system/action.json +4 -4
- package/package.json +1 -1
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +1 -1
- package/sampleProperties.json +6 -6
package/AUTH.md
CHANGED
@@ -7,6 +7,8 @@ Companies periodically change authentication methods to provide better security.
|
|
7
7
|
### OAuth Authentication
|
8
8
|
The Microsoft Graph adapter requires OAuth Authentication. If you change authentication methods, you should change this section accordingly and merge it back into the adapter repository.
|
9
9
|
|
10
|
+
You will need to register an application with the <a href="https://learn.microsoft.com/en-us/graph/auth-register-app-v2" target="_blank">Microsoft identity platform</a>. After registering the application, you will be given an Application (client) ID and a Directory (tenant) ID. Then you need to click "add cert or secret" to create the client secret. This information will then be inserted into the adapter service instance configuration.
|
11
|
+
|
10
12
|
STEPS
|
11
13
|
1. Ensure you have access to a Microsoft Graph server and that it is running
|
12
14
|
2. Follow the steps in the README.md to import the adapter into IAP if you have not already done so
|
package/CHANGELOG.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"name": "getToken",
|
5
5
|
"protocol": "REST",
|
6
6
|
"method": "POST",
|
7
|
-
"entitypath": "{base_path}/{version}/
|
7
|
+
"entitypath": "{base_path}/{version}/{tenet_id}/oauth2/v2.0/token",
|
8
8
|
"requestSchema": "schemaTokenReq.json",
|
9
9
|
"responseSchema": "schemaTokenResp.json",
|
10
10
|
"timeout": 0,
|
@@ -13,9 +13,9 @@
|
|
13
13
|
"responseDatatype": "",
|
14
14
|
"headers": {},
|
15
15
|
"sso": {
|
16
|
-
"protocol": "",
|
17
|
-
"host": "",
|
18
|
-
"port":
|
16
|
+
"protocol": "https",
|
17
|
+
"host": "login.microsoftonline.com",
|
18
|
+
"port": 443
|
19
19
|
},
|
20
20
|
"responseObjects": [
|
21
21
|
{
|
package/package.json
CHANGED
Binary file
|
package/report/adapterInfo.json
CHANGED
package/sampleProperties.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"id": "Adapter-microsoft_graph",
|
3
3
|
"type": "MicrosoftGraph",
|
4
4
|
"properties": {
|
5
|
-
"host": "
|
5
|
+
"host": "graph.microsoft.com",
|
6
6
|
"port": 443,
|
7
7
|
"base_path": "/",
|
8
8
|
"choosepath": "",
|
@@ -25,14 +25,14 @@
|
|
25
25
|
"auth_field": "header.headers.Authorization",
|
26
26
|
"auth_field_format": "Bearer {token}",
|
27
27
|
"auth_logging": false,
|
28
|
-
"client_id": "",
|
29
|
-
"client_secret": "",
|
28
|
+
"client_id": "clientid",
|
29
|
+
"client_secret": "clientsecret",
|
30
30
|
"grant_type": "client_credentials",
|
31
31
|
"sensitive": [],
|
32
32
|
"sso": {
|
33
|
-
"protocol": "",
|
34
|
-
"host": "",
|
35
|
-
"port":
|
33
|
+
"protocol": "https",
|
34
|
+
"host": "login.microsoftonline.com",
|
35
|
+
"port": 443
|
36
36
|
},
|
37
37
|
"multiStepAuthCalls": [
|
38
38
|
{
|