diff --git a/common/src/main/java/com/microsoft/identity/common/internal/fido/AuthFidoChallengeHandler.kt b/common/src/main/java/com/microsoft/identity/common/internal/fido/AuthFidoChallengeHandler.kt index 3e417bb527..f61ac21979 100644 --- a/common/src/main/java/com/microsoft/identity/common/internal/fido/AuthFidoChallengeHandler.kt +++ b/common/src/main/java/com/microsoft/identity/common/internal/fido/AuthFidoChallengeHandler.kt @@ -25,6 +25,7 @@ package com.microsoft.identity.common.internal.fido import android.webkit.WebView import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.lifecycleScope +import com.microsoft.identity.common.internal.platform.AndroidPlatformUtil import com.microsoft.identity.common.internal.ui.webview.challengehandlers.IChallengeHandler import com.microsoft.identity.common.java.constants.FidoConstants import com.microsoft.identity.common.java.constants.FidoConstants.Companion.PASSKEY_PROTOCOL_ERROR_PREFIX_STRING @@ -66,7 +67,8 @@ class AuthFidoChallengeHandler ( span.setAttribute( AttributeName.fido_challenge_handler.name, TAG - ); + ) + Logger.info(methodTag, "Is app in work profile?: " + AndroidPlatformUtil.isInWorkProfile(webView.context)) // First verify submitUrl and context. Without these two, we can't respond back to the server. // If either one of these are missing or malformed, throw an exception and let the main WebViewClient handle it. val submitUrl = fidoChallenge.submitUrl.getOrThrow()