Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
melissaahn committed Dec 27, 2024
1 parent 3935e5c commit f64ea0e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit f64ea0e

Please sign in to comment.