electron-weblogin

0.1.1 • Public • Published

Electron WebLogin

Login to an Electron app using the webbrowser. Avoid unnecessary password prompts, since webbrowsers are typically already authenticated.

WebLogin was built for a painless login to Deckard.AI, which has both a web and a desktop versions. You can try both there; you might have to type no password at all.

Installation

npm install --save electron-weblogin

Usage

Read the comments in demo.html and adapt the example to your app.

Try:

git clone https://github.com/deckardai/electron-weblogin.git
cd electron-weblogin

npm install
npm run build
# npm install -g electron

python -m SimpleHTTPServer 1234 &
electron http://localhost:1234/demo.html

Package Sidebar

Install

npm i electron-weblogin

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • deckardai