@mashroom/mashroom-security-default-login-webapp

2.6.0 • Public • Published

Mashroom Security Default Login Webapp

Plugin for Mashroom Server, a Microfrontend Integration Platform.

This plugin adds a default login webapp which can be used for security providers that require a login page.

Usage

If node_modules/@mashroom is configured as plugin path just add @mashroom/mashroom-security-default-login-webapp as dependency.

You can override the default config in your Mashroom config file like this:

{
  "plugins": {
        "Mashroom Security Default Login Webapp": {
            "path": "/login",
            "pageTitle": "My fancy website",
            "loginFormTitle": "Login",
            "styleFile": "./login_style.css"
        }
    }
}
  • path: The path of the login page (Default: /login)
  • pageTitle: A custom page title, can be the actual title or a message key (i18n) (Default is the server name)
  • loginFormTitle: A custom title for the login form, can be the actual title or a message key (i18n) (Default: login)
  • styleFile: Custom CSS that will be loaded instead of the built-in style (relative to Mashroom config file, default: null)

Readme

Keywords

none

Package Sidebar

Install

npm i @mashroom/mashroom-security-default-login-webapp

Weekly Downloads

10

Version

2.6.0

License

MIT

Unpacked Size

24.3 kB

Total Files

12

Last publish

Collaborators

  • jkofler