Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ services:
KC_SPI_THEME_WELCOME_THEME: "tbpro"
KC_TBPRO_HOME: "http://localhost:8087/"
KC_TBPRO_SIGN_UP: "http://localhost:8087/sign-up"
KC_TBPRO_CONTACT: "http://localhost:8087/contact"
KC_TBPRO_PRIMARY_DOMAIN: "example.org"
volumes:
- "./keycloak/themes:/opt/keycloak/themes"
Expand Down
2 changes: 1 addition & 1 deletion keycloak/themes/tbpro/login/login-username.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script>
window._page['currentView'] = {
formAction: '${url.loginAction}',
supportUrl: '${client.baseUrl}contact',
supportUrl: '${properties.tbproContactUrl}',
clientUrl: '${client.baseUrl}',
// <#if realm.password && realm.registrationAllowed && !registrationDisabled??>
registerUrl: '${url.registrationUrl}',
Expand Down
2 changes: 1 addition & 1 deletion keycloak/themes/tbpro/login/login.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script>
window._page['currentView'] = {
formAction: '${url.loginAction}',
supportUrl: '${client.baseUrl}contact',
supportUrl: '${properties.tbproContactUrl}',
clientUrl: '${client.baseUrl}',
// <#if realm.password && realm.registrationAllowed && !registrationDisabled??>
registerUrl: '${url.registrationUrl}',
Expand Down
1 change: 1 addition & 0 deletions keycloak/themes/tbpro/login/theme.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ scripts=static/app.js

tbproPrimaryDomain=${env.KC_TBPRO_PRIMARY_DOMAIN}
tbproSignupUrl=${env.KC_TBPRO_SIGN_UP}
tbproContactUrl=${env.KC_TBPRO_CONTACT}
2 changes: 2 additions & 0 deletions pulumi/config.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ resources:
value: "https://accounts.tb.pro/dashboard"
- name: KC_TBPRO_SIGN_UP
value: "https://accounts.tb.pro/sign-up"
- name: KC_TBPRO_CONTACT
value: "https://accounts.tb.pro/contact"
- name: KC_TBPRO_PRIMARY_DOMAIN
value: "thundermail.com"

Expand Down
2 changes: 2 additions & 0 deletions pulumi/config.stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ resources:
value: "https://accounts-stage.tb.pro/dashboard"
- name: KC_TBPRO_SIGN_UP
value: "https://accounts-stage.tb.pro/sign-up"
- name: KC_TBPRO_CONTACT
value: "https://accounts-stage.tb.pro/contact"
- name: KC_TBPRO_PRIMARY_DOMAIN
value: "stage-thundermail.com"

Expand Down