manga-download / haruneko

Prototype of HakuNeko based on NW.js + TypeScript

Home Page:https://haruneko-docs.pages.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Discussion : Manual Login, Automatic Login

MikeZeDev opened this issue · comments

Like in Hakuneko, provide a way for user to log into the website. Either by manual interaction (opening a browser window) either automatically (user has filled his login info in settings)

Random ideas :

  • If you provide both, make sure both works, or just provide ONLY ONE. If you put a login link allowing manual login when only automatic login will work it will be confusing when wanting to diagnose problem.
  • Make use of tags "Automatic login", "Manual Login" for scraper, maybe?
  • Provide the plugin a way to interact with the user by pushing custom message, or custom (localized) errors like "LOGIN REQUIRED" idk.
  • This require per-plugin settings implementation :)
  • Allow the use of a master password to encrypt credential data. Still wonder about how secure we should make that and what cipher to use.
commented

require_userlogin= undefined | 'settings' | 'interract'
could be a nice way to get the UI to find out there is something to warn the user