gourmetger.blogg.se

Electron js tutorial
Electron js tutorial









This SDK exposes a signInWithCredentials() method that you can use to authenticate your users. There are many ways to handle this, but in this article, you will use Okta’s Auth JS SDK. For some companies, allowing localhost to receive the response from Okta may pose a security concern. In his example, he used AppAuth with its PKCE extension to secure his Electron application.īoth of these approaches require a callback path where Okta can send the authentication code to be processed by your application. Matt Raible wrote a blog post about using Electron with Okta in 2018. This process is super simple to set up and use securely. The middleware takes some configuration and connects with Okta. For example, one of the most common and popular ways to interface with Okta from a Node.js application is to use the Okta NodeJS OIDC Middleware. This can present a new set of challenges.

electron js tutorial

Since Electron uses Node on the backend, it also has access to the entire npm ecosystem that Node developers have come to rely on.Įven though it is built on Node, Electron is used for desktop applications rather than web applications.

electron js tutorial

This design enables developers to quickly write and easily maintain cross-platform applications between their desktop and web applications. Electron uses HTML, JavaScript, and CSS for its front end and Node.js for its backend. Electron is one of the most popular desktop frameworks today.











Electron js tutorial