Unable to Obtain Refresh Token using Passwordless

Have a look here:

Looks like it requires use of hosted login pages.