4
4
5
5
TBD
6
6
7
+ ## Add Theme(s)
8
+
9
+ If you would like to see a new theme, e.g., for a new conference, just go to the
10
+ ` src/main/docker/themes ` folder and follow the appropriate instructions from the
11
+ [ KeyCloak documentation] ( https://keycloak.gitbooks.io/documentation/server_development/topics/themes.html ) .
12
+
7
13
## Testing
8
14
9
- If you want to test the provided DukeCon/Javaland themes perform the following steps:
15
+ If you want to test the provided DukeCon/Javaland (or you new) themes, perform the following steps:
10
16
11
17
### Build Docker test image
12
18
@@ -17,32 +23,39 @@ mvn clean package -Plocaltest
17
23
### Run Docker test image
18
24
19
25
``` bash
20
- docker run -ti --rm \
26
+ docker run -ti --rm \
21
27
-e KEYCLOAK_USER=admin \
22
28
-e KEYCLOAK_PASSWORD=admin123 \
23
- -p 18080:8080 dukecon-keycloak:1.0 -SNAPSHOT
29
+ -p 18080:8080 dukecon/dukecon -keycloak:1.1 -SNAPSHOT
24
30
```
25
31
26
32
Wait a second for the Docker container to come up!
27
33
28
34
### Connect to Admin interface
29
35
30
- TBD: Screen shot
31
-
32
36
* Login to KeyCloak Admin Console on http://localhost:18080/auth/admin
33
37
* Use the credentials set as Environment variables from the run step
34
- * Select the _ master_ realm
38
+ ![ KeyCloak Login Std Theme] ( images/keycloak-login-stdtheme.png )
39
+
40
+ ### Configure KeyCloak
41
+
42
+ * Select the _ master_ realm (this is by default the only realm)
35
43
* Switch to _ Login_ tab
36
44
** Set all options to _ off_
37
45
** Save the settings!
46
+ ![ Configure Login] ( images/keycloak-admin-configure-login.png )
38
47
* Switch to _ Themes_ tab
39
- ** Select _ javaland_ as _ Login Theme_
48
+ ** Select _ javaland_ (or any other theme) as _ Login Theme_
49
+ ![ Configure Themes] ( images/keycloak-admin-configure-themes.png )
50
+ ![ Select Theme] ( images/keycloak-admin-choose-theme.png )
40
51
** Save the settings!
41
52
42
- ### Test
53
+ ### Test new settings
43
54
44
- * Log out
55
+ * Sign out
56
+ ![ Logout] ( images/keycloak-signout.png )
45
57
* You should see your new Login page
58
+ ![ KeyCloak Login JavaLand Theme] ( images/keycloak-login-javaland.png )
46
59
47
60
## KeyCloak Admin Cheat Sheet
48
61
@@ -62,11 +75,6 @@ executed from there).
62
75
cd /opt/jboss/keycloak/bin
63
76
```
64
77
65
- ### Login to KC
66
-
67
- ``` bash
68
- ```
69
-
70
78
### Delete all users
71
79
72
80
I recommend to set an environment variable to refer to the realm you are working on
0 commit comments