My Web Auth on iOS fails with a userCancelled error before it even opens

Please include the following information in your post:

  • Which SDK this is regarding: e.g. auth0-ios
  • SDK Version: 1.0
  • Platform Version: iOS 14.6
                .scope("openid profile offline_access")
                .start { result in
                    switch result {
                    case .failure(let error):
                        print("Error: \(error)")
               authenticationFailed, object: nil)
                        return promise(.failure(.authFailure))
                    case .success(let credentials):
                        guard let token = credentials.accessToken,
                              let expiresIn = credentials.expiresIn else {
                            return promise(.failure(.authFailure))

                        keychain.setString(token, forKey: API.accessToken)
                        userDefaults.set(expiresIn, forKey: API.expiresIn)
                        DispatchQueue.main.async {
                   didAuthenticate, object: nil)
                        return promise(.success(token))

It can open the login page, and I can log in with my google account, which can be confirmed by checking the dashboard.However, after the google login, it will stop there. Won’t redirect/close the login screen.
I’ve used “Deep Link Tester” to confirm that the intent filter works.

9WSYR Weather thanks for sahring