Ive made a major update to my open-source framework for embedding Google AppsScript webapps inside websites.
This release adds secure authentication and a bundling system for Apps Script projects:
✅ Google / email login — built with the latest Google Identity Services (GIS), plus robust popup and redirect fallbacks for older or restrictive browsers, powered by Firebase Auth.
✅ HTML / JS / CSS bundling for Apps Script — organize your code in folders, and output optimized, bundle-time generated HTML for much faster load times.
➡️ On the Apps Script side, it adds the missing crypto support to validate idToken signatures and expirations securely from the .gs (no fetch call to firebase).
➡️ The auth/login package can also be used independently of Apps Script. I built it because no lightweight, modular UI library existed for Firebase Auth. It has:
- Native English + Spanish UI (extensible)
- Modern ES module support
- Just 160 KB including firebase vs the 600 KB official "FirebaseUI" SDK.
Get it on GitHub, where you can also see all its other features:
✅ Custom domain serving
✅ Resolution of ALL issues of apps script webapps and users with multiple Google/Workspace accounts
✅ Google Analytics
✅ GCP Logging and Alerting
✅ Secure loading of multiple script versions
✅ Two-way communication between the website and the script
and more at
https://github.com/zmandel/demosite_appscriptcontributions are welcome!