Google Voice login security

Recently, Google tightened its security. In order for Asterisk 11 to work with GV, the gmail account “less secure login” need to be enabled. Is there a solution to make the login more secure so we don’t have to do that or anyone is working on a solution? I am interested to know.