Skip to content

Conversation

@balazsorban44
Copy link
Member

Similar to next-auth, SvelteKit Auth will now support environment variable inference. Any AUTH_ prefiexed environment variables will be picked up, to simplify the configuration setup.

This also fixes #9436, checking for the building value from $app/environment to not fail builds that are using $env/dynamic/private.

@vercel
Copy link

vercel bot commented Jan 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 18, 2024 9:34am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Jan 18, 2024 9:34am

Copy link
Member

@ndom91 ndom91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SvelteKit 2.0 Build Error - Cannot read values from $env/dynamic/private while prerendering

3 participants