Internet Identity authentication not working on iPad (native iOS)

Has anyone successfully implemented Internet Identity authentication on native iOS apps (specifically iPad) using ASWebAuthenticationSession?

I’m following the secure relay pattern from the II mobile integration docs (with intermediate session key).

Security best practices: Identity and access management | Internet Computer

On iPhone, the popup works fine with an ‘Allow’ alert, but on iPad the popup is silently blocked. Switching to non-ephemeral mode causes the II page to show a white screen.

Any known workarounds for iPad in native iOS apps?

Instead of immediately initiating the II sign-in on page load, call it on user interaction e.g. click.

Unfortunately, Safari (and some other browsers) tend to block pop-ups if they’re not initiated by user interaction.

In the longer term, we’re looking into other possible workarounds like adding support for a redirect (besides popup) flow in II.

This means from a UX perspective, for now, users will have to press a button in your native app and once more in your in-between webpage.

thanks!

If you can find a better workaround that will be great as the onboarding process is clunky and isn’t good ux, currently logging in is 5 clicks. compared to other apps on my phone that are seamless and just use my face

We dont have iPad but we do have native app on iOS - with II. We have, in recent days experienced an issue with using II - were the II screen just goes blank and user cannot authenticate. Is this a recent issue you are experiencing?

sorry for the delayed response!

We were only getting the issue on iPad and adding the extra button fixed the white screen issue.