svelte-adapter-azure-swa
svelte-adapter-azure-swa copied to clipboard
Expose clientPrincipal during dev
Followup to https://github.com/geoffrich/svelte-adapter-azure-swa/issues/103
The adapter populates clientPrincipal in prod, but not during dev. The solution I had in mind was providing a custom handle hook that will set it before fulfilling the request.
The new platform emulation in https://github.com/sveltejs/kit/pull/11323 (still WIP) may streamline this.