phcdevworks_accounts_auth0 0.6.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 330728b841f8d36c168b82959b07ab61496f18b58fe84ffcc745ae37207685ea
4
- data.tar.gz: 33fa99a27bd820a4e35010da44bfc1c1d6cfbcd40660c50108d057528846bd63
3
+ metadata.gz: 9b45f9d0b1a429a3228962e75bd9b02cf78922e5f4ce2ffc9a617ea227ddbf41
4
+ data.tar.gz: f0b6c96ac9754e2946c3e6f9096464e0cee544344e3456e94e6d0a156bde6823
5
5
  SHA512:
6
- metadata.gz: 297ef0b8006bbc3ca2489b8552f08ef5505971b8ee179bbcc03f46d7c5c9ef82431e0fc26e742b009d1f8fef1dc2a21bf26fc46ed5deff4d09df053a1ddf69ab
7
- data.tar.gz: b10458d97f1c5d7840ce8a25db98b05dc580b51637d360593f330c39d2d57370a145938e7673869cecff6aff427cee14689e12cf463a3580a7ba7b66ad3f24fc
6
+ metadata.gz: f54c9bc739670ed9065445927b94a1c1cc842e97ba0c107e877c8947f0fcd6246fc344ec23aa4d35330eddd040af4b66542a3f3fe9ebff57cd0427f5712e35a9
7
+ data.tar.gz: ee446608901ec46e0a656729214e6cc7614e5fe24c4912baf8b0acb8e3573111cc94566e7506ee0fc97c4d34cd589da39260d400ed3c693d46c6859aac587bed
@@ -25,7 +25,6 @@ module PhcdevworksAccountsAuth0
25
25
  returnTo: root_url,
26
26
  client_id: AUTH0_CONFIG['auth0_client_id']
27
27
  }
28
-
29
28
  URI::HTTPS.build(host: AUTH0_CONFIG['auth0_domain'], path: '/v2/logout', query: to_query(request_params)).to_s
30
29
  end
31
30
 
@@ -8,7 +8,5 @@ module PhcdevworksAccountsAuth0
8
8
  @user = session[:userinfo]
9
9
  end
10
10
 
11
-
12
-
13
11
  end
14
12
  end
@@ -6,7 +6,7 @@ Rails.application.config.middleware.use OmniAuth::Builder do
6
6
  AUTH0_CONFIG['auth0_client_id'],
7
7
  AUTH0_CONFIG['auth0_client_secret'],
8
8
  AUTH0_CONFIG['auth0_domain'],
9
- callback_path: '/auth/auth0/callback',
9
+ callback_path: '/auth/callback',
10
10
  authorize_params: {
11
11
  scope: 'openid profile'
12
12
  }
data/config/routes.rb CHANGED
@@ -1,11 +1,10 @@
1
1
  PhcdevworksAccountsAuth0::Engine.routes.draw do
2
2
 
3
3
  # User Dashboard
4
- get "dashboard" => 'user/pages#dashboard'
5
- get "profile" => 'user/pages#profile'
4
+ get "user/dashboard" => 'user/pages#dashboard'
5
+ get "user/profile" => 'user/pages#profile'
6
6
 
7
7
  # Auth Routes
8
- get "/auth/", as: "authentication"
9
8
  get "/auth/callback" => "auth/handler#callback"
10
9
  get "/auth/failure" => "auth/handler#failure"
11
10
  get "/auth/logout" => "auth/handler#logout"
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksAccountsAuth0
2
- VERSION = "0.6.0"
2
+ VERSION = "0.9.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcdevworks_accounts_auth0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks