So I installed the website, and I go to IPADRESS/kanri/login and I connect with github, but he come back on the login page like I never login. I tried on another navigator (into private) and still doesn't work.
There is my conf file :
Github client id and secret keys, for Kanri authentication
config.GITHUB_CLIENT_ID = "xxx";
config.GITHUB_CLIENT_SECRET = "xxx";
// Session options for Kanri. !! YOU MUST SET THESE FOR KANRI TO WORK !!
// Set cookies are always signed with keys[0], while the other keys are
// valid for verification, allowing for key rotation.
// If you don't want to use key rotation, remove the 'keys' and use 'secret'
// instead.
// Documentation: https://github.com/expressjs/cookie-session#cookie-options
config.SESSION_OPTIONS = {
name: 'kanri.session',
keys: ['lmaotestingidk', 'lmaotestingidkoldlmao'],
maxAge: (86400 * 1000), // 1 day (milliseconds)
secureProxy: false, // Should be true if you are proxying w/ nginx etc
domain: "http://94.177.249.162" // You should set this to your domain
}
IIRC, domain in the config shouldn't have an http:// bit. If you drop that it should work, seems like its failing to properly create the session cookie.
Hi,
So I installed the website, and I go to IPADRESS/kanri/login and I connect with github, but he come back on the login page like I never login. I tried on another navigator (into private) and still doesn't work.
There is my conf file :
And I use this configuration :
I hope you can help me,
Bye.