I have implemented TOTP and it is working fine except on Android Chrome browsers (I tried it on three different mobile phones).

It's working with Chrome on my pc, Apple Safari, Samsung Browser and Firefox on Android.

The error is being generated after the 'Sign-in' button is pressed, before the authentication key form is displayed. The browser is being directed to the website name with a /null appended at the end of the address, ex www.test.com/null and obviously this is generating Error 404 page not found.

Any ideas how to resolve this?