scimgateway 4.4.4 → 4.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -56
- package/config/plugin-api.json +7 -6
- package/config/plugin-entra-id.json +2 -5
- package/config/plugin-scim.json +4 -10
- package/lib/plugin-api.js +118 -111
- package/lib/plugin-entra-id.js +88 -61
- package/lib/plugin-ldap.js +5 -6
- package/lib/plugin-loki.js +3 -3
- package/lib/plugin-mongodb.js +4 -5
- package/lib/plugin-mssql.js +3 -4
- package/lib/plugin-saphana.js +3 -4
- package/lib/plugin-scim.js +88 -61
- package/lib/plugin-soap.js +4 -3
- package/lib/scim-stream.js +1 -1
- package/lib/scimgateway.js +184 -211
- package/lib/utils.js +194 -14
- package/package.json +1 -1
- package/test/lib/plugin-api.js +25 -30
package/README.md
CHANGED
|
@@ -1147,9 +1147,27 @@ MIT © [Jarle Elshaug](https://www.elshaug.xyz)
|
|
|
1147
1147
|
|
|
1148
1148
|
## Change log
|
|
1149
1149
|
|
|
1150
|
+
### v4.4.6
|
|
1151
|
+
|
|
1152
|
+
[Improved]
|
|
1153
|
+
|
|
1154
|
+
- Some PUT logic redesign. More granularity on mulitvalues, instead of including all elements, now only those that differ are sent to modifyUser.
|
|
1155
|
+
|
|
1156
|
+
### v4.4.5
|
|
1157
|
+
|
|
1158
|
+
[Fixed]
|
|
1159
|
+
|
|
1160
|
+
- PATCH group members=[] should remove all members
|
|
1161
|
+
- scim-stream modify user fix
|
|
1162
|
+
|
|
1163
|
+
[Improved]
|
|
1164
|
+
|
|
1165
|
+
- plugin-entra-id, plugin-scim and plugin-api having updated `REST endpoint helpers-template` that includes `tokenAuth` (now used by plugin-api). Auth PassTrhough also supported for oauth/tokenAuth endpoint
|
|
1166
|
+
- PUT improvements
|
|
1167
|
+
|
|
1150
1168
|
### v4.4.4
|
|
1151
1169
|
|
|
1152
|
-
[
|
|
1170
|
+
[Improved]
|
|
1153
1171
|
|
|
1154
1172
|
- New configuration: **scim.skipMetaLocation**
|
|
1155
1173
|
true or false, default false. If set to true, `meta.location` which contains protocol and hostname from request-url, will be excluded from response e.g. `"{...,meta":{"location":"https://my-company.com/<...>"}}`. If using reverse proxy and not including headers `X-Forwarded-Proto` and `X-Forwarded-Host`, originator will be the proxy and we might not want to expose internal protocol and hostname being used by the proxy request.
|
|
@@ -1162,13 +1180,13 @@ Below is an example of nginx reverse proxy configuration supporting SCIM Gateway
|
|
|
1162
1180
|
|
|
1163
1181
|
### v4.4.3
|
|
1164
1182
|
|
|
1165
|
-
[
|
|
1183
|
+
[Improved]
|
|
1166
1184
|
|
|
1167
1185
|
- Dependencies bump
|
|
1168
1186
|
|
|
1169
1187
|
### v4.4.2
|
|
1170
1188
|
|
|
1171
|
-
[
|
|
1189
|
+
[Improved]
|
|
1172
1190
|
|
|
1173
1191
|
- scim-stream subscriber configuration have been changed:
|
|
1174
1192
|
old: `"convertRolesToGroups": false`
|
|
@@ -1177,7 +1195,7 @@ Below is an example of nginx reverse proxy configuration supporting SCIM Gateway
|
|
|
1177
1195
|
|
|
1178
1196
|
### v4.4.1
|
|
1179
1197
|
|
|
1180
|
-
[
|
|
1198
|
+
[Improved]
|
|
1181
1199
|
|
|
1182
1200
|
- scim-stream subscriber using latest api and some additional recovery logic
|
|
1183
1201
|
Prerequisite: [SCIM Stream](https://elshaug.xyz/docs/scim-stream) version > v1.0.0
|
|
@@ -1188,7 +1206,7 @@ Below is an example of nginx reverse proxy configuration supporting SCIM Gateway
|
|
|
1188
1206
|
|
|
1189
1207
|
### v4.4.0
|
|
1190
1208
|
|
|
1191
|
-
[
|
|
1209
|
+
[Improved]
|
|
1192
1210
|
|
|
1193
1211
|
- SCIM Gateway now offers enhanced functionality with support for message subscription and automated provisioning using [SCIM Stream](https://elshaug.xyz/docs/scim-stream)
|
|
1194
1212
|
- plugin-entra-id, plugin-scim and plugin-api having updated `REST endpoint helpers-template` to address and resolve endpoint throttling
|
|
@@ -1197,7 +1215,7 @@ Note, module soap is not default included anymore. SOAP based plugins e.g., plug
|
|
|
1197
1215
|
|
|
1198
1216
|
### v4.3.0
|
|
1199
1217
|
|
|
1200
|
-
[
|
|
1218
|
+
[Improved]
|
|
1201
1219
|
|
|
1202
1220
|
- configuration `scimgateway.scim.port` can now be set to 0 or removed for deactivating listener
|
|
1203
1221
|
- configuration `cimgateway.scim.usePutSoftSync` set to `true` now includes additional logic that do not change existing user attributes not included in PUT body content
|
|
@@ -1214,13 +1232,13 @@ Note, module soap is not default included anymore. SOAP based plugins e.g., plug
|
|
|
1214
1232
|
|
|
1215
1233
|
- plugin-loki incorrect unique filtering
|
|
1216
1234
|
|
|
1217
|
-
[
|
|
1235
|
+
[Improved]
|
|
1218
1236
|
|
|
1219
1237
|
- Dependencies bump
|
|
1220
1238
|
|
|
1221
1239
|
### v4.2.15
|
|
1222
1240
|
|
|
1223
|
-
[
|
|
1241
|
+
[Improved]
|
|
1224
1242
|
|
|
1225
1243
|
- Plugin can set error statusCode returned by scimgateway through error object key `err.name`. This can be done by adding suffix `#code` to err.name where code is HTTP status code e.g., `err.name += '#401'`. This can be useful for auth.PassThrough and other scenarios like createUser where user already exist (409) and modifyUser where user does not exist (404)
|
|
1226
1244
|
|
|
@@ -1240,13 +1258,13 @@ Note, module soap is not default included anymore. SOAP based plugins e.g., plug
|
|
|
1240
1258
|
|
|
1241
1259
|
### v4.2.12
|
|
1242
1260
|
|
|
1243
|
-
[
|
|
1261
|
+
[Improved]
|
|
1244
1262
|
|
|
1245
1263
|
- Schemas, ServiceProviderConfig and ResourceType can be customized if `lib/scimdef-v2.js (or scimdef-v1.js)` exists. Original scimdef-v2.js/scimdef-v1.js can be copied from node_modules/scimgateway/lib to your plugin/lib and customized.
|
|
1246
1264
|
|
|
1247
1265
|
### v4.2.11
|
|
1248
1266
|
|
|
1249
|
-
[
|
|
1267
|
+
[Improved]
|
|
1250
1268
|
|
|
1251
1269
|
Note, obsolete - see v4.2.15 comments
|
|
1252
1270
|
|
|
@@ -1272,7 +1290,7 @@ Note, obsolete - see v4.2.15 comments
|
|
|
1272
1290
|
|
|
1273
1291
|
### v4.2.7
|
|
1274
1292
|
|
|
1275
|
-
[
|
|
1293
|
+
[Improved]
|
|
1276
1294
|
|
|
1277
1295
|
- new plugin configuration **scim.usePutGroupMemberOfUser** can be set to true or false, default false. `PUT /Users/<user>` will replace user with body content. If body contains groups and usePutGroupMemberOfUser=true, groups will be set on user object (groups are member of user) instead of default user member of groups
|
|
1278
1296
|
- plugin-forwardinc renamed to plugin-soap
|
|
@@ -1297,7 +1315,7 @@ Note, obsolete - see v4.2.15 comments
|
|
|
1297
1315
|
|
|
1298
1316
|
### v4.2.4
|
|
1299
1317
|
|
|
1300
|
-
[
|
|
1318
|
+
[Improved]
|
|
1301
1319
|
|
|
1302
1320
|
- provided plugins now supports Auth PassThrough. See helpers methods like getClientIdentifier(), getCtxAuth() and changes in doRequest() and getServiceClient(). In general, PassThrough is supported for both basic and bearer auth. Password/secret/client_secret are then not needed in configuration file. Username may still be needed in configuration file depended on how logic is implemented (ref. mongodb/mssql) and what auth beeing used (basic/bearer). Plugin scim, api and azure-ad are all REST plugins having the same helpers (but, some minor differences to azure-ad using OAuth and the getAccessToken() method)
|
|
1303
1321
|
|
|
@@ -1323,7 +1341,7 @@ Note, obsolete - see v4.2.15 comments
|
|
|
1323
1341
|
|
|
1324
1342
|
### v4.2.0
|
|
1325
1343
|
|
|
1326
|
-
[
|
|
1344
|
+
[Improved]
|
|
1327
1345
|
|
|
1328
1346
|
- Kubernetes health checks and shutdown handler support
|
|
1329
1347
|
|
|
@@ -1339,7 +1357,7 @@ Note, obsolete - see v4.2.15 comments
|
|
|
1339
1357
|
|
|
1340
1358
|
### v4.1.15
|
|
1341
1359
|
|
|
1342
|
-
[
|
|
1360
|
+
[Improved]
|
|
1343
1361
|
|
|
1344
1362
|
- Authentication PassThrough for passing the authentication directly to plugin without being processed by scimgateway. Plugin can then pass this authentication to endpoint for avoid maintaining secrets at the gateway.
|
|
1345
1363
|
|
|
@@ -1376,7 +1394,7 @@ Note, obsolete - see v4.2.15 comments
|
|
|
1376
1394
|
|
|
1377
1395
|
### v4.1.12
|
|
1378
1396
|
|
|
1379
|
-
[
|
|
1397
|
+
[Improved]
|
|
1380
1398
|
|
|
1381
1399
|
- Dependencies bump
|
|
1382
1400
|
|
|
@@ -1388,7 +1406,7 @@ Note, obsolete - see v4.2.15 comments
|
|
|
1388
1406
|
|
|
1389
1407
|
### v4.1.10
|
|
1390
1408
|
|
|
1391
|
-
[
|
|
1409
|
+
[Improved]
|
|
1392
1410
|
|
|
1393
1411
|
- new plugin configuration `payloadSize`. If not defined, default "1mb" will be used. There are cases which large groups could exceed default size and you may want to increase by setting your own size e.g. "5mb"
|
|
1394
1412
|
**Thanks to Sam Murphy**
|
|
@@ -1414,7 +1432,7 @@ Note, obsolete - see v4.2.15 comments
|
|
|
1414
1432
|
|
|
1415
1433
|
**Note, this version breaks compability with previous versions of plugin-azure-ad**
|
|
1416
1434
|
|
|
1417
|
-
[
|
|
1435
|
+
[Improved]
|
|
1418
1436
|
|
|
1419
1437
|
- endpointMap moved from scimgateway to plugin-azure-ad
|
|
1420
1438
|
- plugin-azure-ad.json configuration file now includes attribute mapping giving flexibility to add or customize AAD-SCIM attribute mappings
|
|
@@ -1422,13 +1440,13 @@ Note, obsolete - see v4.2.15 comments
|
|
|
1422
1440
|
|
|
1423
1441
|
### v4.1.6
|
|
1424
1442
|
|
|
1425
|
-
[
|
|
1443
|
+
[Improved]
|
|
1426
1444
|
|
|
1427
1445
|
- Dependencies bump
|
|
1428
1446
|
|
|
1429
1447
|
### v4.1.5
|
|
1430
1448
|
|
|
1431
|
-
[
|
|
1449
|
+
[Improved]
|
|
1432
1450
|
|
|
1433
1451
|
SCIM Gateway related news:
|
|
1434
1452
|
|
|
@@ -1446,7 +1464,7 @@ SCIM Gateway related news:
|
|
|
1446
1464
|
|
|
1447
1465
|
- createUser response did not include the id that was returned by plugin
|
|
1448
1466
|
|
|
1449
|
-
[
|
|
1467
|
+
[Improved]
|
|
1450
1468
|
|
|
1451
1469
|
- PUT (Replace User) now includes group handling. Using configuration `scim.usePutSoftsync=true` will prevent removing any existing groups that are not included in body.groups
|
|
1452
1470
|
|
|
@@ -1466,7 +1484,7 @@ SCIM Gateway related news:
|
|
|
1466
1484
|
|
|
1467
1485
|
|
|
1468
1486
|
### v4.1.2
|
|
1469
|
-
[
|
|
1487
|
+
[Improved]
|
|
1470
1488
|
|
|
1471
1489
|
- endpointMapper supporting one to many mappings using a comma separated list of attributes in the `mapTo`
|
|
1472
1490
|
|
|
@@ -1484,7 +1502,7 @@ SCIM Gateway related news:
|
|
|
1484
1502
|
|
|
1485
1503
|
|
|
1486
1504
|
### v4.1.1
|
|
1487
|
-
[
|
|
1505
|
+
[Improved]
|
|
1488
1506
|
|
|
1489
1507
|
- plugin-ldap support userFilter/groupFilter configuration for restricting scope
|
|
1490
1508
|
|
|
@@ -1498,7 +1516,7 @@ SCIM Gateway related news:
|
|
|
1498
1516
|
}
|
|
1499
1517
|
|
|
1500
1518
|
### v4.1.0
|
|
1501
|
-
[
|
|
1519
|
+
[Improved]
|
|
1502
1520
|
|
|
1503
1521
|
- Supporting OAuth Client Credentials authentication
|
|
1504
1522
|
|
|
@@ -1522,7 +1540,7 @@ SCIM Gateway related news:
|
|
|
1522
1540
|
|
|
1523
1541
|
|
|
1524
1542
|
### v4.0.1
|
|
1525
|
-
[
|
|
1543
|
+
[Improved]
|
|
1526
1544
|
|
|
1527
1545
|
- create user/group supporting externalId
|
|
1528
1546
|
- plugin-restful renamed to plugin-scim
|
|
@@ -1628,7 +1646,7 @@ We also need to add logic from existing getGroup() and getGroupMembers()
|
|
|
1628
1646
|
|
|
1629
1647
|
- for SCIM 2.0 exploreUsers/exploreGroups now includes schemas/resourceType on each object in the Resources response. This may be required by som IdP's.
|
|
1630
1648
|
|
|
1631
|
-
[
|
|
1649
|
+
[Improved]
|
|
1632
1650
|
- Dependencies bump
|
|
1633
1651
|
|
|
1634
1652
|
### v3.2.9
|
|
@@ -1642,7 +1660,7 @@ We also need to add logic from existing getGroup() and getGroupMembers()
|
|
|
1642
1660
|
- plugin-ldap `objectGUID` introduced in v.3.2.7 had some missing logic
|
|
1643
1661
|
|
|
1644
1662
|
### v3.2.7
|
|
1645
|
-
[
|
|
1663
|
+
[Improved]
|
|
1646
1664
|
|
|
1647
1665
|
- plugin-ldap supports using Active Directory `objectGUID` instead of `dn` mapped to `id`
|
|
1648
1666
|
configuration example:
|
|
@@ -1670,7 +1688,7 @@ We also need to add logic from existing getGroup() and getGroupMembers()
|
|
|
1670
1688
|
- default "type converted object" logic may fail on requests that includes a mix of type and blank type. Now blank type will be converted to type "undefined", and all types must be unique within the same request. "type converted object" logic can be turned off by configuration `scim.skipTypeConvert = true`
|
|
1671
1689
|
- plugin-loki supporting type = "undefined"
|
|
1672
1690
|
|
|
1673
|
-
[
|
|
1691
|
+
[Improved]
|
|
1674
1692
|
|
|
1675
1693
|
- new configuration `scim.skipTypeConvert` allowing overriding the default behaviour "type converted object" when set to true. See attribute list for details
|
|
1676
1694
|
- `scimgateway.isMultivalue` used by plugin-loki have been changed, and **custom plugins using this method must be updated**
|
|
@@ -1699,7 +1717,7 @@ We also need to add logic from existing getGroup() and getGroupMembers()
|
|
|
1699
1717
|
- plugins missing logic for handling the virtual readOnly user attribute `groups` (when `"user member of groups"`) e.g. GET /Users/bjensen should return all user attributes including the virtual `groups` attribute. Now this user attribute will be automatically handled by scimgateway if not included in the plugin response.
|
|
1700
1718
|
- Pre and post actions onAddGroups/onRemoveGroups introduced in v.3.2.0 has been withdrawn
|
|
1701
1719
|
|
|
1702
|
-
[
|
|
1720
|
+
[Improved]
|
|
1703
1721
|
|
|
1704
1722
|
- scimgateway will do plugin response filtering according to requested attributes/excludedAttributes
|
|
1705
1723
|
|
|
@@ -1712,12 +1730,12 @@ We also need to add logic from existing getGroup() and getGroupMembers()
|
|
|
1712
1730
|
- SCIM v2.0 none core schema attributes handling
|
|
1713
1731
|
- response not always including correct schemas
|
|
1714
1732
|
|
|
1715
|
-
[
|
|
1733
|
+
[Improved]
|
|
1716
1734
|
|
|
1717
1735
|
- roles now using array instead of objects based on type. **Note, this may break your custom plugins if roles logic are in use**
|
|
1718
1736
|
|
|
1719
1737
|
### v3.2.0
|
|
1720
|
-
[
|
|
1738
|
+
[Improved]
|
|
1721
1739
|
|
|
1722
1740
|
- ipAllowList for restricting access to allowlisted IP addresses or subnets e.g. Azure AD IP-range
|
|
1723
1741
|
Configuration example:
|
|
@@ -1746,7 +1764,7 @@ We also need to add logic from existing getGroup() and getGroupMembers()
|
|
|
1746
1764
|
|
|
1747
1765
|
|
|
1748
1766
|
### v3.1.0
|
|
1749
|
-
[
|
|
1767
|
+
[Improved]
|
|
1750
1768
|
|
|
1751
1769
|
- plugin-ldap a general LDAP plugin pre-configured for Microsoft Active Directory. Using endpointMapper logic (like plugin-azure-ad) for attribute flexibility
|
|
1752
1770
|
- Pre and post actions onAddGroups/onRemoveGroups can be configured and needed logic to be defined in plugin method `pre_post_Action`
|
|
@@ -1768,7 +1786,7 @@ We also need to add logic from existing getGroup() and getGroupMembers()
|
|
|
1768
1786
|
- Dependencies bump
|
|
1769
1787
|
|
|
1770
1788
|
### v3.0.4
|
|
1771
|
-
[
|
|
1789
|
+
[Improved]
|
|
1772
1790
|
|
|
1773
1791
|
- Pagination request having startIndex but no count, now sets count to default 200 and may be overridden by plugin.
|
|
1774
1792
|
|
|
@@ -1783,7 +1801,7 @@ We also need to add logic from existing getGroup() and getGroupMembers()
|
|
|
1783
1801
|
- SCIM v2.0 PUT did not work.
|
|
1784
1802
|
|
|
1785
1803
|
### v3.0.1
|
|
1786
|
-
[
|
|
1804
|
+
[Improved]
|
|
1787
1805
|
|
|
1788
1806
|
- getApi supports body (apiObj).
|
|
1789
1807
|
|
|
@@ -1893,7 +1911,7 @@ New syntax is:
|
|
|
1893
1911
|
|
|
1894
1912
|
|
|
1895
1913
|
### v2.1.10
|
|
1896
|
-
[
|
|
1914
|
+
[Improved]
|
|
1897
1915
|
|
|
1898
1916
|
- Log masking of custom defined attributes.
|
|
1899
1917
|
customMasking may include an array of attributes to be masked
|
|
@@ -1944,7 +1962,7 @@ New syntax is:
|
|
|
1944
1962
|
|
|
1945
1963
|
- plugin-azure-ad did not return correct error code (`err.name = 'DuplicateKeyError'`) when failing on creating a duplicate user
|
|
1946
1964
|
|
|
1947
|
-
[
|
|
1965
|
+
[Improved]
|
|
1948
1966
|
|
|
1949
1967
|
- Includes latest versions of module dependencies
|
|
1950
1968
|
|
|
@@ -1966,7 +1984,7 @@ New syntax is:
|
|
|
1966
1984
|
|
|
1967
1985
|
- SCIM 2.0 may use Operations.value as array and none array (issue #16)
|
|
1968
1986
|
|
|
1969
|
-
[
|
|
1987
|
+
[Improved]
|
|
1970
1988
|
|
|
1971
1989
|
- Option for replacing mandatory userName/displayName attribute by configuring customUniqueAttrMapping
|
|
1972
1990
|
- Includes latest versions of module dependencies
|
|
@@ -1978,7 +1996,7 @@ New syntax is:
|
|
|
1978
1996
|
- plugin-loki failed to modify a none existing object, e.g name object not included in Create User
|
|
1979
1997
|
|
|
1980
1998
|
### v2.1.0
|
|
1981
|
-
[
|
|
1999
|
+
[Improved]
|
|
1982
2000
|
|
|
1983
2001
|
- Custom schema attributes can be added by plugin configuration `scim.customSchema` having value set to filename of a JSON schema-file located in `<package-root>/config/schemas`
|
|
1984
2002
|
|
|
@@ -2046,7 +2064,7 @@ Custom plugins needs some changes (please see included example plugins)
|
|
|
2046
2064
|
- Fix related to external configuration (ref. v1.0.18) when running multiple plugins
|
|
2047
2065
|
|
|
2048
2066
|
### v1.0.18
|
|
2049
|
-
[
|
|
2067
|
+
[Improved]
|
|
2050
2068
|
|
|
2051
2069
|
- Includes latest versions of module dependencies
|
|
2052
2070
|
- Loglevel configuration for file and console now separated
|
|
@@ -2099,12 +2117,12 @@ Custom plugins needs some changes (please see included example plugins)
|
|
|
2099
2117
|
- An issue with pagination fixed
|
|
2100
2118
|
|
|
2101
2119
|
### v1.0.9
|
|
2102
|
-
[
|
|
2120
|
+
[Improved]
|
|
2103
2121
|
|
|
2104
2122
|
- Cosmetics, changed emailOnError logic - now emitted by logger
|
|
2105
2123
|
|
|
2106
2124
|
### v1.0.8
|
|
2107
|
-
[
|
|
2125
|
+
[Improved]
|
|
2108
2126
|
|
|
2109
2127
|
- Support health monitoring using the "/ping" URL with a "hello" response, e.g. http://localhost:8880/ping. Useful for frontend load balancing/failover functionality
|
|
2110
2128
|
- Option for error notifications by email
|
|
@@ -2115,7 +2133,7 @@ Custom plugins needs some changes (please see included example plugins)
|
|
|
2115
2133
|
|
|
2116
2134
|
|
|
2117
2135
|
### v1.0.7
|
|
2118
|
-
[
|
|
2136
|
+
[Improved]
|
|
2119
2137
|
|
|
2120
2138
|
- Docker now using node v.9.10.0 instead of v.6.9.2
|
|
2121
2139
|
- Minor log cosmetics
|
|
@@ -2126,7 +2144,7 @@ Custom plugins needs some changes (please see included example plugins)
|
|
|
2126
2144
|
- Azure AD plugin, failed to create user when licenses (app Service plans) was included
|
|
2127
2145
|
|
|
2128
2146
|
### v1.0.5
|
|
2129
|
-
[
|
|
2147
|
+
[Improved]
|
|
2130
2148
|
|
|
2131
2149
|
- Supporting GET /Users, GET /Groups, PUT method and delete groups
|
|
2132
2150
|
- After more than 3 invalid auth attempts, response will be delayed to prevent brute force
|
|
@@ -2138,7 +2156,7 @@ Custom plugins needs some changes (please see included example plugins)
|
|
|
2138
2156
|
**Thanks to ywchuang**
|
|
2139
2157
|
|
|
2140
2158
|
### v1.0.4
|
|
2141
|
-
[
|
|
2159
|
+
[Improved]
|
|
2142
2160
|
|
|
2143
2161
|
- Plugin for Azure AD now supports paging for retrieving users and groups. Any existing metafile used by CA ConnectorXpress ("Azure - ScimGateway.xml") must be re-deployed.
|
|
2144
2162
|
|
|
@@ -2162,7 +2180,7 @@ Custom plugins needs some changes (please see included example plugins)
|
|
|
2162
2180
|
- Mocha test script did not terminate after upgrading from 3.x to 4.x of Mocha
|
|
2163
2181
|
|
|
2164
2182
|
### v1.0.0
|
|
2165
|
-
[
|
|
2183
|
+
[Improved]
|
|
2166
2184
|
|
|
2167
2185
|
- New plugin-azure-ad.js for Azure AD user provisioning including Azure license management e.g. Office 365
|
|
2168
2186
|
- Includes latest versions of module dependencies
|
|
@@ -2196,7 +2214,7 @@ With:
|
|
|
2196
2214
|
callback(null, arrRet)
|
|
2197
2215
|
|
|
2198
2216
|
### v0.5.3
|
|
2199
|
-
[
|
|
2217
|
+
[Improved]
|
|
2200
2218
|
|
|
2201
2219
|
- Includes api gateway/plugin for general none provisioning
|
|
2202
2220
|
- GET /api
|
|
@@ -2210,7 +2228,7 @@ With:
|
|
|
2210
2228
|
|
|
2211
2229
|
|
|
2212
2230
|
### v0.5.2
|
|
2213
|
-
[
|
|
2231
|
+
[Improved]
|
|
2214
2232
|
|
|
2215
2233
|
- One or more of following authentication/authorization methods are accepted:
|
|
2216
2234
|
- Basic Authentication
|
|
@@ -2231,7 +2249,7 @@ With:
|
|
|
2231
2249
|
|
|
2232
2250
|
|
|
2233
2251
|
### v0.4.6
|
|
2234
|
-
[
|
|
2252
|
+
[Improved]
|
|
2235
2253
|
|
|
2236
2254
|
- Document updated on how to run SCIM Gateway as a Docker container
|
|
2237
2255
|
- `config\docker` includes docker configuration examples
|
|
@@ -2239,7 +2257,7 @@ With:
|
|
|
2239
2257
|
|
|
2240
2258
|
|
|
2241
2259
|
### v0.4.5
|
|
2242
|
-
[
|
|
2260
|
+
[Improved]
|
|
2243
2261
|
|
|
2244
2262
|
- Environment variable `SEED` overrides default password seeding
|
|
2245
2263
|
- Setting SCIM Gateway port to `"process.env.XXX"` lets environment variable XXX define the port
|
|
@@ -2252,7 +2270,7 @@ With:
|
|
|
2252
2270
|
- Start SCIM Gateway and passwords will become encrypted
|
|
2253
2271
|
|
|
2254
2272
|
### v0.4.4
|
|
2255
|
-
[
|
|
2273
|
+
[Improved]
|
|
2256
2274
|
|
|
2257
2275
|
- NoSQL Document-Oriented Database plugin: `plugin-loki`
|
|
2258
2276
|
This plugin now replace previous `plugin-testmode`
|
|
@@ -2271,7 +2289,7 @@ This plugin now replace previous `plugin-testmode`
|
|
|
2271
2289
|
- plugin-restful minor adjustments to multivalue and cleared attributes logic introduced in v0.4.0
|
|
2272
2290
|
|
|
2273
2291
|
### v0.4.1
|
|
2274
|
-
[
|
|
2292
|
+
[Improved]
|
|
2275
2293
|
|
|
2276
2294
|
- Mocha test scripts for automated testing of plugin-testmode
|
|
2277
2295
|
- Automated tests run on Travis-ci.org (click on build badge)
|
|
@@ -2284,7 +2302,7 @@ This plugin now replace previous `plugin-testmode`
|
|
|
2284
2302
|
- Minor adjustments to multi-value logic introduced in v0.4.0
|
|
2285
2303
|
|
|
2286
2304
|
### v0.4.0
|
|
2287
|
-
[
|
|
2305
|
+
[Improved]
|
|
2288
2306
|
|
|
2289
2307
|
- Not using the SCIM standard for handling multivalue attributes and cleared attributes. Changed from array to object based on type. This simplifies plugin-coding for multivalue attributes like emails, phoneNumbers, entitlements, ...
|
|
2290
2308
|
- Module dependencies updated to latest versions
|
|
@@ -2299,12 +2317,12 @@ This plugin now replace previous `plugin-testmode`
|
|
|
2299
2317
|
- Minor changes related to SCIM specification
|
|
2300
2318
|
|
|
2301
2319
|
### v0.3.7
|
|
2302
|
-
[
|
|
2320
|
+
[Improved]
|
|
2303
2321
|
|
|
2304
2322
|
- PFX / PKCS#12 certificate bundle is supported
|
|
2305
2323
|
|
|
2306
2324
|
### v0.3.6
|
|
2307
|
-
[
|
|
2325
|
+
[Improved]
|
|
2308
2326
|
|
|
2309
2327
|
- SCIM Gateway used by Microsoft Azure Active Directory is supported
|
|
2310
2328
|
- SCIM version 2.0 is supported
|
|
@@ -2322,7 +2340,7 @@ This plugin now replace previous `plugin-testmode`
|
|
|
2322
2340
|
- plugin-mssql not included in postinstall
|
|
2323
2341
|
|
|
2324
2342
|
### v0.3.4
|
|
2325
|
-
[
|
|
2343
|
+
[Improved]
|
|
2326
2344
|
|
|
2327
2345
|
- MSSQL example plugin: `plugin-mssql`
|
|
2328
2346
|
- Changed multivalue logic in example plugins, now using `scimgateway.getArrayObject`
|
|
@@ -2348,12 +2366,12 @@ This plugin now replace previous `plugin-testmode`
|
|
|
2348
2366
|
- Minor changes related to SCIM specification
|
|
2349
2367
|
|
|
2350
2368
|
### v0.3.1
|
|
2351
|
-
[
|
|
2369
|
+
[Improved]
|
|
2352
2370
|
|
|
2353
2371
|
- REST Webservices example plugin: `plugin-restful`
|
|
2354
2372
|
|
|
2355
2373
|
### v0.3.0
|
|
2356
|
-
[
|
|
2374
|
+
[Improved]
|
|
2357
2375
|
|
|
2358
2376
|
- Preferred installation method changed from "global" to "local"
|
|
2359
2377
|
- `<Base URL>/[baseEntity]` for multi tenant or multi endpoint flexibility
|
package/config/plugin-api.json
CHANGED
|
@@ -123,16 +123,17 @@
|
|
|
123
123
|
"entity": {
|
|
124
124
|
"undefined": {
|
|
125
125
|
"baseUrls": [
|
|
126
|
-
"
|
|
126
|
+
"https://dummyjson.com"
|
|
127
127
|
],
|
|
128
128
|
"oauth": null,
|
|
129
|
+
"tokenAuth": {
|
|
130
|
+
"tokenUrl": "https://dummyjson.com/auth/login",
|
|
131
|
+
"username": "jissetts",
|
|
132
|
+
"password": "ePawWgrnZR8L"
|
|
133
|
+
},
|
|
129
134
|
"bearerAuth": null,
|
|
130
135
|
"basicAuth": null,
|
|
131
|
-
"proxy":
|
|
132
|
-
"host": null,
|
|
133
|
-
"username": null,
|
|
134
|
-
"password": null
|
|
135
|
-
}
|
|
136
|
+
"proxy": null
|
|
136
137
|
}
|
|
137
138
|
}
|
|
138
139
|
}
|
|
@@ -129,13 +129,10 @@
|
|
|
129
129
|
"clientId": "Application ID",
|
|
130
130
|
"clientSecret": "Generated application secret value"
|
|
131
131
|
},
|
|
132
|
+
"tokenAuth": null,
|
|
132
133
|
"bearerAuth": null,
|
|
133
134
|
"basicAuth": null,
|
|
134
|
-
"proxy":
|
|
135
|
-
"host": null,
|
|
136
|
-
"username": null,
|
|
137
|
-
"password": null
|
|
138
|
-
}
|
|
135
|
+
"proxy": null
|
|
139
136
|
}
|
|
140
137
|
},
|
|
141
138
|
"map": {
|
package/config/plugin-scim.json
CHANGED
|
@@ -127,16 +127,13 @@
|
|
|
127
127
|
],
|
|
128
128
|
"scimVersion": "2.0",
|
|
129
129
|
"oauth": null,
|
|
130
|
+
"tokenAuth": null,
|
|
130
131
|
"bearerAuth": null,
|
|
131
132
|
"basicAuth": {
|
|
132
133
|
"username": "gwadmin",
|
|
133
134
|
"password": "password"
|
|
134
135
|
},
|
|
135
|
-
"proxy":
|
|
136
|
-
"host": null,
|
|
137
|
-
"username": null,
|
|
138
|
-
"password": null
|
|
139
|
-
}
|
|
136
|
+
"proxy": null
|
|
140
137
|
},
|
|
141
138
|
"clientA": {
|
|
142
139
|
"baseUrls": [
|
|
@@ -144,16 +141,13 @@
|
|
|
144
141
|
],
|
|
145
142
|
"scimVersion": "2.0",
|
|
146
143
|
"oauth": null,
|
|
144
|
+
"tokenAuth": null,
|
|
147
145
|
"bearerAuth": null,
|
|
148
146
|
"basicAuth": {
|
|
149
147
|
"username": "gwadmin",
|
|
150
148
|
"password": "password"
|
|
151
149
|
},
|
|
152
|
-
"proxy":
|
|
153
|
-
"host": null,
|
|
154
|
-
"username": null,
|
|
155
|
-
"password": null
|
|
156
|
-
}
|
|
150
|
+
"proxy": null
|
|
157
151
|
}
|
|
158
152
|
}
|
|
159
153
|
}
|