@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.
@@ -1077,7 +1077,7 @@ var providers = defineProviders({
1077
1077
  }
1078
1078
  },
1079
1079
  microsoftentraid: {
1080
- authorizationUrl: (config) => `https://${config.tenantId}.b2clogin.com/${config.tenantId}/oauth2/v2.0/authorize`,
1080
+ authorizationUrl: (config) => `https://login.microsoftonline.com/${config.tenantId}/oauth2/v2.0/authorize`,
1081
1081
  isOIDC: true,
1082
1082
  isRefreshable: true,
1083
1083
  PKCEMethod: "S256",
@@ -1085,15 +1085,15 @@ var providers = defineProviders({
1085
1085
  authIn: "header",
1086
1086
  encoding: "application/json",
1087
1087
  method: "GET",
1088
- url: (config) => `https://${config.tenantId}.b2clogin.com/${config.tenantId}/openid/userinfo`
1088
+ url: "https://graph.microsoft.com/oidc/userinfo"
1089
1089
  },
1090
1090
  scopeRequired: false,
1091
- subject: ["id"],
1091
+ subject: ["sub"],
1092
1092
  subjectType: "string",
1093
1093
  tokenRequest: {
1094
1094
  authIn: "body",
1095
1095
  encoding: "application/x-www-form-urlencoded",
1096
- url: (config) => `https://${config.tenantId}.b2clogin.com/${config.tenantId}/oauth2/v2.0/token`
1096
+ url: (config) => `https://login.microsoftonline.com/${config.tenantId}/oauth2/v2.0/token`
1097
1097
  }
1098
1098
  },
1099
1099
  monday: {
@@ -1214,7 +1214,7 @@ var providers = defineProviders({
1214
1214
  }
1215
1215
  },
1216
1216
  onspark: {
1217
- authorizationUrl: "https://app.onspark.com/oauth2/authorize",
1217
+ authorizationUrl: "https://onspark.com/oauth2/authorize",
1218
1218
  email: ["email"],
1219
1219
  familyName: ["family_name"],
1220
1220
  fullName: ["name"],
@@ -1227,13 +1227,13 @@ var providers = defineProviders({
1227
1227
  authIn: "header",
1228
1228
  encoding: "application/json",
1229
1229
  method: "GET",
1230
- url: "https://app.onspark.com/oauth2/userinfo"
1230
+ url: "https://onspark.com/oauth2/userinfo"
1231
1231
  },
1232
1232
  revocationRequest: {
1233
1233
  authIn: "body",
1234
1234
  encoding: "application/x-www-form-urlencoded",
1235
1235
  tokenParamName: "token",
1236
- url: "https://app.onspark.com/oauth2/revoke"
1236
+ url: "https://onspark.com/oauth2/revoke"
1237
1237
  },
1238
1238
  scopeRequired: true,
1239
1239
  subject: ["sub"],
@@ -1241,7 +1241,7 @@ var providers = defineProviders({
1241
1241
  tokenRequest: {
1242
1242
  authIn: "body",
1243
1243
  encoding: "application/x-www-form-urlencoded",
1244
- url: "https://app.onspark.com/oauth2/token"
1244
+ url: "https://onspark.com/oauth2/token"
1245
1245
  }
1246
1246
  },
1247
1247
  osu: {
@@ -2716,5 +2716,5 @@ export {
2716
2716
  escapeHtml
2717
2717
  };
2718
2718
 
2719
- //# debugId=8C096C6BDB713BD964756E2164756E21
2719
+ //# debugId=2CB3119B4750600064756E2164756E21
2720
2720
  //# sourceMappingURL=index.js.map