                 onViewController(authViewController)
             } else {
                 // Flow not supported yet
-                onFailure(self.unsupportedFlowError())
+                onFailure(AuthenticatedSessionViewControllerFactoryError.flowNotSupported)
             }
             
         }, failure: { (error) in

            }
            
            guard let authenticationSession = authenticationSession, let flows = authenticationSession.flows else {
                onFailure(self.unsupportedFlowError())
                return
            }
            

    
    // MARK: - Constants
    
    // MARK: - Properties
    
    // MARK: Private
