@base44-preview/sdk 0.8.39-pr.234.9e8b8b2 → 0.8.39-pr.234.ab0c52e
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/modules/sso.d.ts +1 -0
- package/dist/modules/sso.js +3 -1
- package/package.json +2 -2
package/dist/modules/sso.d.ts
CHANGED
package/dist/modules/sso.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @param axios - Axios instance
|
|
5
5
|
* @param appId - Application ID
|
|
6
|
+
* @param userToken - User authentication token
|
|
6
7
|
* @returns SSO module with authentication methods
|
|
7
8
|
* @internal
|
|
8
9
|
*/
|
|
@@ -16,7 +17,8 @@ export function createSsoModule(axios, appId) {
|
|
|
16
17
|
// Get the stored SSO OIDC ID token for a specific user
|
|
17
18
|
async getIdToken(userid) {
|
|
18
19
|
const url = `/apps/${appId}/auth/sso/idtoken/${userid}`;
|
|
19
|
-
|
|
20
|
+
const response = await axios.get(url);
|
|
21
|
+
return response;
|
|
20
22
|
},
|
|
21
23
|
};
|
|
22
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@base44-preview/sdk",
|
|
3
|
-
"version": "0.8.39-pr.234.
|
|
3
|
+
"version": "0.8.39-pr.234.ab0c52e",
|
|
4
4
|
"description": "JavaScript SDK for Base44 API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"create-docs:process": "node scripts/mintlify-post-processing/file-processing/file-processing.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"axios": "^1.
|
|
29
|
+
"axios": "^1.17.0",
|
|
30
30
|
"socket.io-client": "^4.8.3",
|
|
31
31
|
"uuid": "^13.0.2"
|
|
32
32
|
},
|