diff --git a/samples/demo-client/samples-demo-client.gradle b/samples/demo-client/samples-demo-client.gradle index 1c95c65f..3c374bde 100644 --- a/samples/demo-client/samples-demo-client.gradle +++ b/samples/demo-client/samples-demo-client.gradle @@ -21,6 +21,7 @@ dependencies { implementation "org.springframework:spring-webflux" implementation "io.projectreactor.netty:reactor-netty" implementation "org.webjars:webjars-locator-core" - implementation "org.webjars:bootstrap:3.4.1" - implementation "org.webjars:jquery:3.4.1" + implementation "org.webjars:bootstrap:5.2.3" + implementation "org.webjars:popper.js:2.9.3" + implementation "org.webjars:jquery:3.6.4" } diff --git a/samples/demo-client/src/main/resources/static/assets/css/style.css b/samples/demo-client/src/main/resources/static/assets/css/style.css deleted file mode 100644 index d50ee00e..00000000 --- a/samples/demo-client/src/main/resources/static/assets/css/style.css +++ /dev/null @@ -1,13 +0,0 @@ -html, body, .container, .jumbotron { - height: 100%; -} -.jumbotron { - margin-bottom: 0; -} -.gap { - margin-top: 70px; -} -.code { - font-size: 2em; - letter-spacing: 2rem; -} \ No newline at end of file diff --git a/samples/demo-client/src/main/resources/static/assets/img/devices.png b/samples/demo-client/src/main/resources/static/assets/img/devices.png new file mode 100644 index 00000000..fda6b12e Binary files /dev/null and b/samples/demo-client/src/main/resources/static/assets/img/devices.png differ diff --git a/samples/demo-client/src/main/resources/static/assets/img/spring-security.svg b/samples/demo-client/src/main/resources/static/assets/img/spring-security.svg new file mode 100644 index 00000000..897f986d --- /dev/null +++ b/samples/demo-client/src/main/resources/static/assets/img/spring-security.svg @@ -0,0 +1 @@ +logo-security \ No newline at end of file diff --git a/samples/demo-client/src/main/resources/templates/device-activate.html b/samples/demo-client/src/main/resources/templates/device-activate.html index 22a30ad8..f248d3d3 100644 --- a/samples/demo-client/src/main/resources/templates/device-activate.html +++ b/samples/demo-client/src/main/resources/templates/device-activate.html @@ -1,26 +1,27 @@ - - - - Device Grant Example - - - - -
-
-
-
-

Activation Required

-

You must activate this device.

- Activate -
-
- Devices -
-
-
+ + + + Spring Authorization Server sample + + + +
+
+
+
+

Activation Required

+

You must activate this device.

+ Activate
- +
+ Devices +
+
+
+ + + + diff --git a/samples/demo-client/src/main/resources/templates/device-authorize.html b/samples/demo-client/src/main/resources/templates/device-authorize.html index e378ab9b..95c3223b 100644 --- a/samples/demo-client/src/main/resources/templates/device-authorize.html +++ b/samples/demo-client/src/main/resources/templates/device-authorize.html @@ -1,87 +1,87 @@ - - - - Device Grant Example - - - - -
-
-
-
-

Device Activation

-

Please visit on another device to continue.

-

Activation Code

-
- -
- -
-
-
-
- Devices -
-
+ + + + Spring Authorization Server sample + + + +
+
+
+
+

Device Activation

+

Please visit on another device to continue.

+

Activation Code

+
+ +
+ +
- - + + + - + window.addEventListener('load', schedule); + + diff --git a/samples/demo-client/src/main/resources/templates/index.html b/samples/demo-client/src/main/resources/templates/index.html index 0d162b0c..c0ef10bf 100644 --- a/samples/demo-client/src/main/resources/templates/index.html +++ b/samples/demo-client/src/main/resources/templates/index.html @@ -1,57 +1,19 @@ - - - Spring Security OAuth 2.0 Sample - - - - - - -
- -
-
- -
-
-

Authorize the client using grant_type:

-
- - -
-
- - - + + + + + Spring Authorization Server sample + + + +
+
+
+
+
+ + + + diff --git a/samples/demo-client/src/main/resources/templates/logged-out.html b/samples/demo-client/src/main/resources/templates/logged-out.html index 3c8ec0a5..a0ee9c53 100644 --- a/samples/demo-client/src/main/resources/templates/logged-out.html +++ b/samples/demo-client/src/main/resources/templates/logged-out.html @@ -1,22 +1,20 @@ - + - Spring Security OAuth 2.0 Sample - - - - + + + Spring Authorization Server sample + -
- -
+
-

You are now logged out.

- Go back home +
+

You are now logged out.

+
+ - + diff --git a/samples/demo-client/src/main/resources/templates/page-templates.html b/samples/demo-client/src/main/resources/templates/page-templates.html new file mode 100644 index 00000000..acfdb097 --- /dev/null +++ b/samples/demo-client/src/main/resources/templates/page-templates.html @@ -0,0 +1,65 @@ + + + + + + Spring Authorization Server sample + + + + +
+ +
+ + + + + + + + + + + + + + +
Messages
#Message
+
+
+ + + + +