Using software code generator for 2FA is not perfect.
It is too easy to steal any data from your smartphone.
Using an U2F hardware token like Yubikey U2F is more perfect solution.
For now Chrome, Opera and Firefox browsers are supporting U2F protocol (Firefox requires some extension). I think now is the perfect time to start support U2F in OnShape.