I have developed a custom OpenIdConnect authentication module based on google module.
Uncaught TypeError: Liferay.Util.getTop(...).Liferay.Util.Window.getById is not a function
However, if I close the windows and reload the main page I am correctly authenticated.
The call stack trace shows that the caller is in the this file of login-web module.
I think the error should arise also with google plugin but in case my module is:LiferayIAM