rjcossa / openmrs-esm-login

The login microfrontend for the OpenMRS SPA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.js CI

OpenMRS ESM Login

An OpenMRS Microfrontend.

How do I use it??

openmrs-esm-login is registered as a core application inside of openmrs-esm-root-config. This means that it will automatically activate whenever you are on one of the frontend routes that it controls.

Configuration

See the openmrs-esm-module-config docs for information about how to provide configuration files.

  • chooseLocation
    • enabled (default: true)
      Whether to show a 'Choose Location' screen after login. If true, the user will be taken to the loginSuccess URL after they choose a location.
      must be a boolean.
  • links
    • loginSuccess
      Where to take the user after they are logged in.
      • url (default: /home)
      • spa (default: true)
  • logo
    • src (default: null)
      A path or URL to an image. Defaults to the OpenMRS SVG sprite.
    • alt (default: Logo)
      Alt text, shown on hover

Contributing / Development

Setup local development environment for OpenMRS SPA

About

The login microfrontend for the OpenMRS SPA


Languages

Language:TypeScript 84.4%Language:SCSS 11.3%Language:JavaScript 4.3%