@absolutejs/auth 0.50.0 → 0.51.0

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.
@@ -1597,6 +1597,37 @@ var providers = defineProviders({
1597
1597
  url: (config) => `https://${config.domain}/oauth2/default/v1/token`
1598
1598
  }
1599
1599
  },
1600
+ onspark: {
1601
+ authorizationUrl: "https://app.onspark.com/oauth2/authorize",
1602
+ email: ["email"],
1603
+ familyName: ["family_name"],
1604
+ fullName: ["name"],
1605
+ givenName: ["given_name"],
1606
+ isOIDC: true,
1607
+ isRefreshable: true,
1608
+ picture: ["picture"],
1609
+ PKCEMethod: "S256",
1610
+ profileRequest: {
1611
+ authIn: "header",
1612
+ encoding: "application/json",
1613
+ method: "GET",
1614
+ url: "https://app.onspark.com/oauth2/userinfo"
1615
+ },
1616
+ revocationRequest: {
1617
+ authIn: "body",
1618
+ encoding: "application/x-www-form-urlencoded",
1619
+ tokenParamName: "token",
1620
+ url: "https://app.onspark.com/oauth2/revoke"
1621
+ },
1622
+ scopeRequired: true,
1623
+ subject: ["sub"],
1624
+ subjectType: "string",
1625
+ tokenRequest: {
1626
+ authIn: "body",
1627
+ encoding: "application/x-www-form-urlencoded",
1628
+ url: "https://app.onspark.com/oauth2/token"
1629
+ }
1630
+ },
1600
1631
  osu: {
1601
1632
  authorizationUrl: "https://osu.ppy.sh/oauth/authorize",
1602
1633
  isOIDC: false,
@@ -2148,6 +2179,7 @@ var providers = defineProviders({
2148
2179
  method: "POST",
2149
2180
  url: "https://wbsapi.withings.net/v2/oauth2"
2150
2181
  },
2182
+ scopeDelimiter: ",",
2151
2183
  scopeRequired: true,
2152
2184
  subject: ["userid"],
2153
2185
  subjectType: "string",
@@ -3224,5 +3256,5 @@ var main = async () => {
3224
3256
  };
3225
3257
  await main();
3226
3258
 
3227
- //# debugId=A0E2D0A519547C3E64756E2164756E21
3259
+ //# debugId=E4B9B0BD4BF7B45364756E2164756E21
3228
3260
  //# sourceMappingURL=migrate.js.map