Skip to content

Problems with auth via manual token input #111

@sboettcher

Description

@sboettcher

There are some minor problems with enrolling a new participant via the manual token input, e.g. in case the phone camera is broken:

  1. The base URL that is shown in the MP is https://example.com/managementportal but the string to enter in the app is actually only example.com, see here:
    val url = "https://${baseUrlInput.text}/managementportal/api/meta-token/${tokenInput.text}"

    It still works if you enter that, but it's a bit misleading... the https:// is fine because it shows that at the input field, but the /managementportal should not be added automatically without a UI hint.
  2. In my short tests I noticed that you need to quit out of the app completely after entering a wrong URL or token, to make a new attempt. Subsequent attempts without quitting seem to not do anything at all. A minor nuisance, but I just wanted to mention it.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions