@absolutejs/auth 0.53.0 → 0.53.2

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.
@@ -1461,7 +1461,7 @@ var providers = defineProviders({
1461
1461
  }
1462
1462
  },
1463
1463
  microsoftentraid: {
1464
- authorizationUrl: (config) => `https://${config.tenantId}.b2clogin.com/${config.tenantId}/oauth2/v2.0/authorize`,
1464
+ authorizationUrl: (config) => `https://login.microsoftonline.com/${config.tenantId}/oauth2/v2.0/authorize`,
1465
1465
  isOIDC: true,
1466
1466
  isRefreshable: true,
1467
1467
  PKCEMethod: "S256",
@@ -1469,15 +1469,15 @@ var providers = defineProviders({
1469
1469
  authIn: "header",
1470
1470
  encoding: "application/json",
1471
1471
  method: "GET",
1472
- url: (config) => `https://${config.tenantId}.b2clogin.com/${config.tenantId}/openid/userinfo`
1472
+ url: "https://graph.microsoft.com/oidc/userinfo"
1473
1473
  },
1474
1474
  scopeRequired: false,
1475
- subject: ["id"],
1475
+ subject: ["sub"],
1476
1476
  subjectType: "string",
1477
1477
  tokenRequest: {
1478
1478
  authIn: "body",
1479
1479
  encoding: "application/x-www-form-urlencoded",
1480
- url: (config) => `https://${config.tenantId}.b2clogin.com/${config.tenantId}/oauth2/v2.0/token`
1480
+ url: (config) => `https://login.microsoftonline.com/${config.tenantId}/oauth2/v2.0/token`
1481
1481
  }
1482
1482
  },
1483
1483
  monday: {
@@ -1598,7 +1598,7 @@ var providers = defineProviders({
1598
1598
  }
1599
1599
  },
1600
1600
  onspark: {
1601
- authorizationUrl: "https://app.onspark.com/oauth2/authorize",
1601
+ authorizationUrl: "https://onspark.com/oauth2/authorize",
1602
1602
  email: ["email"],
1603
1603
  familyName: ["family_name"],
1604
1604
  fullName: ["name"],
@@ -1611,13 +1611,13 @@ var providers = defineProviders({
1611
1611
  authIn: "header",
1612
1612
  encoding: "application/json",
1613
1613
  method: "GET",
1614
- url: "https://app.onspark.com/oauth2/userinfo"
1614
+ url: "https://onspark.com/oauth2/userinfo"
1615
1615
  },
1616
1616
  revocationRequest: {
1617
1617
  authIn: "body",
1618
1618
  encoding: "application/x-www-form-urlencoded",
1619
1619
  tokenParamName: "token",
1620
- url: "https://app.onspark.com/oauth2/revoke"
1620
+ url: "https://onspark.com/oauth2/revoke"
1621
1621
  },
1622
1622
  scopeRequired: true,
1623
1623
  subject: ["sub"],
@@ -1625,7 +1625,7 @@ var providers = defineProviders({
1625
1625
  tokenRequest: {
1626
1626
  authIn: "body",
1627
1627
  encoding: "application/x-www-form-urlencoded",
1628
- url: "https://app.onspark.com/oauth2/token"
1628
+ url: "https://onspark.com/oauth2/token"
1629
1629
  }
1630
1630
  },
1631
1631
  osu: {
@@ -3256,5 +3256,5 @@ var main = async () => {
3256
3256
  };
3257
3257
  await main();
3258
3258
 
3259
- //# debugId=E4B9B0BD4BF7B45364756E2164756E21
3259
+ //# debugId=EA43F33A72EECF7964756E2164756E21
3260
3260
  //# sourceMappingURL=migrate.js.map