react-starter-kit/public/config.js

33 lines
896 B
JavaScript
Raw Normal View History

const defaultConfig = {
version: "0.1.0",
name: "React-starter-kit",
// 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,
},
};
// ignore this :)
2022-06-27 18:04:55 +02:00
try {
window.defaultConfig = defaultConfig;
2022-06-27 18:04:55 +02:00
if (module) {
module.exports = defaultConfig;
2022-06-27 18:04:55 +02:00
}
} catch {
// ignore
}