HTML Button on IWS

Dear all,

My aim is to put "google sign in button-oauth" on IWS2020.

I tried to insert this in the custom widgets that didn’t work.
Is there any way to do that? I would accept in VBS side too.

I think critical part is to embed/include the additional/external js:
<script src="https://apis.google.com/js/client:platform.js?onload=renderButton" async defer></script>


Thanks so much,

========================
<html lang="en">

<head>

<script src="https://apis.google.com/js/client:platform.js?onload=renderButton" async defer></script>

</head>

<body>

<div class="g-signin2" data-onsuccess="onSignIn"></div>

<script>
function onSignIn(googleUser) [
// Useful data for your client-side scripts:
var profile = googleUser.getBasicProfile();
console.log("ID: " + profile.getId()); //
console.log('Full Name: ' + profile.getName());
console.log('Given Name: ' + profile.getGivenName());
console.log('Family Name: ' + profile.getFamilyName());
console.log("Image URL: " + profile.getImageUrl());
console.log("Email: " + profile.getEmail());

// The ID token you need to pass to your backend:
var id_token = googleUser.getAuthResponse().id_token;
console.log("ID Token: " + id_token);
]
</script>


</body>
</html>
=====================