2022-07-25 10:13:47 +02:00
|
|
|
const defaultConfig = {
|
2022-06-27 16:41:03 +02:00
|
|
|
version: "0.1.0",
|
2022-07-25 10:13:47 +02:00
|
|
|
name: "React-starter-kit",
|
2022-07-26 11:15:36 +02:00
|
|
|
// oidc: {
|
|
|
|
// url: "private_url",
|
|
|
|
// realm: "inforit",
|
|
|
|
// clientId: "react-base",
|
|
|
|
// scope: "openid profile email",
|
|
|
|
// redirectUri: "http://localhost:3000/authentication/callback",
|
|
|
|
// silentRedirectUri: "http://localhost:3000/authentication/silent-callback",
|
|
|
|
// serviceWorkerOnly: false,
|
|
|
|
// },
|
|
|
|
oidc: {
|
|
|
|
url: "https://sso.mastermindzh.tech/realms/public-tests",
|
|
|
|
realm: "public-tests",
|
|
|
|
clientId: "react-starter-kit",
|
|
|
|
scope: "openid profile email",
|
|
|
|
redirectUri: "http://localhost:3000/authentication/callback",
|
|
|
|
silentRedirectUri: "http://localhost:3000/authentication/silent-callback",
|
|
|
|
serviceWorkerOnly: false,
|
|
|
|
},
|
2022-06-27 16:41:03 +02:00
|
|
|
};
|
|
|
|
|
2022-07-25 10:13:47 +02:00
|
|
|
// ignore this :)
|
2022-06-27 18:04:55 +02:00
|
|
|
try {
|
2022-07-25 10:13:47 +02:00
|
|
|
window.defaultConfig = defaultConfig;
|
2022-06-27 18:04:55 +02:00
|
|
|
if (module) {
|
2022-07-25 10:13:47 +02:00
|
|
|
module.exports = defaultConfig;
|
2022-06-27 18:04:55 +02:00
|
|
|
}
|
|
|
|
} catch {
|
|
|
|
// ignore
|
2022-06-27 16:41:03 +02:00
|
|
|
}
|