minvws / nl-covid19-coronacheck-app-android

European Union Public License 1.2
44 stars 28 forks source link

"Cannot open web page" after successful DigiD authentication #102

Closed jschulenklopper closed 2 years ago

jschulenklopper commented 2 years ago

Problem after successful DigiD authentication

After successfully authenticating with DigiD, the CoronaCheck app (version 3.0.1) on Android (version 9) does not correctly open. The post-login URL from DigiD, starting with coronacheck://... cannot be opened, and the browser (?) shows a message like "Web page cannot be opened" because "net::ERR_UNKNOWN_URL_SCHEME".

To Reproduce

Steps to reproduce the behavior:

  1. From CoronaCheck go to Digid for login
  2. After login with DigiD, wait until app/browser is redirected/opens to coronacheck://auth/login?code=...
  3. See error

Expected behavior

After login with DigiD, I would have expected to return to the CoronaCheck app, in which the certificated can be retrieved. I did not expect to be shown a "Webpagina niet beschikbaar" message.

Screenshots

Smartphone (please complete the following information):

Additional context

It could be related to #62, but now for other browsers (or a resurfaced bug).

It seems that the 'intent' or custom URI hasn't bee registered correctly. Redirecting to coronacheck://... I would expect that CoronaCheck app would open instead of a Chrome browser.

Governance

jschulenklopper commented 2 years ago

Screen shot

ijansch commented 2 years ago

Is this still an issue? We fixed this one a while ago.