Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MissingSecret SvelteKit Template #7380

Open
LordMerc opened this issue Apr 27, 2023 · 1 comment
Open

MissingSecret SvelteKit Template #7380

LordMerc opened this issue Apr 27, 2023 · 1 comment
Labels
svelte triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

Comments

@LordMerc
Copy link

Environment

Github online editor,
Deployed on Vercel

Reproduction URL

https://github.com/nextauthjs/sveltekit-auth-example

Describe the issue

I am using the template, only changed the .env to have secrets and changed the kit version to ^1.5.0
I am constantly getting the error i am MissingSecret even though all 3 of the standard secrets are filled and valid.
I am not able to find any topic on this or solution.

How to reproduce

Fork the template
Fill .env
Change package.json kit version from latest to ^1.5.0
Deploy to vercel

Expected behavior

Continuous failing with error MissingSecret.

@LordMerc LordMerc added the triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. label Apr 27, 2023
@LordMerc
Copy link
Author

I've seemed to have fixed it by transferring the .env over to Vercel's environment variables and just using process.env,
any reason why sveltekit did not register env?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
svelte triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Projects
None yet
Development

No branches or pull requests

2 participants