Currently only OpenID Connect can be used to log into OpenMRS Backend preventing community users from testing the Android application on the OpenMRS Demo Server at https://dev3.openmrs.org/.
The login process needs to be updated to also allow basic authentication.A new property auth.method should be introduced to let implementers choose the authentication method.
This property will be added to the file local.properties.default for documentation purposes and then in the developer's local.properties file for testing these new options.
if auth.method is set to openid (the default value), the current authentication process using OpenID Connect will be used.
if auth.method is set to basic, users will need to log in with a username and password (a new login page will need to be developed for this). If there are more than 5 failed login attempts, the system should enforce a 5-minute wait before allowing another attempt. These credentials (username/password) will be saved for XY hours ( this value will be configurable in a property)
To enable the Android application to work with the OpenMRS Demo Server, the following properties should be configured:
Currently only OpenID Connect can be used to log into OpenMRS Backend preventing community users from testing the Android application on the OpenMRS Demo Server at https://dev3.openmrs.org/.
The login process needs to be updated to also allow basic authentication. A new property
auth.method
should be introduced to let implementers choose the authentication method.This property will be added to the file local.properties.default for documentation purposes and then in the developer's
local.properties
file for testing these new options.auth.method
is set toopenid
(the default value), the current authentication process using OpenID Connect will be used.auth.method
is set tobasic
, users will need to log in with a username and password (a new login page will need to be developed for this). If there are more than 5 failed login attempts, the system should enforce a 5-minute wait before allowing another attempt. These credentials (username/password) will be saved for XY hours ( this value will be configurable in a property)To enable the Android application to work with the OpenMRS Demo Server, the following properties should be configured:
Acceptance criteria
Additional context