4

I'm sorry, this is going to be a vague and useless bug report, especially because it requires someone to actually have a Danish national ID and the corresponding app, but I would love to try to help you figure it out in any way that I can.

When trying to log in with the Danish national ID, MitID, on for example post.borger.dk, there is a second screen after entering your username where you're supposed to click the "Open MitID app" button to trigger a bit of javascript and open the app. The javascript should send a request to let the server know that you are ready to authenticate with the app.

Clicking this button in Orion instead leads to a page saying "An error has occured"

There is information on https://www.mitid.dk/en-gb/help/help-universe/platform-support-for-mitid/ saying that you should have "at least iOS 15 and the latest version of Mobile Safari, Google Chrome or SFSafari View Controller (app-app) internet browser", and that "Incognito mode does not support the use of MitID." I don't know if that perhaps gives you any clues?

Even the usernames are supposed to be secret, and if you test too much with the same username without actually authenticating, you get locked out, so I'm afraid I can't give you enough information to even get to the page where the button should work, but again, I'd be happy to help in any way that I can. I can find my way around the Simulator app and web inspectors, if that helps.

When going to for example post.borger.dk, you get redirected to the Danish national ID login screen, where you type your username and click continue (Fortsæt).

When clicking the button "Open MitID app", the ID app should automatically open, and there should be an authentication request waiting.

1.3.18 (6) (WebKit 8620.2.4.10.7)

18

    tolnem Heyo,

    The only useless thing is not to tell the team about a problem at all. 😃

    I'm not part of Kagi, but some initial questions I can think of are;

    • You quote the website as saying the mobile version of Safari is supported. If you try logging in using this browser, does it work as expected? This would help to rule out some other factors, such as system-wide VPNs.
    • If in Orion you go to Settings > Websites > Content Blockers, are they enabled on "Other Websites" ? If so - try disabling the content blockers, and see whether it's their cross-site tracking prevention that's the issue. Obviously, if you see the website listed individually, try toggling them off for that site as well. (But please also disable for "other websites" regardless.)
    • While you're doing the above, in Orion go to Settings > Websites > Disable JavaScript, just to make sure that this hasn't been inadvertently changed. It sounds obvious, I know - but hey, stranger things have happened!

    No worries if you'd prefer to only interact with staff - just let me know, and I'll bow out of the thread. 🙂

      Hi sarno,

      Your questions make a lot of sense.

      • Yes, using mobile Safari it works, and also in mobile Firefox.
      • I've disabled content blockers both for that website specifically, and now also for "Other Websites". It did not help.
      • Javascript is not disabled.

      Kind regards,
      David

      5 days later

      Hi - I will just comment to confirm that I experience the same issue with mitid. I have tried disabling all content blockers, checking javascript settings, changing from “Full” to “Basic” protections. Unfortunately the error message is very vague (it is actually a reference id).

      Perhaps I will try to contact mitid folks, but I suspect they will say that only XYZ browsers are supported. I’ve tried to look if there is some technical guidance on implementation but can’t locate anything helpful.

      MitID works fine in safari and firefox for me.

      Would also be happy to try and help gathering logs from browser, but not sure how to do that.

        Sorry to not include above, but just to note this issue is only in the iOS version. The failure occurs when the page should transfer you from the browser into the MitID app to give approval.

        On macOS version of Orion things work normally. On desktop there is no redirect, becuase you approve login on phone app (similar to approving a push notification login to google via youtube app).

          No one is typing