@base44-preview/sdk 0.8.39-pr.234.1f9d97c → 0.8.39-pr.234.45b6d41
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 +0 -1
- package/dist/modules/sso.js +1 -3
- package/package.json +1 -1
package/dist/modules/sso.d.ts
CHANGED
package/dist/modules/sso.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @param axios - Axios instance
|
|
5
5
|
* @param appId - Application ID
|
|
6
|
-
* @param userToken - User authentication token
|
|
7
6
|
* @returns SSO module with authentication methods
|
|
8
7
|
* @internal
|
|
9
8
|
*/
|
|
@@ -17,8 +16,7 @@ export function createSsoModule(axios, appId) {
|
|
|
17
16
|
// Get the stored SSO OIDC ID token for a specific user
|
|
18
17
|
async getIdToken(userid) {
|
|
19
18
|
const url = `/apps/${appId}/auth/sso/idtoken/${userid}`;
|
|
20
|
-
|
|
21
|
-
return response;
|
|
19
|
+
return axios.get(url);
|
|
22
20
|
},
|
|
23
21
|
};
|
|
24
22
|
}
|