You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
This example app shows how to create a Spring Boot API and CRUD (create, read, update, and delete) its data with a React app.
4
4
5
-
<!--Please read []() to see how this app was created.-->
5
+
Please read [Use React and Spring Boot to Build a Simple CRUD App](https://developer.okta.com/blog/2018/07/19/simple-crud-react-and-spring-boot) to see how this app was created.
6
6
7
-
**Prerequisites:**[Java 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) and [Node.js](https://nodejs.org/).
7
+
**Prerequisites:**[Java 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html), [Node.js 8+](https://nodejs.org/), and [Yarn](https://yarnpkg.com/en/docs/install). You can use npm instead of Yarn, but you'll need to translate the Yarn syntax to npm.
8
8
9
9
> [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.
10
10
@@ -39,15 +39,14 @@ yarn && yarn start
39
39
You can also run everything using Maven:
40
40
41
41
```bash
42
-
./mvnw package -Pprod
43
-
java -jar target/*.jar
42
+
./mvnw -Pprod
44
43
```
45
44
46
45
### Create an Application in Okta
47
46
48
47
You will need to [create an OIDC Application in Okta]() to get your values to perform authentication.
49
48
50
-
Log 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** > **Add Application**. Click **Web**, click **Next**, and give the app a name you’ll remember. Add`http://localhost:8080/login` as a login redirect URIand click **Done**.
49
+
Log 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** > **Add Application**. Click **Web**, click **Next**, and give the app a name you’ll remember. Specify`http://localhost:8080/login/oauth2/code/okta` as a Login redirect URI. Click **Done**, then click **Edit** to edit General Settings. Add `http://localhost:3000`and `http://localhost:8080` as Logout redirect URIs, then click **Save**.
51
50
52
51
#### Server Configuration
53
52
@@ -82,7 +81,7 @@ This example uses the following open source libraries:
82
81
83
82
## Help
84
83
85
-
Please post any questions as comments on the [blog post](), 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.
84
+
Please post any questions as comments on the [blog post](https://developer.okta.com/blog/2018/07/19/simple-crud-react-and-spring-boot), or visit our [Okta Developer Forums](https://devforum.okta.com/). You can also email developers@okta.com if you'd like to create a support ticket.
0 commit comments