@absolutejs/auth 0.53.3 → 0.53.5

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.
@@ -722,6 +722,20 @@ var providers = defineProviders({
722
722
  url: "https://developer.api.autodesk.com/authentication/v2/token"
723
723
  }
724
724
  },
725
+ azureadb2c: {
726
+ authorizationUrl: (config) => `https://${config.tenantSubdomain}.b2clogin.com/${config.tenantSubdomain}.onmicrosoft.com/${config.policy}/oauth2/v2.0/authorize`,
727
+ isOIDC: true,
728
+ isRefreshable: true,
729
+ PKCEMethod: "S256",
730
+ scopeRequired: false,
731
+ subject: ["sub"],
732
+ subjectType: "string",
733
+ tokenRequest: {
734
+ authIn: "body",
735
+ encoding: "application/x-www-form-urlencoded",
736
+ url: (config) => `https://${config.tenantSubdomain}.b2clogin.com/${config.tenantSubdomain}.onmicrosoft.com/${config.policy}/oauth2/v2.0/token`
737
+ }
738
+ },
725
739
  battlenet: {
726
740
  authorizationUrl: "https://oauth.battle.net/authorize",
727
741
  isOIDC: true,
@@ -1460,6 +1474,20 @@ var providers = defineProviders({
1460
1474
  url: "https://api.mercadopago.com/oauth/token"
1461
1475
  }
1462
1476
  },
1477
+ microsoftentraexternalid: {
1478
+ authorizationUrl: (config) => `https://${config.tenantSubdomain}.ciamlogin.com/${config.tenantId}/oauth2/v2.0/authorize`,
1479
+ isOIDC: true,
1480
+ isRefreshable: true,
1481
+ PKCEMethod: "S256",
1482
+ scopeRequired: false,
1483
+ subject: ["sub"],
1484
+ subjectType: "string",
1485
+ tokenRequest: {
1486
+ authIn: "body",
1487
+ encoding: "application/x-www-form-urlencoded",
1488
+ url: (config) => `https://${config.tenantSubdomain}.ciamlogin.com/${config.tenantId}/oauth2/v2.0/token`
1489
+ }
1490
+ },
1463
1491
  microsoftentraid: {
1464
1492
  authorizationUrl: (config) => `https://login.microsoftonline.com/${config.tenantId}/oauth2/v2.0/authorize`,
1465
1493
  isOIDC: true,
@@ -3249,5 +3277,5 @@ var main = async () => {
3249
3277
  };
3250
3278
  await main();
3251
3279
 
3252
- //# debugId=0718F2D4349E9A5864756E2164756E21
3280
+ //# debugId=C531C2A7A3FFA37664756E2164756E21
3253
3281
  //# sourceMappingURL=migrate.js.map