You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to set up a custom sign in page the authjs library for SvelteKit tries, for some reason, to import { env } from "$env/dynamic/private"; in the client, breaking the whole app
$env/dynamic/private shouldn't be imported on the client
The text was updated successfully, but these errors were encountered:
ssebastianoo
added
bug
Something isn't working
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
labels
Jun 14, 2024
Environment
Reproduction URL
https://github.com/ssebastianoo/SelfStats/blob/authjs-bug/src/routes/signin/%2Bpage.svelte
Describe the issue
When trying to set up a custom sign in page the authjs library for SvelteKit tries, for some reason, to
import { env } from "$env/dynamic/private";
in the client, breaking the whole appHow to reproduce
Add a custom login page following the docs
Expected behavior
$env/dynamic/private
shouldn't be imported on the clientThe text was updated successfully, but these errors were encountered: