How to do simple node app login google auth?

Hi there,
I always getting error when login to my web app that has google auth.

Can someone point me in the right direction? Thanks…

Gmail setting:

Less secure app access => On

2-Step Verification => Off

My code:

WebUI.openBrowser(’’)

WebUI.navigateToUrl(‘http://localhost:3000/’)

WebUI.click(findTestObject(‘WebElement/Main/Object Button ButtonLogIn’))

WebUI.click(findTestObject(‘WebElement/Dropdown Login/Object Button LoginWithGoogle’))
WebUI.setText(findTestObject(‘WebElement/Other/Akun Google/Object Input identifierId’), ‘xxxx@gmail.com’)
WebUI.click(findTestObject(‘WebElement/Other/Akun Google/Object Button identifierNext’))
WebUI.delay(90)
WebUI.closeBrowser()