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

Auto generate Biff secrets + save them to config.edn? #34

Open
jacobobryant opened this issue Jul 6, 2022 · 0 comments
Open

Auto generate Biff secrets + save them to config.edn? #34

jacobobryant opened this issue Jul 6, 2022 · 0 comments

Comments

@jacobobryant
Copy link
Owner

:biff/jwt-secret and :biff.middleware/cookie-secret are nil by default in config.edn.TEMPLATE. Normally when you create a new Biff project, the project creation script generates some random secrets for you. But when cloning an existing Biff project (like Platypub) that doesn't happen. So I think whenever people start up the app, they're getting a new random set of secrets? Which would mean they have to sign in every time. (I have secrets myself since I'm the one who generated the Platypub project!)

We should add instructions for generating secrets and add them to the readme. Maybe even add a command to do it all automatically if it's not too much work.

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