EConnect+ Widget host
A small widget framework for your iframes.
Drop-in React/Next.js host for embeddable widgets. Each widget is requested via iframe and authenticated with a signed JWT so you can tailor content to the calling user or tenant.
How embedding works
Generate a signed JWT on your backend and pass it as a token query parameter to any widget URL:
<iframe
src="https://your-domain.com/widgets/greeting?token=YOUR_JWT"
width="400"
height="180"
referrerpolicy="no-referrer"
loading="lazy"
style="border:0; border-radius:12px; overflow:hidden;"
></iframe>On the server we verify the token, hydrate a user object, and render the appropriate widget variant.