No refresh token when using Passwordless/OTP grant through SMS

This post helped me finally get a refresh token when using SMS OTP.