svelte-adapter-azure-swa icon indicating copy to clipboard operation
svelte-adapter-azure-swa copied to clipboard

Expose clientPrincipal during dev

Open geoffrich opened this issue 2 years ago • 1 comments

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.

geoffrich avatar Jan 28 '23 15:01 geoffrich

The new platform emulation in https://github.com/sveltejs/kit/pull/11323 (still WIP) may streamline this.

geoffrich avatar Jan 24 '24 15:01 geoffrich