{"id":20307265,"url":"https://github.com/oktadev/okta-spring-boot-2-angular-8-example","last_synced_at":"2025-07-31T09:09:25.106Z","repository":{"id":103824388,"uuid":"184120843","full_name":"oktadev/okta-spring-boot-2-angular-8-example","owner":"oktadev","description":"Angular 8 + Spring Boot 2.2 = ❤️","archived":false,"fork":false,"pushed_at":"2019-11-05T13:16:48.000Z","size":214,"stargazers_count":53,"open_issues_count":0,"forks_count":48,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-11T15:14:17.905Z","etag":null,"topics":["angular","angular8","oauth2","oidc","spring-boot","spring-data","spring-data-rest"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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,"zenodo":null}},"created_at":"2019-04-29T18:14:13.000Z","updated_at":"2023-07-11T20:09:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3eda8f8-723e-4fa9-8eb9-4c87a297bedd","html_url":"https://github.com/oktadev/okta-spring-boot-2-angular-8-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oktadev/okta-spring-boot-2-angular-8-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-spring-boot-2-angular-8-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-spring-boot-2-angular-8-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-spring-boot-2-angular-8-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-spring-boot-2-angular-8-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oktadev","download_url":"https://codeload.github.com/oktadev/okta-spring-boot-2-angular-8-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fokta-spring-boot-2-angular-8-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268016856,"owners_count":24181656,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","angular8","oauth2","oidc","spring-boot","spring-data","spring-data-rest"],"created_at":"2024-11-14T17:16:59.022Z","updated_at":"2025-07-31T09:09:25.090Z","avatar_url":"https://github.com/oktadev.png","language":"TypeScript","readme":"# Angular 8 + Spring Boot 2.2 = ❤️\n \nThis example app shows how to build a basic CRUD app with Spring Boot 2.2, Spring Data, Angular 8, and Angular Material.\n\nPlease read [Angular 8 + Spring Boot 2.2: Build a CRUD App Today!](https://developer.okta.com/blog/2019/05/13/angular-8-spring-boot-2) to see how this app was created.\n\n**Prerequisites:** [Java 11](https://sdkman.io/sdks#java) and [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-spring-boot-2-angular-8-example.git\ncd okta-spring-boot-2-angular-8-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 `server` folder and run:\n \n```bash\n./mvnw spring-boot:run\n```\n\nTo run the client, cd into the `client` folder and run:\n \n```bash\nnpm install \u0026\u0026 npm start\n```\n\n### Create a New OIDC App in Okta\n\nIf you don't have an Okta developer account, please [create one](https://developer.okta.com/signup/). Then, create a new OIDC app on Okta:\n\n1. Log in to your developer account, navigate to **Applications** \u003e **Add Application**.\n3. Select **Single-Page App** \u003e **Next**. \n4. Give the application a name, change all instances of `https://localhost:8080` to `https://localhost:4200`, and click **Done**.\n\n#### Server Configuration\n\nSet your domain and copy the `clientId` into `server/src/main/resources/application.properties`. \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```properties\nokta.oauth2.client-id: {clientId}\nokta.oauth2.issuer: https://{yourOktaDomain}/oauth2/default\n```\n\n#### Client Configuration\n\nFor the client, set the `issuer` and copy the `clientId` into `client/src/app/auth-routing.module.ts`.\n\n```typescript\nconst config = {\n  issuer: 'https://{yourOktaDomain}/oauth2/default',\n  redirectUri: window.location.origin + '/implicit/callback',\n  clientId: '{clientId}'\n};\n```\n\n## Links\n\nThis example uses the following open source libraries from Okta:\n\n* [Okta Spring Boot Starter](https://github.com/okta/okta-spring-boot#readme)\n* [Okta Angular SDK](https://github.com/okta/okta-oidc-js/tree/master/packages/okta-angular#readme)\n* [OktaDev Schematics](https://github.com/oktadeveloper/schematics#readme)\n\n## Help\n\nPlease post any questions as commnets on the [blog post](https://developer.okta.com/blog/2019/05/13/angular-8-spring-boot-2) or ask them on the [Okta Developer Forums](https://devforum.okta.com/). Our whole team monitors this channel and will see your questions. You can also enter them as issues on this project or ask them on Stack Overflow and add the `okta` tag.\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-spring-boot-2-angular-8-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foktadev%2Fokta-spring-boot-2-angular-8-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fokta-spring-boot-2-angular-8-example/lists"}