@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.
- package/dist/cli/migrate.js +9 -9
- package/dist/cli/migrate.js.map +3 -3
- package/dist/htmx/index.js +9 -9
- package/dist/htmx/index.js.map +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +25 -9
- package/dist/index.js.map +6 -5
- package/dist/manifest.d.ts +2 -0
- package/dist/manifest.js +8722 -0
- package/dist/manifest.js.map +123 -0
- package/dist/manifest.json +329 -0
- package/dist/providers/clients.d.ts +1 -1
- package/dist/providers/index.js +9 -9
- package/dist/providers/index.js.map +3 -3
- package/dist/providersFromEnv.d.ts +19 -0
- package/package.json +16 -5
package/dist/cli/migrate.js
CHANGED
|
@@ -1461,7 +1461,7 @@ var providers = defineProviders({
|
|
|
1461
1461
|
}
|
|
1462
1462
|
},
|
|
1463
1463
|
microsoftentraid: {
|
|
1464
|
-
authorizationUrl: (config) => `https
|
|
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:
|
|
1472
|
+
url: "https://graph.microsoft.com/oidc/userinfo"
|
|
1473
1473
|
},
|
|
1474
1474
|
scopeRequired: false,
|
|
1475
|
-
subject: ["
|
|
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
|
|
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://
|
|
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://
|
|
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://
|
|
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://
|
|
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=
|
|
3259
|
+
//# debugId=EA43F33A72EECF7964756E2164756E21
|
|
3260
3260
|
//# sourceMappingURL=migrate.js.map
|