@absolutejs/auth 0.48.1 → 0.48.3
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 +42 -15
- package/dist/cli/migrate.js.map +3 -3
- package/dist/htmx/index.js +50 -17
- package/dist/htmx/index.js.map +3 -3
- package/dist/index.js +50 -17
- package/dist/index.js.map +3 -3
- package/dist/providers/clients.d.ts +3 -3
- package/dist/providers/index.js +50 -17
- package/dist/providers/index.js.map +3 -3
- package/dist/routes/authorize.d.ts +2 -2
- package/dist/typebox.d.ts +1 -1
- package/package.json +2 -2
package/dist/cli/migrate.js
CHANGED
|
@@ -812,44 +812,44 @@ var providers = defineProviders({
|
|
|
812
812
|
url: "https://www.bungie.net/Platform/App/OAuth/token"
|
|
813
813
|
}
|
|
814
814
|
},
|
|
815
|
-
|
|
816
|
-
authorizationUrl: "https://
|
|
815
|
+
calendly: {
|
|
816
|
+
authorizationUrl: "https://auth.calendly.com/oauth/authorize",
|
|
817
|
+
email: ["resource", "email"],
|
|
818
|
+
fullName: ["resource", "name"],
|
|
817
819
|
isOIDC: false,
|
|
818
820
|
isRefreshable: true,
|
|
819
821
|
profileRequest: {
|
|
820
822
|
authIn: "header",
|
|
821
823
|
encoding: "application/json",
|
|
822
824
|
method: "GET",
|
|
823
|
-
url: "https://api.
|
|
825
|
+
url: "https://api.calendly.com/users/me"
|
|
824
826
|
},
|
|
825
|
-
scopeRequired:
|
|
826
|
-
subject: ["
|
|
827
|
+
scopeRequired: false,
|
|
828
|
+
subject: ["resource", "uri"],
|
|
827
829
|
subjectType: "string",
|
|
828
830
|
tokenRequest: {
|
|
829
831
|
authIn: "body",
|
|
830
832
|
encoding: "application/x-www-form-urlencoded",
|
|
831
|
-
url: "https://
|
|
833
|
+
url: "https://auth.calendly.com/oauth/token"
|
|
832
834
|
}
|
|
833
835
|
},
|
|
834
|
-
|
|
835
|
-
authorizationUrl: "https://
|
|
836
|
-
email: ["resource", "email"],
|
|
837
|
-
fullName: ["resource", "name"],
|
|
836
|
+
close: {
|
|
837
|
+
authorizationUrl: "https://app.close.com/oauth2/authorize/",
|
|
838
838
|
isOIDC: false,
|
|
839
839
|
isRefreshable: true,
|
|
840
840
|
profileRequest: {
|
|
841
841
|
authIn: "header",
|
|
842
842
|
encoding: "application/json",
|
|
843
843
|
method: "GET",
|
|
844
|
-
url: "https://api.
|
|
844
|
+
url: "https://api.close.com/api/v1/me/"
|
|
845
845
|
},
|
|
846
|
-
scopeRequired:
|
|
847
|
-
subject: ["
|
|
846
|
+
scopeRequired: true,
|
|
847
|
+
subject: ["id"],
|
|
848
848
|
subjectType: "string",
|
|
849
849
|
tokenRequest: {
|
|
850
850
|
authIn: "body",
|
|
851
851
|
encoding: "application/x-www-form-urlencoded",
|
|
852
|
-
url: "https://
|
|
852
|
+
url: "https://api.close.com/oauth2/token/"
|
|
853
853
|
}
|
|
854
854
|
},
|
|
855
855
|
coinbase: {
|
|
@@ -1832,6 +1832,33 @@ var providers = defineProviders({
|
|
|
1832
1832
|
url: "https://slack.com/api/openid.connect.token"
|
|
1833
1833
|
}
|
|
1834
1834
|
},
|
|
1835
|
+
slackuser: {
|
|
1836
|
+
accessTokenPath: ["authed_user", "access_token"],
|
|
1837
|
+
authorizationUrl: "https://slack.com/oauth/v2/authorize",
|
|
1838
|
+
isOIDC: false,
|
|
1839
|
+
isRefreshable: false,
|
|
1840
|
+
profileRequest: {
|
|
1841
|
+
authIn: "header",
|
|
1842
|
+
encoding: "application/json",
|
|
1843
|
+
method: "POST",
|
|
1844
|
+
url: "https://slack.com/api/auth.test"
|
|
1845
|
+
},
|
|
1846
|
+
revocationRequest: {
|
|
1847
|
+
authIn: "body",
|
|
1848
|
+
encoding: "application/json",
|
|
1849
|
+
tokenParamName: "token",
|
|
1850
|
+
url: "https://slack.com/api/auth.revoke"
|
|
1851
|
+
},
|
|
1852
|
+
scopeParamName: "user_scope",
|
|
1853
|
+
scopeRequired: true,
|
|
1854
|
+
subject: ["user_id"],
|
|
1855
|
+
subjectType: "string",
|
|
1856
|
+
tokenRequest: {
|
|
1857
|
+
authIn: "body",
|
|
1858
|
+
encoding: "application/x-www-form-urlencoded",
|
|
1859
|
+
url: "https://slack.com/api/oauth.v2.access"
|
|
1860
|
+
}
|
|
1861
|
+
},
|
|
1835
1862
|
spotify: {
|
|
1836
1863
|
authorizationUrl: "https://accounts.spotify.com/authorize",
|
|
1837
1864
|
isOIDC: false,
|
|
@@ -3159,5 +3186,5 @@ var main = async () => {
|
|
|
3159
3186
|
};
|
|
3160
3187
|
await main();
|
|
3161
3188
|
|
|
3162
|
-
//# debugId=
|
|
3189
|
+
//# debugId=E26FF9BDE963CA5264756E2164756E21
|
|
3163
3190
|
//# sourceMappingURL=migrate.js.map
|