From 2bd892cbd80c8d0a1f3be39669bf0e952021a698 Mon Sep 17 00:00:00 2001 From: Jim Anderson Date: Fri, 22 Dec 2023 06:36:53 -0600 Subject: [PATCH] Clarify port for spring boot login quickstart (#10350) --- articles/quickstart/webapp/java-spring-boot/01-login.md | 6 ++++++ articles/quickstart/webapp/java-spring-boot/interactive.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/articles/quickstart/webapp/java-spring-boot/01-login.md b/articles/quickstart/webapp/java-spring-boot/01-login.md index afbcf863a3..de1c68cb74 100644 --- a/articles/quickstart/webapp/java-spring-boot/01-login.md +++ b/articles/quickstart/webapp/java-spring-boot/01-login.md @@ -98,6 +98,12 @@ okta: issuer: https://${account.namespace}/ client-id: ${account.clientId} client-secret: YOUR_CLIENT_SECRET + +# The sample and instructions above for the callback and logout URL configuration use port 3000. +# If you wish to use a different port, change this and be sure your callback and logout URLs are +# configured with the correct port. +server: + port: 3000 ``` ## Add Login to Your Application diff --git a/articles/quickstart/webapp/java-spring-boot/interactive.md b/articles/quickstart/webapp/java-spring-boot/interactive.md index cbf7facf03..e729598434 100644 --- a/articles/quickstart/webapp/java-spring-boot/interactive.md +++ b/articles/quickstart/webapp/java-spring-boot/interactive.md @@ -100,6 +100,12 @@ okta: issuer: https://${account.namespace}/ client-id: ${account.clientId} client-secret: YOUR_CLIENT_SECRET + +# The sample and instructions above for the callback and logout URL configuration use port 3000. +# If you wish to use a different port, change this and be sure your callback and logout URLs are +# configured with the correct port. +server: + port: 3000 ``` ## Add login to your application {{{ data-action=code data-code="SecurityConfig.java" }}}