diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/auth0_controller.rb | 2 | ||||
| -rw-r--r-- | app/views/dashboard/show.html.erb | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/app/controllers/auth0_controller.rb b/app/controllers/auth0_controller.rb index 269727c..91cb889 100644 --- a/app/controllers/auth0_controller.rb +++ b/app/controllers/auth0_controller.rb @@ -17,7 +17,7 @@ class Auth0Controller < ApplicationController path: '/v2/logout', query: { returnTo: root_url, - client_id: Rails.application.config.auth0['auth0_client_id'] + client_id: Rails.application.config.auth0['client_id'] }.to_query ).to_s end diff --git a/app/views/dashboard/show.html.erb b/app/views/dashboard/show.html.erb new file mode 100644 index 0000000..048c827 --- /dev/null +++ b/app/views/dashboard/show.html.erb @@ -0,0 +1,13 @@ + +<section class="jumbotron text-center"> + <h2><img class="jumbo-thumbnail" src="<%= @user['picture'] %>"/></h2> + <h1>Welcome, <%= @user['name'] %></h1> +</section> +<section class="container"> + <div class="panel panel-default"> + <div class="panel-heading">Normalized User Profile</div> + <div class="panel-body"> + <pre><%= JSON.pretty_generate(@user) %></pre> + </div> + </div> +</section> |
