Integraring google workplace with IDM using the REST driver

Hi.

We are trying to connect to google workspace using the rest driver but trying to manage the OAUTH2 login so far has been not successful using the "Generate Bearer Token" option (As far as I understand this is not possible because google require consent during the login), but is not clear how the "Generate JWT Token" works with the driver, has anyone tried to use this driver to make a connection with google?