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 +4 -4
- data/app/controllers/phcdevworks_accounts_auth0/auth/handler_controller.rb +0 -1
- data/app/controllers/phcdevworks_accounts_auth0/user/pages_controller.rb +0 -2
- data/config/initializers/auth0.rb +1 -1
- data/config/routes.rb +2 -3
- data/lib/phcdevworks_accounts_auth0/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b45f9d0b1a429a3228962e75bd9b02cf78922e5f4ce2ffc9a617ea227ddbf41
|
4
|
+
data.tar.gz: f0b6c96ac9754e2946c3e6f9096464e0cee544344e3456e94e6d0a156bde6823
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f54c9bc739670ed9065445927b94a1c1cc842e97ba0c107e877c8947f0fcd6246fc344ec23aa4d35330eddd040af4b66542a3f3fe9ebff57cd0427f5712e35a9
|
7
|
+
data.tar.gz: ee446608901ec46e0a656729214e6cc7614e5fe24c4912baf8b0acb8e3573111cc94566e7506ee0fc97c4d34cd589da39260d400ed3c693d46c6859aac587bed
|
@@ -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/
|
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"
|