platypub icon indicating copy to clipboard operation
platypub copied to clipboard

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

Open jacobobryant opened this issue 3 years ago • 0 comments
trafficstars

: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.

jacobobryant avatar Jul 06 '22 23:07 jacobobryant