Disable login challenge by google

In order to login as a normal user if the user's emails are managed on Google gmail (Gmail Workspace aka G Suite) you need to temporarily disable the challenge for that user. To do that go to

Users > some_user > Security and click on Login challenge and click on turn off button.

You can now login without Google trying to confirm your identity by using phone number or something similar.