diff --git a/README.md b/README.md index 7ca0015..a907215 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,11 @@ You can get Client ID and Client Secret from the created application. ### Keycloak -1. Open `Themes` setting page in `master` realm. Then set `discord` theme as `Admin Console Theme`. Note: You may need to re-login for reloading the theme. -2. Add `discord` Identity Provider in the realm which you want to configure. -3. In the `discord` identity provider page, set `Client Id` and `Client Secret`. -4. (Optional) Set Guild Id(s) to allow federation if you want. +Note: You don't need to setup the theme in `master` realm from v0.3.0. + +1. Add `discord` Identity Provider in the realm which you want to configure. +2. In the `discord` identity provider page, set `Client Id` and `Client Secret`. +3. (Optional) Set Guild Id(s) to allow federation if you want. ## Source Build diff --git a/ejb/src/main/resources/META-INF/keycloak-themes.json b/ejb/src/main/resources/META-INF/keycloak-themes.json deleted file mode 100644 index c1f3185..0000000 --- a/ejb/src/main/resources/META-INF/keycloak-themes.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "themes": [{ - "name" : "discord", - "types": [ "admin" ] - }] -} diff --git a/ejb/src/main/resources/theme/discord/admin/messages/admin-messages_en.properties b/ejb/src/main/resources/theme-resources/messages/admin-messages_en.properties similarity index 100% rename from ejb/src/main/resources/theme/discord/admin/messages/admin-messages_en.properties rename to ejb/src/main/resources/theme-resources/messages/admin-messages_en.properties diff --git a/ejb/src/main/resources/theme/discord/admin/resources/partials/realm-identity-provider-discord-ext.html b/ejb/src/main/resources/theme-resources/resources/partials/realm-identity-provider-discord-ext.html similarity index 100% rename from ejb/src/main/resources/theme/discord/admin/resources/partials/realm-identity-provider-discord-ext.html rename to ejb/src/main/resources/theme-resources/resources/partials/realm-identity-provider-discord-ext.html diff --git a/ejb/src/main/resources/theme/discord/admin/resources/partials/realm-identity-provider-discord.html b/ejb/src/main/resources/theme-resources/resources/partials/realm-identity-provider-discord.html similarity index 100% rename from ejb/src/main/resources/theme/discord/admin/resources/partials/realm-identity-provider-discord.html rename to ejb/src/main/resources/theme-resources/resources/partials/realm-identity-provider-discord.html diff --git a/ejb/src/main/resources/theme/discord/admin/theme.properties b/ejb/src/main/resources/theme/discord/admin/theme.properties deleted file mode 100644 index 93d3b28..0000000 --- a/ejb/src/main/resources/theme/discord/admin/theme.properties +++ /dev/null @@ -1,2 +0,0 @@ -parent=keycloak -