Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with auth via manual token input #111

Open
sboettcher opened this issue Nov 5, 2020 · 1 comment
Open

Problems with auth via manual token input #111

sboettcher opened this issue Nov 5, 2020 · 1 comment
Assignees
Labels

Comments

@sboettcher
Copy link
Member

sboettcher commented Nov 5, 2020

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.
@blootsvoets
Copy link
Member

Thanks for reporting these issues.

  1. I've created a fix in the dev branch now.
  2. thanks for mentioning it. It doesn't have to do with scanning a QR code twice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants