Skip to content

Commit f64ea0e

Browse files
committed
logging
1 parent 3935e5c commit f64ea0e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

common/src/main/java/com/microsoft/identity/common/internal/fido/AuthFidoChallengeHandler.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ package com.microsoft.identity.common.internal.fido
2525
import android.webkit.WebView
2626
import androidx.lifecycle.LifecycleOwner
2727
import androidx.lifecycle.lifecycleScope
28+
import com.microsoft.identity.common.internal.platform.AndroidPlatformUtil
2829
import com.microsoft.identity.common.internal.ui.webview.challengehandlers.IChallengeHandler
2930
import com.microsoft.identity.common.java.constants.FidoConstants
3031
import com.microsoft.identity.common.java.constants.FidoConstants.Companion.PASSKEY_PROTOCOL_ERROR_PREFIX_STRING
@@ -66,7 +67,8 @@ class AuthFidoChallengeHandler (
6667
span.setAttribute(
6768
AttributeName.fido_challenge_handler.name,
6869
TAG
69-
);
70+
)
71+
Logger.info(methodTag, "Is app in work profile?: " + AndroidPlatformUtil.isInWorkProfile(webView.context))
7072
// First verify submitUrl and context. Without these two, we can't respond back to the server.
7173
// If either one of these are missing or malformed, throw an exception and let the main WebViewClient handle it.
7274
val submitUrl = fidoChallenge.submitUrl.getOrThrow()

0 commit comments

Comments
 (0)