@absolutejs/auth 0.53.1 → 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.
package/dist/index.js CHANGED
@@ -1212,7 +1212,7 @@ var providers = defineProviders({
1212
1212
  }
1213
1213
  },
1214
1214
  microsoftentraid: {
1215
- authorizationUrl: (config) => `https://${config.tenantId}.b2clogin.com/${config.tenantId}/oauth2/v2.0/authorize`,
1215
+ authorizationUrl: (config) => `https://login.microsoftonline.com/${config.tenantId}/oauth2/v2.0/authorize`,
1216
1216
  isOIDC: true,
1217
1217
  isRefreshable: true,
1218
1218
  PKCEMethod: "S256",
@@ -1220,15 +1220,15 @@ var providers = defineProviders({
1220
1220
  authIn: "header",
1221
1221
  encoding: "application/json",
1222
1222
  method: "GET",
1223
- url: (config) => `https://${config.tenantId}.b2clogin.com/${config.tenantId}/openid/userinfo`
1223
+ url: "https://graph.microsoft.com/oidc/userinfo"
1224
1224
  },
1225
1225
  scopeRequired: false,
1226
- subject: ["id"],
1226
+ subject: ["sub"],
1227
1227
  subjectType: "string",
1228
1228
  tokenRequest: {
1229
1229
  authIn: "body",
1230
1230
  encoding: "application/x-www-form-urlencoded",
1231
- url: (config) => `https://${config.tenantId}.b2clogin.com/${config.tenantId}/oauth2/v2.0/token`
1231
+ url: (config) => `https://login.microsoftonline.com/${config.tenantId}/oauth2/v2.0/token`
1232
1232
  }
1233
1233
  },
1234
1234
  monday: {
@@ -1349,7 +1349,7 @@ var providers = defineProviders({
1349
1349
  }
1350
1350
  },
1351
1351
  onspark: {
1352
- authorizationUrl: "https://app.onspark.com/oauth2/authorize",
1352
+ authorizationUrl: "https://onspark.com/oauth2/authorize",
1353
1353
  email: ["email"],
1354
1354
  familyName: ["family_name"],
1355
1355
  fullName: ["name"],
@@ -1362,13 +1362,13 @@ var providers = defineProviders({
1362
1362
  authIn: "header",
1363
1363
  encoding: "application/json",
1364
1364
  method: "GET",
1365
- url: "https://app.onspark.com/oauth2/userinfo"
1365
+ url: "https://onspark.com/oauth2/userinfo"
1366
1366
  },
1367
1367
  revocationRequest: {
1368
1368
  authIn: "body",
1369
1369
  encoding: "application/x-www-form-urlencoded",
1370
1370
  tokenParamName: "token",
1371
- url: "https://app.onspark.com/oauth2/revoke"
1371
+ url: "https://onspark.com/oauth2/revoke"
1372
1372
  },
1373
1373
  scopeRequired: true,
1374
1374
  subject: ["sub"],
@@ -1376,7 +1376,7 @@ var providers = defineProviders({
1376
1376
  tokenRequest: {
1377
1377
  authIn: "body",
1378
1378
  encoding: "application/x-www-form-urlencoded",
1379
- url: "https://app.onspark.com/oauth2/token"
1379
+ url: "https://onspark.com/oauth2/token"
1380
1380
  }
1381
1381
  },
1382
1382
  osu: {
@@ -28075,5 +28075,5 @@ export {
28075
28075
  AuthIdentityConflictError
28076
28076
  };
28077
28077
 
28078
- //# debugId=02EB747B81877D6664756E2164756E21
28078
+ //# debugId=610457B3BCB89FDE64756E2164756E21
28079
28079
  //# sourceMappingURL=index.js.map