diff options
| author | mo khan <mo@mokhan.ca> | 2023-07-14 16:52:36 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2023-07-14 16:52:36 -0600 |
| commit | c551f0a3485d6e88340085968233c026de603c76 (patch) | |
| tree | 55b2ca0448d8cf1a1717d206fa05b9ddbe52116a /app | |
| parent | 9d83bd0c4b1d4d84f2ed9760fa6af3e124683780 (diff) | |
remove auth0 prefix from configmain
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> |
