scimgateway 5.3.2 → 5.3.3

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 CHANGED
@@ -1405,6 +1405,12 @@ MIT © [Jarle Elshaug](https://www.elshaug.xyz)
1405
1405
 
1406
1406
  ## Change log
1407
1407
 
1408
+ ### v5.3.3
1409
+
1410
+ [Fixed]
1411
+
1412
+ - helper-rest, SamlBearer token-request now includes `new_token=true` to avoid retrieving an existing token that is about to expire
1413
+
1408
1414
  ### v5.3.2
1409
1415
 
1410
1416
  [Improved]
@@ -142,6 +142,7 @@ export class HelperRest {
142
142
  grant_type: 'urn:ietf:params:oauth:grant-type:saml2-bearer',
143
143
  client_id: clientId,
144
144
  company_id: companyId,
145
+ new_token: true,
145
146
  assertion: await samlAssertion.run(context, cert, key, issuer, lifetime, clientId, nameId, userIdentifierFormat, tokenEndpoint, audience, delay),
146
147
  }
147
148
  break
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scimgateway",
3
- "version": "5.3.2",
3
+ "version": "5.3.3",
4
4
  "type": "module",
5
5
  "description": "Using SCIM protocol as a gateway for user provisioning to other endpoints",
6
6
  "author": "Jarle Elshaug <jarle.elshaug@gmail.com> (https://elshaug.xyz)",