Skip to content
This repository was archived by the owner on Apr 7, 2022. It is now read-only.

openmrs/openmrs-esm-login

Repository files navigation

Deprecated

This repository has been moved to openmrs-esm-core.

Old documentation for OpenMRS ESM Login

Node.js CI

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