jQuery Login not working in Zendesk App

For others who may encounter a similar issue, the application is running inside an iframe, since it was running embedded in Zendesk, and so when the Google authentication was trying to load it could not as it cannot be loaded inside an iframe. This results in a blank page. A possible alternative would be to trigger the authentication flow through the means of a popup; this community post may contain useful information on this (Auth0.js Popup Autoclose).

If anyone came here for trying to achieve dynamic redirect after authentication you will find a good explanation on that here: Dynamic callback after login - Auth0 Community