@angular-jz/jz
Version:
jim jz
22 lines • 1.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.authConfig = {
// Url of the Identity Provider
//issuer: ServerConfig.apiHostUrls['JZ.AuthCenter'] + "identity",
//issuer: 'http://192.168.1.89:7000/identity',
//issuer: 'http://10.0.21.209:7000/identity',
issuer: 'http://localhost:7000/identity',
// URL of the SPA to redirect the user to after login
redirectUri: window.location.origin + '/callback',
// The SPA's id. The SPA is registered with this id at the auth-server
clientId: 'JZ.CodeCenter.Portal',
// set the scope for the permissions the client should request
// The first three are defined by OIDC. The 4th is a usecase-specific one
scope: 'openid profile JZ.CodeCenter.WebApi',
requireHttps: false,
oidc: true,
silentRefreshRedirectUri: window.location.origin + '/renew.html',
timeoutFactor: 0.02,
postLogoutRedirectUri: window.location.origin,
};
//# sourceMappingURL=auth.config.js.map