Open ngaruko opened 3 years ago
Tested for happy paths, wrong/compromised token, revoked token, newly generated token and expired token
Testing android v1.0
Add user form has the Enable login via SMS link
tick box & once selected, the phone number becomes compulsory
SMS login enabled for user, with option to disable or generate token:
Message with link generated
When link selected, app login automatically
2 . Url created in outgoing messages :
User: Restricted Site: Instance(gamma, gamma-b, cht) Platform: Mobile App Test Steps: Steps for test
1. Add `token_login.app_url` (use actual CHT server, the server used here is just an example) and `token_login` to `app_settings.json` ``` "token_login.app_url": **_"https://cht-server.medicmobile.org"_**, "token_login": { "enabled": true, "translation_key": "sms.token.login.help" } ``` 2. Open Medic-android with an IDE of your choice and add `app-host` to medic-android (testing with unbranded flavour) `