No session secret provided, please set `secret` for apostrophe-express module
See original GitHub issueGet this error when I try to set admin name and password. Initial site comes up but I’m unable to login as an admin. Full error:
WARNING: No session secret provided, please set the secret
property of the session
property of the apostrophe-express module in app.js
That group does not exist.
I’m running Mac OSX Sierra, Node 3.10.9.
By the way, for those that do not have Homebrew installed on their mac, you also need to run this after installing mongodb: brew tap homebrew/services to get the mongo console to work.
Issue Analytics
- State:
- Created 7 years ago
- Comments:21 (12 by maintainers)
Top Results From Across the Web
No session secret provided, please set `secret` for apostrophe ...
However running 'node app.js' throws this exception: WARNING: No session secret provided, please set `secret` for apostrophe-express module in app.js.
Read more >Installing existing Apostrophe - ApostropheCMS Forum
`WARNING: No session secret provided, please set the secret property of the session property of the apostrophe- express module in app.js
Read more >node.js - NodeJS - Error secret required - Stack Overflow
When configuring your express instance you need this: app.use(express.cookieParser('your secret option here')); app.use(express.session());.
Read more >apostrophecms/express - Apostrophe 3 Documentation
This module initializes the Express framework, which Apostrophe uses and ... project. secret: 'you should have a secret', name: self.apos.
Read more >Connect-mongo NPM | npm.io
connect-mongo. MongoDB session store for Connect and Express written in Typescript. ... But please note that we are not maintaining v3.x anymore.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Excuse me, session should be singular.
On Wed, Mar 14, 2018 at 9:12 AM, Marc Wensauer notifications@github.com wrote:
–
THOMAS BOUTELL, CHIEF SOFTWARE ARCHITECT P’UNK AVENUE | (215) 755-1330 | punkave.com
var apos = require(‘apostrophe’)({ shortName: ‘apostrophesandbox’, title: ‘Apostrophe Sandbox 2.0.0’, demo: true,
bundles: [‘apostrophe-blog’],
// These are the modules we want to bring into the project. modules: {