wcz-test 2.2.0 → 2.2.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/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2117,14 +2117,13 @@ import axios from "axios";
|
|
|
2117
2117
|
|
|
2118
2118
|
// src/services/UserService.ts
|
|
2119
2119
|
import Keycloak from "keycloak-js";
|
|
2120
|
-
import { env } from "node:process";
|
|
2121
2120
|
var keycloakConfig = {
|
|
2122
|
-
url: env.
|
|
2123
|
-
realm: env.
|
|
2124
|
-
clientId: env.
|
|
2125
|
-
idpHint: env.
|
|
2126
|
-
confidentialClientId: env.
|
|
2127
|
-
confidentialClientSecret: env.
|
|
2121
|
+
url: import.meta.env.VITE_KEYCLOAK_URL,
|
|
2122
|
+
realm: import.meta.env.VITE_KEYCLOAK_REALM,
|
|
2123
|
+
clientId: import.meta.env.VITE_KEYCLOAK_CLIENT_ID,
|
|
2124
|
+
idpHint: import.meta.env.VITE_KEYCLOAK_IDP_HINT,
|
|
2125
|
+
confidentialClientId: import.meta.env.VITE_KEYCLOAK_CONFIDENTIAL_CLIENT_ID,
|
|
2126
|
+
confidentialClientSecret: import.meta.env.VITE_KEYCLOAK_CONFIDENTIAL_CLIENT_SECRET
|
|
2128
2127
|
};
|
|
2129
2128
|
var _kc = new Keycloak({
|
|
2130
2129
|
url: keycloakConfig.url,
|