Browse Source

Fix a couple openid parameters

This needs to be a proper url, also our attempt at looking up the var
was not working, just use the same lookup of vhost_name that is used
elsewhere and known to work.

Change-Id: If906f69688bf4412f50fcfafc05861b957ce42a8
Clark Boylan 2 years ago
parent
commit
f8d123d2ba
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      templates/etherpadlite.vhost.erb

+ 2
- 2
templates/etherpadlite.vhost.erb View File

@@ -44,8 +44,8 @@
44 44
       AuthName "<%= @auth_openid['banner'] %>"
45 45
       AuthOpenIDSecureCookie On
46 46
       AuthOpenIDCookieLifespan 3600
47
-      AuthOpenIDTrustRoot <%= @vhost_name %>
48
-      AuthOpenIDServerName <%= @vhost_name %>
47
+      AuthOpenIDTrustRoot https://<%= scope.lookupvar("etherpad_lite::apache::vhost_name") %>
48
+      AuthOpenIDServerName https://<%= scope.lookupvar("etherpad_lite::apache::vhost_name") %>
49 49
       AuthOpenIDSingleIdP <%= @auth_openid['singleIdp'] %>
50 50
       AuthOpenIDTrusted <%= @auth_openid['trusted'] %>
51 51
       <% if @auth_openid['any_valid_user'] %>

Loading…
Cancel
Save