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
+25-6Lines changed: 25 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,15 +38,32 @@ yarn && yarn start
38
38
39
39
### Create an Application in Okta
40
40
41
-
You will need to [create an OIDC Application in Okta]() to get your values to perform authentication.
41
+
Before 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`.
42
42
43
-
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**.
43
+
Then, run `okta apps create`. Select the default app name, or change it as you see fit. Choose**Web**and press **Enter**.
44
44
45
-
#### Server Configuration
45
+
Select **Okta Spring Boot Starter**. Accept the default Redirect URI of `http://localhost:8080/login/oauth2/code/okta` and use `[http://localhost:3000,http://localhost:8080]` for the Logout Redirect URI.
46
+
47
+
The Okta CLI will create an OIDC Web App in your Okta Org. It will add the redirect URIs you specified and grant access to the Everyone group. You will see output like the following when it's finished:
48
+
49
+
```shell
50
+
Okta application configuration has been written to:
NOTE: You can also use the Okta Admin Console to create your app. See [Create a Spring Boot App](https://developer.okta.com/docs/guides/sign-into-web-app/springboot/create-okta-application/) for more information.
48
63
49
-
**NOTE:** The value of `{yourOktaDomain}` should be something like `dev-123456.oktapreview.com`. Make sure you don't include `-admin` in the value!
64
+
#### Server Configuration
65
+
66
+
Copy the values from `application.properties` into `src/main/resources/application.yml` and delete `application.properties`.
0 commit comments