Skip to content

ShekharReddy4/atlas-mockid-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MOCK OpenMRS ATLAS SERVER LOGIN MODULE in Node

devDependencies Status devDependencies Status chatroom icon

Mock login module for OpenMrs Atlas Server (https://github.com/openmrs/openmrs-contrib-atlas). This will help in mocking the login module required to login as OpenMrs user.

configuration

In app.js update

 $redirect_url = "http://localhost:3001/"; //locally wherever openmrs atlas server is hosted
 $site_key = "localhost"; // same as in openmrs atlas server (recommended: don't change this)
 $api_key = "1234567890abcdef"; // same as in openmrs atlas server (recommended: don't change this)
  • Use credential mentioned in app.js to login.

NOTE: I am Creating this repo to host a mock ID for atlas in heroku for testing purpose

To use this with SSO-Demo

Jus Clone the repo and run using nodemon. (if the port specified is occupied the change the port here )