{"id":20307218,"url":"https://github.com/oktadev/spring-boot-vue-example","last_synced_at":"2026-03-05T23:38:29.363Z","repository":{"id":39500289,"uuid":"159687664","full_name":"oktadev/spring-boot-vue-example","owner":"oktadev","description":"Bootiful Spring Boot + Vue Example","archived":false,"fork":false,"pushed_at":"2023-02-28T05:07:01.000Z","size":1965,"stargazers_count":21,"open_issues_count":8,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-25T11:11:33.419Z","etag":null,"topics":["bootiful","java","spring-boot","typescript","vue","vuejs"],"latest_commit_sha":null,"homepage":"https://developer.okta.com/blog/2018/12/03/bootiful-spring-boot-java-vue-typescript","language":"Vue","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}},"created_at":"2018-11-29T15:29:53.000Z","updated_at":"2024-08-20T14:45:00.000Z","dependencies_parsed_at":"2023-02-01T07:00:21.870Z","dependency_job_id":null,"html_url":"https://github.com/oktadev/spring-boot-vue-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%2Fspring-boot-vue-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fspring-boot-vue-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fspring-boot-vue-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oktadev%2Fspring-boot-vue-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oktadev","download_url":"https://codeload.github.com/oktadev/spring-boot-vue-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248429104,"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":["bootiful","java","spring-boot","typescript","vue","vuejs"],"created_at":"2024-11-14T17:16:48.762Z","updated_at":"2026-03-05T23:38:24.318Z","avatar_url":"https://github.com/oktadev.png","language":"Vue","readme":"# Spring Boot + Vue Example\n \nThis example app shows how to create a Spring Boot API and display its data with Vue.\n\nPlease read [Bootiful Development with Spring Boot and Vue](https://developer.okta.com/blog/2018/12/03/bootiful-spring-boot-java-vue-typescript) to see how this app was created.\n\n**Prerequisites:** [Java 11](https://jdk.java.net/11/) 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/spring-boot-vue-example.git\ncd spring-boot-react-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\nnpm start\n```\n\nThe primary example (without authentication) is in the `master` branch, while the Okta integration is in the `okta` branch. To check out the Okta branch on your local machine, run the following command.\n\n```bash\ngit checkout okta\n```\n\n### Create an Application in Okta\n\nYou will need to create an OpenID Connect Application in Okta to get your values to perform authentication. \n\nLog in to your Okta Developer account (or [sign up](https://developer.okta.com/signup/) if you don’t have an account) and navigate to **Applications** \u003e **Add Application**. Click **Single-Page App**, click **Next**, and give the app a name you’ll remember. Change all instances of `localhost:8080` to `localhost:8081` and click **Done**.\n\n#### Server Configuration\n\nSet the `issuer` and copy the `clientId` into `server/src/main/resources/application.properties`. \n\n**NOTE:** The value of `{yourOktaDomain}` should be something like `dev-123456.oktapreview.com`. Make sure you don't include `-admin` in the value!\n\n```properties\nokta.oauth2.issuer=https://{yourOktaDomain}/oauth2/default\nokta.oauth2.client-id={yourClientId}\n```\n\n#### Client Configuration\n\nSet the `issuer` and copy the `clientId` into `client/src/router.ts`.\n\n```typescript\nVue.use(OktaVuePlugin, {\n  issuer: 'https://{yourOktaDomain}/oauth2/default',\n  client_id: '{yourClientId}',\n  ...\n});\n```\n\n## Links\n\nThis example uses the following libraries provided by Okta:\n\n* [Okta Spring Boot Starter](https://github.com/okta/okta-spring-boot)\n* [Okta Vue SDK](https://github.com/okta/okta-oidc-js/tree/master/packages/okta-vue)\n\n## Help\n\nPlease post any questions as comments on [this repo's blog post](https://developer.okta.com/blog/2018/12/03/bootiful-spring-boot-java-vue-typescript), or visit our [Okta Developer Forums](https://devforum.okta.com/). You can also email developers@okta.com if you 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%2Fspring-boot-vue-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foktadev%2Fspring-boot-vue-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foktadev%2Fspring-boot-vue-example/lists"}