phcdevworks_accounts_auth0 0.10.0 → 0.11.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 +2 -2
- data/app/views/phcdevworks_accounts_auth0/auth/handler/failure.html.erb +1 -0
- data/app/views/phcdevworks_accounts_auth0/auth/handler/logged_out.html.erb +0 -0
- data/config/routes.rb +1 -0
- data/lib/phcdevworks_accounts_auth0/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b128afc84434f1de090ca21858a1a791acb8edeedf8bcb227cefcbe3fe9ae6be
|
4
|
+
data.tar.gz: 7bdef29da14f91677044cd41c4dfa7e325b91b3ab3c3f9e693bdee455eea698e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46aea8fac1cdda312446bd172e4340b1531aa3ce54c6a9ec8b72dff917ce35cafbbe995a9089f66f1a3ed8f05413c780f2a8036e5a0179a6b9fcae86792319c0
|
7
|
+
data.tar.gz: df182def527d84fe59791de5dfaba450f8438afc9097b4384f424906ce0f5427edda93cb48d41514159c2c87cdd3bef14e5c392aeae0666e6fc621c49b488959
|
@@ -13,7 +13,7 @@ module PhcdevworksAccountsAuth0
|
|
13
13
|
|
14
14
|
def logout
|
15
15
|
reset_session
|
16
|
-
redirect_to logout_url
|
16
|
+
redirect_to logout_url, allow_other_host: true
|
17
17
|
end
|
18
18
|
|
19
19
|
private
|
@@ -22,7 +22,7 @@ module PhcdevworksAccountsAuth0
|
|
22
22
|
|
23
23
|
def logout_url
|
24
24
|
request_params = {
|
25
|
-
returnTo:
|
25
|
+
returnTo: auth_logged_out_path,
|
26
26
|
client_id: AUTH0_CONFIG["auth0_client_id"]
|
27
27
|
}
|
28
28
|
URI::HTTPS.build(host: AUTH0_CONFIG["auth0_domain"], path: "/v2/logout", query: to_query(request_params)).to_s
|
@@ -0,0 +1 @@
|
|
1
|
+
<h1>You Are Logged Out</h1>
|
File without changes
|
data/config/routes.rb
CHANGED
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.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PHCDevworks
|
@@ -349,6 +349,7 @@ files:
|
|
349
349
|
- app/views/phcdevworks_accounts_auth0/admin/pages/user_profile.html.erb
|
350
350
|
- app/views/phcdevworks_accounts_auth0/admin/pages/users_list.html.erb
|
351
351
|
- app/views/phcdevworks_accounts_auth0/auth/handler/failure.html.erb
|
352
|
+
- app/views/phcdevworks_accounts_auth0/auth/handler/logged_out.html.erb
|
352
353
|
- app/views/phcdevworks_accounts_auth0/user/pages/dashboard.html.erb
|
353
354
|
- app/views/phcdevworks_accounts_auth0/user/pages/profile.html.erb
|
354
355
|
- config/initializers/auth0.rb
|