I have successfully implemented Google OneTap login via HTML API for my website. I'm currently testing opt-in to FebCM and have set ‘data-use_fedcm_for_prompt="true"’ as per the documentation.
After installing the “Enpass Password Manager” extension on the browser, the console will report an error and the one-click login prompt box will not pop up.
On the contrary, uninstall the “Enpass Password Manager” extension and the Google one-click login box can pop up and log in correctly.
HTML api configuration is as follows:
<div id="g_id_onload" data-client_id="my_client_id" data-context="use" data-ux_mode="popup" data-auto_select="false" data-itp_support="false" data-use_fedcm_for_prompt="true" data-callback="handleGoogleCredential">
Please see the picture for console error.
enter image description here
cici cici is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.