Skip to content

Latest commit

 

History

History
77 lines (59 loc) · 1.96 KB

electron.md

File metadata and controls

77 lines (59 loc) · 1.96 KB
title name alias language framework hybrid image tags snippets
Electron Tutorial
Electron
electron
Javascript
Electron
false
quickstart
electron
atom
dependencies
native-platforms/electron/dependencies

Electron Tutorial

::: panel-info System Requirements This tutorial and seed project have been tested with the following:

  • NodeJS 5.0.0
  • Electron 0.36.7 :::

<%= include('../_includes/_package', { pkgRepo: 'auth0-electron', pkgBranch: 'master', pkgPath: null, pkgFilePath: null, pkgType: 'js' }) %>

Otherwise, if you already have an existing application, please follow the steps below.

1. Setting up the Callback URL

Go to the Application Settings section in your Auth0 dashboard and make sure that the Allowed Callback URLs field contains the following values:

https://${account.namespace}/mobile, file:///

2. Add Auth0Lock to Your Project

Add Auth0Lock to your index.html file and set the viewport.

${snippet(meta.snippets.dependencies)}

3. Add the auth0-electron Script to Your Project

You can copy auth0-electron.js from GitHub or download it with the seed project from the link above.

4. Follow the Guide Specific to the Front End Technology You're Using

You can use any front end technology you like in your Electron application. We support the following:

5. All done!

You have completed the implementation of Auth0 in your Electron app. Congrats!