Skip to content

oktadev/okta-electron-react-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Okta Example with Electron, React, and GraphQL.

This is an attempt to develop an app that runs in Electron and authenticates with Okta.

After getting the Sign-In Widget working and the app developed, I ran into AuthSdkError: Unable to parse a token from the url. It seems the postMessage logic that the Sign-In Widget uses doesn't work in Electron.

Then I tried the code in this Gist: PKCE flow in Electron. I got it mostly working, but after posting the code, Okta does a redirect and Electron says its invalid.

The last thing I tried is AppAuth-JS Electron sample. I got this working with Okta and PKCE, but ran into an issue when I tried to port it back to this project.