aboutsummaryrefslogtreecommitdiff
path: root/app/views/welcome/authenticate.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/welcome/authenticate.html.erb')
-rw-r--r--app/views/welcome/authenticate.html.erb15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/welcome/authenticate.html.erb b/app/views/welcome/authenticate.html.erb
new file mode 100644
index 0000000..548101b
--- /dev/null
+++ b/app/views/welcome/authenticate.html.erb
@@ -0,0 +1,15 @@
+<h1>Authentication#sso_callback</h1>
+
+<p>Welcome <%= @current_user&.name %>!</p>
+
+<p>Your Agents:
+ <ul>
+ <% @current_user&.agencies&.each do |a| %>
+ <li><%= a.name %> (<%= a.roles %>)</li>
+ <% end %>
+ </ul>
+</p>
+
+<%= p @current_user %>
+<%= p @sso.user_info %>
+<%= p session %>