Skip to content

Commit 90718c2

Browse files
committed
Downgrade to Spring Boot 3.2.0
1 parent 5b3faba commit 90718c2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

demo.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Use SDKMAN to install Java 21 with GraalVM
3232
+
3333
[source,shell]
3434
----
35-
auth0 test token -a https://<your-auth0-domain>/api/v2/
35+
auth0 test token -a https://<your-auth0-domain>/api/v2/ -s openid
3636
----
3737

3838
. Set the access token as a `TOKEN` environment variable in a terminal window.
@@ -222,9 +222,11 @@ public class HelloResourceTest {
222222
[source,shell]
223223
----
224224
sdk install springboot
225-
spring init -d=web,oauth2-resource-server,native \
225+
spring init -d=web,oauth2-resource-server,native -b=3.2.0 \
226226
--group-id=com.okta.rest --package-name=com.okta.rest spring-boot
227227
----
228+
+
229+
CAUTION: Spring Boot 3.2.1 https://github.com/oktadev/auth0-java-rest-api-examples/pull/58#issuecomment-1877844650[does not work with GraalVM].
228230

229231
. Add a `HelloController` class that returns the user's information: [`sb-hello`]
230232
+

spring-boot/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'java'
3-
id 'org.springframework.boot' version '3.2.1'
3+
id 'org.springframework.boot' version '3.2.0'
44
id 'io.spring.dependency-management' version '1.1.4'
55
id 'org.graalvm.buildtools.native' version '0.9.28'
66
}

0 commit comments

Comments
 (0)