code: function onPopupRedirectGenericProviderClick() {
    var providerId = $('#popup-redirect-generic-providerid').val();
    var provider = new firebase.auth.OAuthProvider(providerId);
    signInWithPopupRedirect(provider);
  }
docs: Performs the corresponding popup/redirect action for a generic provider.