@itentialopensource/adapter-microsoft_graph 1.4.4 → 1.4.6

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -1,4 +1,20 @@
1
1
 
2
+ ## 1.4.6 [11-23-2024]
3
+
4
+ * update auth docs
5
+
6
+ See merge request itentialopensource/adapters/adapter-microsoft_graph!18
7
+
8
+ ---
9
+
10
+ ## 1.4.5 [10-15-2024]
11
+
12
+ * Changes made at 2024.10.14_19:50PM
13
+
14
+ See merge request itentialopensource/adapters/adapter-microsoft_graph!17
15
+
16
+ ---
17
+
2
18
  ## 1.4.4 [09-01-2024]
3
19
 
4
20
  * update dependencies and metadata
@@ -4,7 +4,7 @@
4
4
  "name": "getToken",
5
5
  "protocol": "REST",
6
6
  "method": "POST",
7
- "entitypath": "{base_path}/{version}/login",
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": 0
16
+ "protocol": "https",
17
+ "host": "login.microsoftonline.com",
18
+ "port": 443
19
19
  },
20
20
  "responseObjects": [
21
21
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-microsoft_graph",
3
- "version": "1.4.4",
3
+ "version": "1.4.6",
4
4
  "description": "This adapter integrates with system described as: microsoftGraph.",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.44.7",
@@ -53,7 +53,7 @@
53
53
  "author": "Itential",
54
54
  "homepage": "https://gitlab.com/itentialopensource/adapters/adapter-microsoft_graph#readme",
55
55
  "dependencies": {
56
- "@itentialopensource/adapter-utils": "^5.7.0",
56
+ "@itentialopensource/adapter-utils": "^5.9.4",
57
57
  "acorn": "^8.12.1",
58
58
  "ajv": "^8.17.1",
59
59
  "axios": "^1.7.4",
Binary file
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.4.3",
2
+ "version": "1.4.5",
3
3
  "configLines": 11197,
4
4
  "scriptLines": 1783,
5
5
  "codeLines": 20708,
@@ -2,7 +2,7 @@
2
2
  "id": "Adapter-microsoft_graph",
3
3
  "type": "MicrosoftGraph",
4
4
  "properties": {
5
- "host": "localhost",
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": 0
33
+ "protocol": "https",
34
+ "host": "login.microsoftonline.com",
35
+ "port": 443
36
36
  },
37
37
  "multiStepAuthCalls": [
38
38
  {
@@ -1,9 +0,0 @@
1
- {
2
- "ComplianceEntries": [
3
- {
4
- "name": "Compliance Summary",
5
- "numInvalidProjects": 0,
6
- "numValidProjects": 0
7
- }
8
- ]
9
- }
@@ -1,5 +0,0 @@
1
- ---------------------------------------------------------------------------------------------
2
- **** Project Compliance Summary ****
3
- 0 project(s) are not valid
4
- 0 project(s) are valid
5
- ---------------------------------------------------------------------------------------------