Skip to content

Commit 625dbcb

Browse files
author
Matt Raible
committed
Upgrade example to Spring Boot 2.7 and Vue 3
1 parent b79d83f commit 625dbcb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+18914
-16742
lines changed

.gitignore

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1 @@
1-
.gradle
2-
/build/
3-
!gradle/wrapper/gradle-wrapper.jar
4-
5-
### STS ###
6-
.apt_generated
7-
.classpath
8-
.factorypath
9-
.project
10-
.settings
11-
.springBeans
12-
.sts4-cache
13-
14-
### IntelliJ IDEA ###
151
.idea
16-
*.iws
17-
*.iml
18-
*.ipr
19-
/out/
20-
21-
### NetBeans ###
22-
/nbproject/private/
23-
/nbbuild/
24-
/dist/
25-
/nbdist/
26-
/.nb-gradle/
27-
28-
.DS_Store
29-
node_modules
30-
/dist
31-
32-
# local env files
33-
.env.local
34-
.env.*.local
35-
36-
# Log files
37-
npm-debug.log*
38-
yarn-debug.log*
39-
yarn-error.log*
40-
41-
# Editor directories and files
42-
.idea
43-
.vscode
44-
*.suo
45-
*.ntvs*
46-
*.njsproj
47-
*.sln
48-
*.sw*
49-

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright [yyyy] [name of copyright owner]
189+
Copyright 2018-Present Okta, Inc.
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

client/.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
VUE_APP_CLIENT_ID=<your-client-id>
2+
VUE_APP_ISSUER_URI=https://<your-okta-domain>/oauth2/default
3+
VUE_APP_SERVER_URI=http://localhost:9000

client/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ node_modules
1010
npm-debug.log*
1111
yarn-debug.log*
1212
yarn-error.log*
13+
pnpm-debug.log*
1314

1415
# Editor directories and files
1516
.idea
@@ -18,4 +19,4 @@ yarn-error.log*
1819
*.ntvs*
1920
*.njsproj
2021
*.sln
21-
*.sw*
22+
*.sw?

client/README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
1-
# Okta Spring Boot Vue Client
1+
# client
22

33
## Project setup
44
```
5-
yarn install
5+
npm install
66
```
77

88
### Compiles and hot-reloads for development
99
```
10-
yarn run serve
10+
npm run serve
1111
```
1212

1313
### Compiles and minifies for production
1414
```
15-
yarn run build
15+
npm run build
1616
```
17+
18+
### Lints and fixes files
19+
```
20+
npm run lint
21+
```
22+
23+
### Customize configuration
24+
See [Configuration Reference](https://cli.vuejs.org/config/).

client/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
22
presets: [
3-
'@vue/app'
3+
'@vue/cli-plugin-babel/preset'
44
]
55
}

client/jsconfig.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "esnext",
5+
"baseUrl": "./",
6+
"moduleResolution": "node",
7+
"paths": {
8+
"@/*": [
9+
"src/*"
10+
]
11+
},
12+
"lib": [
13+
"esnext",
14+
"dom",
15+
"dom.iterable",
16+
"scripthost"
17+
]
18+
}
19+
}

0 commit comments

Comments
 (0)