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

Generate APP_SECRET on start #5

Open
NastyaGrifon opened this issue Mar 13, 2024 · 0 comments
Open

Generate APP_SECRET on start #5

NastyaGrifon opened this issue Mar 13, 2024 · 0 comments

Comments

@NastyaGrifon
Copy link

Since APP_SECRET appears to be standard SHA1, it could be generated with

dd if=/dev/urandom bs=100 count=1 2>&1 | sha1sum | tail -1 | awk '{print $1}'

and then saved as APP_SECRET in .env.local

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant