Started getting an error from the Google sign in script all of a sudden.
Error at _.$e in https://accounts.google.com/gsi/client
Started getting an error from the Google sign in script all of a sudden.
Error at _.$e in https://accounts.google.com/gsi/client
2
Answers
It seems like Google has changed the type of
renderButton
width
fromstring
tonumber
.Broken:
Working:
They haven't updated the documentation: https://developers.google.com/identity/gsi/web/reference/js-reference#width
The recent update broke it if you specified the button width in a string format without the ‘px’ suffix.
should work.