Swift: If I am using Auth0 and not Lock, do I need a callback url

I am trying to log in with username and email, for an enterprise app that already has it’s own UI.

I am using Auth0 with the login methods, not WebAuth() and I am not using Lock

Do I need to set up a callback URL or will this work without that?

I am just trying to build a minimal login here, this is the my code:

let myUsername = “toms@milezero.com
let myPassword = “TATSdeli73”
let myClientId = “WopZuSLtK8a9Fvdk9Tx0qZA7o13Ylc4z”
let myDomain = “mrschulz.auth0.com

    Auth0.authentication(clientId: myClientId,
                         domain: myDomain).login(usernameOrEmail: myUsername , password: myPassword,
                                                             connection: "Username-Password-Authentication").start
        { result in
            print("login result  \(result)")
    }


The values I am sending for username and password are valid, I get

login result failure(Not Found)

However when I run this code

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?