Skip to content

jonathandick/openmrs-esm-login

 
 

Repository files navigation

openmrs-esm-login

Build Status

An OpenMRS Microfrontend.

What is this?

openmrs-esm-login is an in-browser javascript module that is a single-spa application. It is responsible for rendering all UI related to logging in.

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 91.3%
  • CSS 4.9%
  • JavaScript 3.8%