{"id":20307447,"url":"https://github.com/oktadev/okta-angular-node-example","last_synced_at":"2026-03-04T07:01:31.324Z","repository":{"id":52948139,"uuid":"155231846","full_name":"oktadev/okta-angular-node-example","owner":"oktadev","description":"Basic CRUD Example with Angular and Node","archived":false,"fork":false,"pushed_at":"2021-04-12T18:05:04.000Z","size":271,"stargazers_count":12,"open_issues_count":0,"forks_count":22,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-11T15:15:01.764Z","etag":null,"topics":["angular","authentication","node","oidc"],"latest_commit_sha":null,"homepage":"https://developer.okta.com/blog/2018/10/30/basic-crud-angular-and-node","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"holgerschmitz/okta-angular-node","license":null,"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":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-29T15:05:42.000Z","updated_at":"2023-12-13T14:18:30.000Z","dependencies_parsed_at":"2023-01-14T11:31:01.662Z","dependency_job_id":null,"html_url":"https://github.com/oktadev/okta-angular-node-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oktadev/okta-angular-node-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-angular-node-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-angular-node-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-angular-node-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-angular-node-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oktadev","download_url":"https://codeload.github.com/oktadev/okta-angular-node-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-angular-node-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30075425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["angular","authentication","node","oidc"],"created_at":"2024-11-14T17:17:43.548Z","updated_at":"2026-03-04T07:01:31.301Z","avatar_url":"https://github.com/oktadev.png","language":"TypeScript","readme":"# Basic CRUD App with Angular and Node\n \nThis example app shows how to build a basic CRUD app with Angular and Node.\n\nPlease read [Build a Basic CRUD App with Angular and Node](https://developer.okta.com/blog/2018/10/30/basic-crud-angular-and-node) to see how this app was created.\n\n**Prerequisites:** [Node.js](https://nodejs.org/).\n\n\u003e [Okta](https://developer.okta.com/) has Authentication and User Management APIs that reduce development time with instant-on, scalable user infrastructure. Okta's intuitive API and expert support make it easy for developers to authenticate, manage and secure users and roles in any application.\n\n* [Getting Started](#getting-started)\n* [Links](#links)\n* [Help](#help)\n* [License](#license)\n\n## Getting Started\n\nTo install this example application, run the following commands:\n\n```bash\ngit clone https://github.com/oktadeveloper/okta-angular-node-example.git\ncd okta-angular-node-example\n```\n\nThis will get a copy of the project installed locally. To install all of its dependencies and start each app, follow the instructions below.\n\nTo run the server, cd into the `ProductsServer` directory and run:\n \n```bash\nnpm i\nnpm run build\nnpm start\n```\n\nTo run the client, cd into the `MyAngularClient` directory and run:\n \n```bash\nnpm install \nng serve\n```\n\n### Create a New OIDC App in Okta\n\nBefore you begin, you’ll need a free Okta developer account. Install the [Okta CLI](https://cli.okta.com) and run `okta register` to sign up for a new account. If you already have an account, run `okta login`.\n\nThen, run `okta apps create`. Select the default app name, or change it as you see fit. Choose **Single-Page App** and press **Enter**.\n\nUse `http://localhost:4200/callback` for the Redirect URI and accept the default Logout Redirect URI of `http://localhost:4200`.\n\n#### Server Configuration\n\nSet your domain and copy the `clientId` into `ProductsServer/src/auth.ts`. \n\n**NOTE:** The value of `{yourOktaDomain}` should be something like `dev-123456.okta.com`. Make sure you don't include `-admin` in the value!\n\n```ts\nconst oktaJwtVerifier = new OktaJwtVerifier({\n  clientId: '{clientId}',\n  issuer: 'https://{yourOktaDomain}/oauth2/default'\n});\n```\n\n#### Client Configuration\n\nFor the client, set the `issuer` and copy the `clientId` into `MyAngularClient/src/app/app.module.ts`.\n\n```typescript\nconst oktaConfig = {\n  issuer: 'https://{yourOktaDomain}/oauth2/default',\n  clientId: '{clientId}',\n  redirectUri: window.location.origin + '/callback'\n};\n```\n\n## Links\n\nThis example uses the following open source libraries from Okta:\n\n* [Okta JWT Verifier for Node.js](https://github.com/okta/okta-oidc-js/tree/master/packages/jwt-verifier)\n* [Okta Angular SDK](https://github.com/okta/okta-angular)\n\n## Help\n\nPlease post any questions as comments on the [blog post](https://developer.okta.com/blog/2018/10/30/basic-crud-angular-and-node), or visit our [Okta Developer Forums](https://devforum.okta.com/). You can also email developers@okta.com if would like to create a support ticket.\n\n## License\n\nApache 2.0, see [LICENSE](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fokta-angular-node-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foktadev%2Fokta-angular-node-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fokta-angular-node-example/lists"}