카카오 공유 메세지 클릭시 로그인 화면 생체인식 에러

안녕하세요 현재 카카오 공유 링크를 적용중입니다. 성공적으로 공유도 되고, 앱링크도 문제가 없지만 로그인 화면으로 이동할 때가 문제입니다.

로그인 화면에는 생체인식을 체크하는 곳있습니다. 생체인식을 허용하면 생체인식을 체크하고 그것으로 로그인합니다. 하지만 카카오 링크 메세지를 통해 로그인 화면으로 이동하면 자꾸 에러 토스트를 보게 됩니다.

이유가 무엇이고 이문제를 어떻게 해결해야 하나요?

로그인 화면 이동 in AppDelegate

    func switchLoginUI(_ pushtype : String) {
        let loginStoryboard = UIStoryboard(name: "Login", bundle: nil)
        let viewController = loginStoryboard.instantiateViewController(withIdentifier: "MainLoginController") as! MainLoginController
        viewController.pushType = pushtype
        self.window?.rootViewController = viewController
    }

로그인 부분 생체인식

    override func viewDidLoad() {
        super.viewDidLoad()
        if LocalStorage.get("testing") != nil {
            let bio : String = LocalStorage.get("testing") as! String
            if bio == "touchID" {
                descriptions = " Touch ID로 인증."
            } else {
                descriptions = " Face ID로 인증."
            }
            
                dacBiometry.evaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, localizedReason: descriptions) { (success, error) in
                    
                    if success {
                        DispatchQueue.main.async {
                            self.networkingCallback()
                        }
                    } else {
                        DispatchQueue.main.async {
                            Toast(text: Alert.notMatchBio).show()
                        }
                        if let error = error {
                            DispatchQueue.main.async {
                                Toast(text: Alert.notMatchBio).show()
                            }
                            Log.Error(error.localizedDescription)
                        }
                    }
                    
                }
                return
            
        } else {
            
        }
        
    }