{"id":20307440,"url":"https://github.com/oktadev/okta-angular-pwa-example","last_synced_at":"2026-03-17T02:45:03.738Z","repository":{"id":52865638,"uuid":"165112827","full_name":"oktadev/okta-angular-pwa-example","owner":"oktadev","description":"A Progressive Web Application example using Angular 7","archived":false,"fork":false,"pushed_at":"2021-04-15T22:09:48.000Z","size":370,"stargazers_count":7,"open_issues_count":0,"forks_count":13,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-25T11:21:25.815Z","etag":null,"topics":["angular","angular7","authentication","oidc","openlibrary","pwa","typescript"],"latest_commit_sha":null,"homepage":"https://developer.okta.com/blog/2019/01/30/first-angular-pwa","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"holgerschmitz/angular-pwa","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":"2019-01-10T18:45:24.000Z","updated_at":"2023-02-25T08:36:25.000Z","dependencies_parsed_at":"2023-01-14T11:30:25.720Z","dependency_job_id":null,"html_url":"https://github.com/oktadev/okta-angular-pwa-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-angular-pwa-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-angular-pwa-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-angular-pwa-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-angular-pwa-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oktadev","download_url":"https://codeload.github.com/oktadev/okta-angular-pwa-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248429110,"owners_count":21101783,"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":["angular","angular7","authentication","oidc","openlibrary","pwa","typescript"],"created_at":"2024-11-14T17:17:42.927Z","updated_at":"2026-03-17T02:44:58.691Z","avatar_url":"https://github.com/oktadev.png","language":"TypeScript","readme":"# Angular 7 PWA Example\n \nThis example shows how to build a search app with Angular, Angular CLI, and Angular Material.\n\nPlease read [Build Your First PWA with Angular](https://developer.okta.com/blog/2019/01/30/first-angular-pwa) 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-pwa-example.git\ncd okta-angular-pwa-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\nRun the app using:\n \n```bash\nnpm install\nnpm start\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`. Then, 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 set the Logout Redirect URI to `http://localhost:4200`.\n\nCopy your `issuer` and copy the `clientId` in to `src/app/app.module.ts`. \n\n```ts\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 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/2019/01/30/first-angular-pwa), or visit our [Okta Developer Forums](https://devforum.okta.com/).\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-pwa-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foktadev%2Fokta-angular-pwa-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fokta-angular-pwa-example/lists"}