Auth0 Home Blog Docs

Lock.swift get username and password immediately after signing/signup


  • Which SDK does this apply to? Auth0 and Lock
  • Which verison of the SDK you are using? Auth0.swift 1.12.0 and Lock.swift 2.6.0


I am working on an encrypted app that uses a Password based key. It means that I need to have access to the user’s password when on logins/signup in order to generate the key.

I also need the username immediately after. I know I can get with the credentials but I don’t want to depend on a server request to get it.

Is there a way to get access to the user password and username after logins/signup using Auth0 Lock in swift?