moleculer-iam
Version:
Centralized IAM module for moleculer. Including a certified OIDC provider and an Identity provider for user profile, credentials, and custom claims management. Custom claims could be defined/updated by declarative schema which contains claims validation a
15 lines • 704 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dummyAppStateRendererFactory = void 0;
exports.dummyAppStateRendererFactory = ({ logger }) => {
logger.error(`set dummy application renderer`);
return {
routes() {
return [];
},
async render(ctx, state) {
ctx.body = `<html><body style="margin: 0; background: red; min-height: 100vh; padding: 5em; color: white; font-size: 1.5em; font-family: Verdana"><div><p style="font-weight: bold">Warning: Interaction page renderer not configured.</p><pre>${JSON.stringify(state, null, 2)}</pre></div></body></html>`;
},
};
};
//# sourceMappingURL=renderer.js.map