diff --git a/javascripts/discourse/templates/guest-gate.hbs b/javascripts/discourse/templates/guest-gate.hbs
index 2f52ba4..dd03243 100644
--- a/javascripts/discourse/templates/guest-gate.hbs
+++ b/javascripts/discourse/templates/guest-gate.hbs
@@ -36,8 +36,15 @@
{{#if ssoEnabled}}
{{#if (theme-setting 'use_gate_buttons') }}
+ {{#if (theme-setting 'enable_discourse_connect_signup') }}
+
+ {{/if}}
{{else}}
{{theme-i18n "guest_gate.sso_log_in"}}
+ {{#if (theme-setting 'enable_discourse_connect_signup') }}
+ {{theme-i18n "guest_gate.or"}}
+ {{theme-i18n "guest_gate.sso_sign_up"}}
+ {{/if}}
{{/if}}
{{else}}
{{#if (theme-setting 'use_gate_buttons') }}
diff --git a/locales/en.yml b/locales/en.yml
index abfac65..9211f8c 100644
--- a/locales/en.yml
+++ b/locales/en.yml
@@ -5,6 +5,7 @@ en:
sign_up: "Sign Up"
log_in: "I already have an account"
sso_log_in: "Log In"
+ sso_sign_up: "Sign Up"
or: "or"
custom_gate:
big_text: "Custom Big text"
diff --git a/settings.yml b/settings.yml
index 123515d..88d0502 100644
--- a/settings.yml
+++ b/settings.yml
@@ -46,7 +46,15 @@ custom_login_url:
custom_signup_url:
type: string
default: "/signup"
- description: "For example, /signup is the home page with the “Sign Up” modal displayed."
+ description: "For example, /signup is the home page with the “Sign Up” modal displayed."
+enable_discourse_connect_signup:
+ type: bool
+ default: false
+ description: "Add a Sign Up button to Discourse Connect. With this you can add a different external url for registration etc."
+discourse_connect_signup_url:
+ type: string
+ default: ""
+ description: "Paste a URL for Discourse Connect Sign Up button."
gate_footer_position:
default: center
type: enum