{"id":20307400,"url":"https://github.com/oktadev/okta-electron-react-example","last_synced_at":"2026-04-09T07:58:35.209Z","repository":{"id":103824207,"uuid":"135615614","full_name":"oktadev/okta-electron-react-example","owner":"oktadev","description":"Okta Example with Electron, React, and GraphQL.","archived":false,"fork":false,"pushed_at":"2018-06-05T04:08:31.000Z","size":570,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-14T11:42:38.027Z","etag":null,"topics":["electron","graphql","react","typeorm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oktadev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-31T17:31:45.000Z","updated_at":"2020-08-25T14:58:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"600ffe95-4a45-4a3b-b485-b7b16bfb2a47","html_url":"https://github.com/oktadev/okta-electron-react-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-electron-react-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-electron-react-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-electron-react-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-electron-react-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oktadev","download_url":"https://codeload.github.com/oktadev/okta-electron-react-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241803363,"owners_count":20022834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["electron","graphql","react","typeorm"],"created_at":"2024-11-14T17:17:34.239Z","updated_at":"2025-12-31T01:03:12.773Z","avatar_url":"https://github.com/oktadev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Okta Example with Electron, React, and GraphQL.\n\nThis is an attempt to develop an app that runs in [Electron](https://electronjs.org/) and authenticates with [Okta](https://developer.okta.com).\n\nAfter getting the Sign-In Widget working and the app developed, I ran into [AuthSdkError: Unable to parse a token from the url](https://github.com/okta/okta-oidc-js/issues/121#issuecomment-394123880). It seems the postMessage logic that the Sign-In Widget uses doesn't work in Electron.\n\nThen I tried the code in this Gist: [PKCE flow in Electron](https://gist.github.com/adeperio/73ce6680d4b80b45e624ab62bacfbdca). I got it mostly working, but after posting the code, Okta does a redirect and Electron says its invalid.\n\nThe last thing I tried is [AppAuth-JS Electron sample](https://github.com/googlesamples/appauth-js-electron-sample). I got this working with Okta and PKCE, but ran into [an issue](https://github.com/openid/AppAuth-JS/issues/60) when I tried to port it back to this project.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fokta-electron-react-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foktadev%2Fokta-electron-react-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fokta-electron-react-example/lists"}