Is there any way to focus signup tab when opening Lock10?

Ideally I’d like to have a login button and a signup button. When the user clicks login, it opens the Lock modal as usual, but when they click Sign Up, it opens the Lock modal and focuses the Sign Up tab instead. Anyway to achieve this?

2 Likes

You can set the initialScreen to signUp, outlined here:

https://auth0.com/docs/libraries/lock/v10/customization#initialscreen-string-