@absolutejs/auth 0.67.1 → 0.68.1
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 +34 -1
- package/dist/cli/migrate.js.map +3 -3
- package/dist/htmx/index.js +37 -2
- package/dist/htmx/index.js.map +3 -3
- package/dist/index.js +37 -2
- package/dist/index.js.map +3 -3
- package/dist/linkedProviders/index.js +37 -2
- package/dist/linkedProviders/index.js.map +3 -3
- package/dist/manifest.js +3 -1
- package/dist/manifest.js.map +3 -3
- package/dist/manifest.json +13 -0
- package/dist/providers/clients.d.ts +113 -81
- package/dist/providers/index.js +37 -2
- package/dist/providers/index.js.map +3 -3
- package/dist/server.js +37 -2
- package/dist/server.js.map +3 -3
- package/package.json +2 -2
package/dist/cli/migrate.js
CHANGED
|
@@ -658,6 +658,39 @@ var providers = defineProviders({
|
|
|
658
658
|
url: "https://api.intra.42.fr/oauth/token"
|
|
659
659
|
}
|
|
660
660
|
},
|
|
661
|
+
absolutejs: {
|
|
662
|
+
authorizationUrl: (config) => `https://${config.baseURL ?? "absolutejs.ai"}/oauth2/authorize`,
|
|
663
|
+
email: ["email"],
|
|
664
|
+
fullName: ["name"],
|
|
665
|
+
isOIDC: true,
|
|
666
|
+
isRefreshable: true,
|
|
667
|
+
picture: ["picture"],
|
|
668
|
+
PKCEMethod: "S256",
|
|
669
|
+
profileRequest: {
|
|
670
|
+
authIn: "header",
|
|
671
|
+
encoding: "application/json",
|
|
672
|
+
method: "GET",
|
|
673
|
+
url: (config) => `https://${config.baseURL ?? "absolutejs.ai"}/oauth2/userinfo`
|
|
674
|
+
},
|
|
675
|
+
revocationRequest: {
|
|
676
|
+
authIn: "body",
|
|
677
|
+
encoding: "application/x-www-form-urlencoded",
|
|
678
|
+
tokenParamName: "token",
|
|
679
|
+
url: (config) => `https://${config.baseURL ?? "absolutejs.ai"}/oauth2/revoke`
|
|
680
|
+
},
|
|
681
|
+
scopeRequired: false,
|
|
682
|
+
subject: ["sub"],
|
|
683
|
+
subjectBySource: {
|
|
684
|
+
idToken: ["sub"],
|
|
685
|
+
profile: ["sub"]
|
|
686
|
+
},
|
|
687
|
+
subjectType: "string",
|
|
688
|
+
tokenRequest: {
|
|
689
|
+
authIn: "body",
|
|
690
|
+
encoding: "application/x-www-form-urlencoded",
|
|
691
|
+
url: (config) => `https://${config.baseURL ?? "absolutejs.ai"}/oauth2/token`
|
|
692
|
+
}
|
|
693
|
+
},
|
|
661
694
|
amazoncognito: {
|
|
662
695
|
authorizationUrl: "https://${domain}/oauth2/authorize",
|
|
663
696
|
isOIDC: true,
|
|
@@ -3568,5 +3601,5 @@ var main = async () => {
|
|
|
3568
3601
|
};
|
|
3569
3602
|
await main();
|
|
3570
3603
|
|
|
3571
|
-
//# debugId=
|
|
3604
|
+
//# debugId=43966AE17141C1D964756E2164756E21
|
|
3572
3605
|
//# sourceMappingURL=migrate.js.map
|