To people who have an issue on version 4.7.8: you need to have the base keyboard enabled instead of anything else like Heliboard. Enabling any keyboard other than the base one on the code device authentication phase results in BankID redirecting you to the bankid webpage where it says your device lacks security.