Passwordless email template

Did you check the documentation on how to get a Passwordless code?

One of the Request Parameters is authParams that says:

Use this to append or override the link parameters (like scope, redirect_uri, protocol, response_type), when you send a link using email.

This one might be just the one you are looking for.