Biometrics Not Prompted with WebAuthentication.webViewProvider() in Auth0.Swift SDK

Overview

This article explains why users are not prompted for biometrics when using the WebAuthentication.webViewProvider() in Auth0.Swift SDK, while the safariPrivider works for biometrics.

Applies To

  • Biometrics
  • Auth0.Swift SDK

Solution

To use WebAuthn-based biometrics with WKWebView, it is necessary to set up an Associated Domain.

Please note that this is a setup and configuration issue and not an SDK bug. To learn more about setting up an Associated Domain in an Auth0 tenant, see Configure an associated domain.