summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-03-27 08:57:49 -0600
committermo khan <mo@mokhan.ca>2025-03-27 08:57:49 -0600
commitf7b7b7702ef5821f150481221fd71b256b845096 (patch)
tree0cf8b6f4c60d869d90f3fb5813a82d8f3daa25c0
parent739ff3c99773e1310f403843fe5fac8059fb9fe6 (diff)
feat: add consistent header across services
-rwxr-xr-xbin/idp4
-rwxr-xr-xbin/ui6
2 files changed, 10 insertions, 0 deletions
diff --git a/bin/idp b/bin/idp
index b9c132d..80e57c6 100755
--- a/bin/idp
+++ b/bin/idp
@@ -228,6 +228,7 @@ module Authn
<nav>
<ul>
<li><strong>IdP</strong></li>
+ <li><a href="http://ui.example.com:8080/">UI</a></li>
</ul>
</nav>
@@ -340,6 +341,7 @@ module Authn
<nav>
<ul>
<li><strong>IdP</strong></li>
+ <li><a href="http://ui.example.com:8080/">UI</a></li>
</ul>
</nav>
@@ -653,6 +655,7 @@ module Authz
<nav>
<ul>
<li><strong>IdP</strong></li>
+ <li><a href="http://ui.example.com:8080/">UI</a></li>
</ul>
</nav>
@@ -745,6 +748,7 @@ class IdentityProvider
<nav>
<ul>
<li><strong>IdP</strong></li>
+ <li><a href="http://ui.example.com:8080/">UI</a></li>
</ul>
<ul>
<li><a href="/">Home</a></li>
diff --git a/bin/ui b/bin/ui
index 34e4e4b..aa473d0 100755
--- a/bin/ui
+++ b/bin/ui
@@ -181,6 +181,7 @@ class UI
<%- if current_user?(request) -%>
<nav>
<ul>
+ <li><a href="http://#{$idp_host}/">IdP</a></li>
<li><strong>UI</strong></li>
</ul>
<ul>
@@ -201,6 +202,7 @@ class UI
<%- else -%>
<nav>
<ul>
+ <li><a href="http://#{$idp_host}/">IdP</a></li>
<li><strong>UI</strong></li>
</ul>
<ul>
@@ -280,6 +282,7 @@ class UI
<<~ERB
<nav>
<ul>
+ <li><a href="http://#{$idp_host}/">IdP</a></li>
<li><strong>UI</strong></li>
</ul>
<ul>
@@ -315,6 +318,7 @@ class UI
<<~ERB
<nav>
<ul>
+ <li><a href="http://#{$idp_host}/">IdP</a></li>
<li><strong>UI</strong></li>
</ul>
<ul>
@@ -372,6 +376,7 @@ class UI
<<~ERB
<nav>
<ul>
+ <li><a href="http://#{$idp_host}/">IdP</a></li>
<li><strong>UI</strong></li>
</ul>
<ul>
@@ -455,6 +460,7 @@ class UI
<<~ERB
<nav>
<ul>
+ <li><a href="http://#{$idp_host}/">IdP</a></li>
<li><strong>UI</strong></li>
</ul>
<ul>