{"id":20215577,"url":"https://github.com/casdoor/casdoor-electron-example","last_synced_at":"2025-04-10T14:39:14.719Z","repository":{"id":44381045,"uuid":"512178130","full_name":"casdoor/casdoor-electron-example","owner":"casdoor","description":"An Electron app example for Casdoor based on Casdoor JS SDK: https://github.com/casdoor/casdoor-js-sdk","archived":false,"fork":false,"pushed_at":"2022-07-26T16:00:10.000Z","size":799,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T13:11:09.588Z","etag":null,"topics":["casdoor","electron","iam","javascript","js","oauth","oidc","saml","sdk","sso","typescript"],"latest_commit_sha":null,"homepage":"https://github.com/casdoor/casdoor","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/casdoor.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}},"created_at":"2022-07-09T12:18:17.000Z","updated_at":"2025-01-28T03:25:41.000Z","dependencies_parsed_at":"2022-07-14T13:20:33.331Z","dependency_job_id":null,"html_url":"https://github.com/casdoor/casdoor-electron-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/casdoor%2Fcasdoor-electron-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fcasdoor-electron-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fcasdoor-electron-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fcasdoor-electron-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casdoor","download_url":"https://codeload.github.com/casdoor/casdoor-electron-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248233987,"owners_count":21069493,"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":["casdoor","electron","iam","javascript","js","oauth","oidc","saml","sdk","sso","typescript"],"created_at":"2024-11-14T06:23:22.419Z","updated_at":"2025-04-10T14:39:14.701Z","avatar_url":"https://github.com/casdoor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# casdoor-electron-example\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app) and [Electron](https://www.electronjs.org/).\n\n## Init example\n\nYou need to init requires 6 parameters, which are all string type:\n\n| Name                 | Description                                                                                      | Path                   |\n| -------------------- | ------------------------------------------------------------------------------------------------ | ---------------------- |\n| serverUrl            | your Casdoor server URL                                                                          | `src/App.js`         |\n| clientId             | the Client ID of your Casdoor application                                                        | `src/App.js`         |\n| appName              | the name of your Casdoor application                                                             | `src/App.js`         |\n| redirectPath         | the path of the redirect URL for your Casdoor application, will be `/callback` if not provided | `src/App.js`         |\n| clientSecret         | the Client Secret of your Casdoor application                                                   | `src/App.js`         |\n| casdoorServiceDomain | your Casdoor server URL                                                                          | `public/electron.js` |\n\nIf you don't set these parameters, this project will use the  [Casdoor online demo]( https://door.casdoor.com) as the defult Casdoor server and use the [Casnode](https://door.casdoor.com/applications/app-casnode) as the default Casdoor application.\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm run dev` or `yarn dev`\n\nBuilds the electron app and run this app.\n### `npm run make` or `yarn make`\n Package and distribute your application.\n It will create the `out` folder where your package will be located:\n`// Example for macOS\n    out/\n    ├── out/make/zip/darwin/x64/my-electron-app-darwin-x64-1.0.0.zip\n    ├── ...\n    └── out/my-electron-app-darwin-x64/my-electron-app.app/Contents/MacOS/my-electron-ap`\n    \n    ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasdoor%2Fcasdoor-electron-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasdoor%2Fcasdoor-electron-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasdoor%2Fcasdoor-electron-example/lists"}