For some sites, apps created using Nativefier don’t save authorization creds between sessions (app close-and-reopen cycles) despite explicitly checking the “Remember Me” box on those sites. Vanilla Chrome has no problems remembering logins for these sites.
This problem seems site-dependent. For instance, credentials are saved for GitHub but not Expensify or Greenhouse. Since reproduction requires valid credentials to specific sites, reproduction might be difficult unless you can find such a site.
On such a site, do the following:
You should be presented with a login screen again.
Are you nativefying a public website?
Public website with login
Feature request? Have you looked at nativefier --help to see if an existing option could fit your needs?
nativefier --help doesn’t mention this.
Full nativefier command used to build your app: <command here>
nativefier --name Greenhouse --fast-quit --single-instance https://app.greenhouse.io/
nativefier --name Expensify --icon icns/expensify.icns --fast-quit --single-instance https://www.expensify.com/reports
nativefier --version): v7.6.2node --version): v10.1.0macOS High Sierra 10.13.4@danielyli thanks for the feedback. Could your problem be a duplicate of https://github.com/jiahaog/nativefier/issues/164 ?
It’s unknown if it is. In the cases I could find, I used an email+password combination for login, not credentials from Facebook, Google, etc. Unless these websites are using OAuth for email+password, they might not be related.
Here is/was the same. No OAuth used. Credentials stored as cookies in the top-level domain.
I had to login every time I opened the app. Then using a tip from the OAuth thread, refreshing the page after the login, now it remembers the session next time. The trouble is that if I log out, it keeps me logged in next time.
Important to notice: this (forget session) happens when I specify a --name on the command line, even with no spaces.
TL;DR App generated with --name doesn't remember logins persisted in a parent domain. App generated with or without --name doesn't remembers log outs.
Same here
@ronjouch do you still need more info on this?
Most helpful comment
@ronjouch do you still need more info on this?