This shows how an Electron based application can use OAuth2 with OpenPaaS. There is nothing sexy here, just saving this for later use in the real OpenPaaS Desktop Apps.
yarn
- Open your OpenPaaS instance
- Go to 'Control center > Applications' then create a new application.
- Copy client ID and client secret and paste them in the
app/config.js
file - Update your OpenPaaS URL in the
app/config.js
file if needed
./node_modules/.bin/electron .