Using the new JS client library for Sign in with Google, I can't find a way to start a sign-in flow without rendering the button, and the button can't be customized enough to align with the aesthetics of the site.
Is there any way to trigger the auth flow without the button? For example:
// instead of:
window.google.accounts.id.renderButton(divRef.current, {
theme: 'outline',
size: 'large',
width: divRef.current.clientWidth,
text: 'continue_with',
});
// I want something like:
window.google.accounts.id.authenticate();