omniauth-rails 0.3.0 → 0.4.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
  SHA1:
3
- metadata.gz: 7c4f05a8bad7c71594a2a6bd609429fce94d64f9
4
- data.tar.gz: 9b11205c92d02bb915a2acc17237da7ca2f8d5c9
3
+ metadata.gz: 616345b56f40baaac08ef6a197acf3137fce7e31
4
+ data.tar.gz: 5fb0400757b818f85115577d8b8d3a0b14b51231
5
5
  SHA512:
6
- metadata.gz: 464f71b6ccd61a45d422d4ce9345e6fc50234761915253ea4e149959577bc8c6606829f144e046f944afd89cb949af5110db762b7d72c87da5d1fbb1e1108ab8
7
- data.tar.gz: a646a885c575cfea10820ee9650ba17a670334123c95607429a8fa01a058c37bd8963f8f66bb1d1b66097f693cf1902c4f1bc80af55651252012554ffe2786a4
6
+ metadata.gz: c930a515046cdb299b78d02ca8537b12a68c93ae10939ea4b3517a3b214bcc3ca9101bbf7b20f65cf95aa522f849ccf1698e106c1d48c5673656310baa30992f
7
+ data.tar.gz: 96425177e68e72e472c169aa389b0348acd0f28514ecde87dd5c0302d26dbb496895c2dbcd1020fc66d71e2f2691fe2aa870a1027ec5cd68c847445fa001eb1a
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
  module Omniauth
3
3
  module Rails
4
- class SessionsController < ApplicationController
4
+ class SessionsController < ::Omniauth::Rails::ApplicationController
5
5
  include Omniauth::Rails::ApplicationHelper
6
6
  include Omniauth::Rails::Flash
7
7
 
@@ -10,13 +10,31 @@ module Omniauth
10
10
  validate!
11
11
  end
12
12
 
13
+ def client_id
14
+ config["client_id"]
15
+ end
16
+
17
+ def client_secret
18
+ config["client_secret"]
19
+ end
20
+
21
+ def params
22
+ {
23
+ access_type: "online",
24
+ approval_prompt: "auto",
25
+ # prompt: "none", # none, consent, select_account
26
+ }
27
+ end
28
+
13
29
  def configure
14
- client_id = config["client_id"]
15
- client_secret = config["client_secret"]
16
- prompt = "none" # none, consent, select_account
30
+ this_provider = self
17
31
  ::Rails.application.config.middleware.use OmniAuth::Builder do
18
- provider(:google_oauth2, client_id, client_secret,
19
- access_type: "online", approval_prompt: "auto", prompt: prompt)
32
+ provider(
33
+ :google_oauth2,
34
+ this_provider.client_id,
35
+ this_provider.client_secret,
36
+ this_provider.params,
37
+ )
20
38
  end
21
39
  end
22
40
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Omniauth
3
3
  module Rails
4
- VERSION = "0.3.0"
4
+ VERSION = "0.4.0"
5
5
  end
6
6
  end
@@ -1,26 +1,26 @@
1
1
  example_id | status | run_time |
2
2
  ------------------------------------------------------------------------ | ------ | --------------- |
3
3
  ./spec/controllers/application_controller_spec.rb[1:1] | passed | 0.00035 seconds |
4
- ./spec/controllers/authentication_concern_spec.rb[1:1:1] | passed | 0.00731 seconds |
5
- ./spec/controllers/authentication_concern_spec.rb[1:1:2:1] | passed | 0.00537 seconds |
6
- ./spec/helpers/application_helper_spec.rb[1:1:1:1] | passed | 0.00168 seconds |
7
- ./spec/helpers/application_helper_spec.rb[1:1:2:1] | passed | 0.00072 seconds |
8
- ./spec/lib/omniauth/rails/configurator_spec.rb[1:1:1:1:1] | passed | 0.00077 seconds |
9
- ./spec/models/omniauth/rails/authorization_types/emails_spec.rb[1:1:1:1] | passed | 0.0008 seconds |
10
- ./spec/models/omniauth/rails/authorization_types/emails_spec.rb[1:1:2:1] | passed | 0.00015 seconds |
11
- ./spec/models/omniauth/rails/authorization_types/regex_spec.rb[1:1:1:1] | passed | 0.00028 seconds |
12
- ./spec/models/omniauth/rails/authorization_types/regex_spec.rb[1:1:2:1] | passed | 0.00017 seconds |
13
- ./spec/omniauth_rails_spec.rb[1:1] | passed | 0.00084 seconds |
14
- ./spec/test_app/spec/controllers/private_controller_spec.rb[1:1:1:1] | passed | 0.00766 seconds |
15
- ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:1:1] | passed | 0.02791 seconds |
16
- ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:1:2:1] | passed | 0.17803 seconds |
17
- ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:2:1:1] | passed | 0.01752 seconds |
18
- ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:2:2:1] | passed | 0.01723 seconds |
19
- ./spec/test_app/spec/requests/public_controller_spec.rb[1:1:1] | passed | 0.00838 seconds |
20
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:1:1] | passed | 0.00345 seconds |
21
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:1:2:1] | passed | 0.00298 seconds |
22
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:2:1:1] | passed | 0.01447 seconds |
23
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:2:1:2:1] | passed | 0.00572 seconds |
24
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:1:1] | passed | 0.0013 seconds |
25
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:2:1] | passed | 0.00176 seconds |
26
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:3:1] | passed | 0.0035 seconds |
4
+ ./spec/controllers/authentication_concern_spec.rb[1:1:1] | passed | 0.00616 seconds |
5
+ ./spec/controllers/authentication_concern_spec.rb[1:1:2:1] | passed | 0.00417 seconds |
6
+ ./spec/helpers/application_helper_spec.rb[1:1:1:1] | passed | 0.00198 seconds |
7
+ ./spec/helpers/application_helper_spec.rb[1:1:2:1] | passed | 0.00073 seconds |
8
+ ./spec/lib/omniauth/rails/configurator_spec.rb[1:1:1:1:1] | passed | 0.00056 seconds |
9
+ ./spec/models/omniauth/rails/authorization_types/emails_spec.rb[1:1:1:1] | passed | 0.00014 seconds |
10
+ ./spec/models/omniauth/rails/authorization_types/emails_spec.rb[1:1:2:1] | passed | 0.00011 seconds |
11
+ ./spec/models/omniauth/rails/authorization_types/regex_spec.rb[1:1:1:1] | passed | 0.00016 seconds |
12
+ ./spec/models/omniauth/rails/authorization_types/regex_spec.rb[1:1:2:1] | passed | 0.0001 seconds |
13
+ ./spec/omniauth_rails_spec.rb[1:1] | passed | 0.00274 seconds |
14
+ ./spec/test_app/spec/controllers/private_controller_spec.rb[1:1:1:1] | passed | 0.00702 seconds |
15
+ ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:1:1] | passed | 0.0023 seconds |
16
+ ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:1:2:1] | passed | 0.00581 seconds |
17
+ ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:2:1:1] | passed | 0.00654 seconds |
18
+ ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:2:2:1] | passed | 0.01837 seconds |
19
+ ./spec/test_app/spec/requests/public_controller_spec.rb[1:1:1] | passed | 0.007 seconds |
20
+ ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:1:1] | passed | 0.00279 seconds |
21
+ ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:1:2:1] | passed | 0.01024 seconds |
22
+ ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:2:1:1] | passed | 0.17337 seconds |
23
+ ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:2:1:2:1] | passed | 0.00497 seconds |
24
+ ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:1:1] | passed | 0.00183 seconds |
25
+ ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:2:1] | passed | 0.01741 seconds |
26
+ ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:3:1] | passed | 0.01195 seconds |
@@ -59521,3 +59521,553 @@ Processing by Omniauth::Rails::SessionsController#create as HTML
59521
59521
  Parameters: {"provider"=>"google_oauth2"}
59522
59522
  Redirected to http://www.example.com/
59523
59523
  Completed 302 Found in 1ms
59524
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59525
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59526
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59527
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:33:55 -0600
59528
+ Processing by PrivateController#show as HTML
59529
+ Rendering private/show.html.erb within layouts/application
59530
+ Rendered private/show.html.erb within layouts/application (1.5ms)
59531
+ Completed 200 OK in 179ms (Views: 176.5ms)
59532
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:33:55 -0600
59533
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59534
+ Redirected to http://www.example.com/public
59535
+ Completed 302 Found in 1ms
59536
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:33:55 -0600
59537
+ Processing by PrivateController#show as HTML
59538
+ Redirected to http://www.example.com/auth/sign_in
59539
+ Filter chain halted as #<Proc:0x007f93dd8dbee0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59540
+ Completed 302 Found in 9ms
59541
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:33:55 -0600
59542
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59543
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
59544
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.5ms)
59545
+ Completed 200 OK in 2ms (Views: 2.3ms)
59546
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:33:55 -0600
59547
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
59548
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:33:55 -0600
59549
+ (google_oauth2) Authentication failure! csrf_detected encountered.
59550
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:33:55 -0600
59551
+ Processing by Omniauth::Rails::SessionsController#create as HTML
59552
+ Parameters: {"provider"=>"google_oauth2"}
59553
+ Redirected to http://www.example.com/private
59554
+ Completed 302 Found in 1ms
59555
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:33:55 -0600
59556
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59557
+ Redirected to http://www.example.com/auth/google_oauth2
59558
+ Completed 302 Found in 1ms
59559
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:33:55 -0600
59560
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59561
+ Redirected to http://www.example.com/private
59562
+ Completed 302 Found in 0ms
59563
+ Processing by PrivateController#show as HTML
59564
+ Rendering private/show.html.erb within layouts/application
59565
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59566
+ Completed 200 OK in 6ms (Views: 4.6ms)
59567
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
59568
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:33:55 -0600
59569
+ Processing by PrivateController#show as HTML
59570
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
59571
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.3ms)
59572
+ Filter chain halted as #<Proc:0x007f93dd8dbee0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59573
+ Completed 403 Forbidden in 15ms (Views: 14.5ms)
59574
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:33:55 -0600
59575
+ Processing by PrivateController#show as HTML
59576
+ Rendering private/show.html.erb within layouts/application
59577
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59578
+ Completed 200 OK in 6ms (Views: 4.3ms)
59579
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:33:55 -0600
59580
+ Processing by PrivateController#show as HTML
59581
+ Redirected to http://www.example.com/auth/sign_in
59582
+ Filter chain halted as #<Proc:0x007f93dd8dbee0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59583
+ Completed 302 Found in 1ms
59584
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:33:55 -0600
59585
+ Processing by PrivateController#show as HTML
59586
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
59587
+ Rendering private/show.html.erb within layouts/application
59588
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59589
+ Completed 200 OK in 6ms (Views: 4.5ms)
59590
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 13:33:55 -0600
59591
+ Processing by PublicController#show as HTML
59592
+ Rendering public/show.html.erb within layouts/application
59593
+ Rendered public/show.html.erb within layouts/application (0.3ms)
59594
+ Completed 200 OK in 5ms (Views: 3.5ms)
59595
+ Processing by AnonymousController#fake_action as HTML
59596
+ Redirected to http://test.host/auth/sign_in
59597
+ Filter chain halted as :require_authentication rendered or redirected
59598
+ Completed 302 Found in 1ms
59599
+ Processing by AnonymousController#fake_action as HTML
59600
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
59601
+ Completed 200 OK in 0ms
59602
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59603
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59604
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59605
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:33:59 -0600
59606
+ Processing by PrivateController#show as HTML
59607
+ Redirected to http://www.example.com/auth/sign_in
59608
+ Filter chain halted as #<Proc:0x007f930d1e9018@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59609
+ Completed 302 Found in 12ms
59610
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:33:59 -0600
59611
+ Processing by PrivateController#show as HTML
59612
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
59613
+ Rendering private/show.html.erb within layouts/application
59614
+ Rendered private/show.html.erb within layouts/application (1.1ms)
59615
+ Completed 200 OK in 174ms (Views: 172.9ms)
59616
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:33:59 -0600
59617
+ Processing by PrivateController#show as HTML
59618
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
59619
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.3ms)
59620
+ Filter chain halted as #<Proc:0x007f930d1e9018@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59621
+ Completed 403 Forbidden in 17ms (Views: 15.3ms)
59622
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:33:59 -0600
59623
+ Processing by PrivateController#show as HTML
59624
+ Rendering private/show.html.erb within layouts/application
59625
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59626
+ Completed 200 OK in 6ms (Views: 4.3ms)
59627
+ Processing by PrivateController#show as HTML
59628
+ Rendering private/show.html.erb within layouts/application
59629
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59630
+ Completed 200 OK in 7ms (Views: 5.0ms)
59631
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 13:33:59 -0600
59632
+ Processing by PublicController#show as HTML
59633
+ Rendering public/show.html.erb within layouts/application
59634
+ Rendered public/show.html.erb within layouts/application (0.3ms)
59635
+ Completed 200 OK in 5ms (Views: 4.2ms)
59636
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
59637
+ Processing by AnonymousController#fake_action as HTML
59638
+ Redirected to http://test.host/auth/sign_in
59639
+ Filter chain halted as :require_authentication rendered or redirected
59640
+ Completed 302 Found in 1ms
59641
+ Processing by AnonymousController#fake_action as HTML
59642
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
59643
+ Completed 200 OK in 0ms
59644
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:33:59 -0600
59645
+ Processing by Omniauth::Rails::SessionsController#create as HTML
59646
+ Parameters: {"provider"=>"google_oauth2"}
59647
+ Redirected to http://www.example.com/
59648
+ Completed 302 Found in 1ms
59649
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:33:59 -0600
59650
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
59651
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:33:59 -0600
59652
+ (google_oauth2) Authentication failure! csrf_detected encountered.
59653
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:33:59 -0600
59654
+ Processing by PrivateController#show as HTML
59655
+ Rendering private/show.html.erb within layouts/application
59656
+ Rendered private/show.html.erb within layouts/application (0.5ms)
59657
+ Completed 200 OK in 7ms (Views: 5.6ms)
59658
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:33:59 -0600
59659
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59660
+ Redirected to http://www.example.com/
59661
+ Completed 302 Found in 0ms
59662
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:33:59 -0600
59663
+ Processing by PrivateController#show as HTML
59664
+ Redirected to http://www.example.com/auth/sign_in
59665
+ Filter chain halted as #<Proc:0x007f930d1e9018@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59666
+ Completed 302 Found in 1ms
59667
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:33:59 -0600
59668
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59669
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
59670
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.5ms)
59671
+ Completed 200 OK in 2ms (Views: 2.2ms)
59672
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:33:59 -0600
59673
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59674
+ Redirected to http://www.example.com/auth/google_oauth2
59675
+ Completed 302 Found in 1ms
59676
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:33:59 -0600
59677
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59678
+ Redirected to http://www.example.com/
59679
+ Completed 302 Found in 1ms
59680
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59681
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59682
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59683
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59684
+ Processing by AnonymousController#fake_action as HTML
59685
+ Redirected to http://test.host/auth/sign_in
59686
+ Filter chain halted as :require_authentication rendered or redirected
59687
+ Completed 302 Found in 6ms
59688
+ Processing by AnonymousController#fake_action as HTML
59689
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
59690
+ Completed 200 OK in 0ms
59691
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:26:31 -0600
59692
+ Processing by PrivateController#show as HTML
59693
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
59694
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (1.5ms)
59695
+ Filter chain halted as #<Proc:0x007fa2f3c4ad90@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59696
+ Completed 403 Forbidden in 22ms (Views: 20.7ms)
59697
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:26:31 -0600
59698
+ Processing by PrivateController#show as HTML
59699
+ Rendering private/show.html.erb within layouts/application
59700
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59701
+ Completed 200 OK in 173ms (Views: 171.5ms)
59702
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:26:31 -0600
59703
+ Processing by PrivateController#show as HTML
59704
+ Redirected to http://www.example.com/auth/sign_in
59705
+ Filter chain halted as #<Proc:0x007fa2f3c4ad90@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59706
+ Completed 302 Found in 9ms
59707
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:26:31 -0600
59708
+ Processing by PrivateController#show as HTML
59709
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
59710
+ Rendering private/show.html.erb within layouts/application
59711
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59712
+ Completed 200 OK in 6ms (Views: 4.7ms)
59713
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:26:31 -0600
59714
+ Processing by Omniauth::Rails::SessionsController#create as HTML
59715
+ Parameters: {"provider"=>"google_oauth2"}
59716
+ Redirected to http://www.example.com/private
59717
+ Completed 302 Found in 1ms
59718
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:26:31 -0600
59719
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
59720
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:26:31 -0600
59721
+ (google_oauth2) Authentication failure! csrf_detected encountered.
59722
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:26:31 -0600
59723
+ Processing by PrivateController#show as HTML
59724
+ Rendering private/show.html.erb within layouts/application
59725
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59726
+ Completed 200 OK in 5ms (Views: 3.9ms)
59727
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-19 17:26:31 -0600
59728
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59729
+ Redirected to http://www.example.com/public
59730
+ Completed 302 Found in 0ms
59731
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:26:31 -0600
59732
+ Processing by PrivateController#show as HTML
59733
+ Redirected to http://www.example.com/auth/sign_in
59734
+ Filter chain halted as #<Proc:0x007fa2f3c4ad90@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59735
+ Completed 302 Found in 1ms
59736
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-19 17:26:31 -0600
59737
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59738
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
59739
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.7ms)
59740
+ Completed 200 OK in 3ms (Views: 2.9ms)
59741
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-19 17:26:31 -0600
59742
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59743
+ Redirected to http://www.example.com/auth/google_oauth2
59744
+ Completed 302 Found in 1ms
59745
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-19 17:26:31 -0600
59746
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59747
+ Redirected to http://www.example.com/private
59748
+ Completed 302 Found in 0ms
59749
+ Processing by PrivateController#show as HTML
59750
+ Rendering private/show.html.erb within layouts/application
59751
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59752
+ Completed 200 OK in 6ms (Views: 3.9ms)
59753
+ Started GET "/public" for 127.0.0.1 at 2016-09-19 17:26:31 -0600
59754
+ Processing by PublicController#show as HTML
59755
+ Rendering public/show.html.erb within layouts/application
59756
+ Rendered public/show.html.erb within layouts/application (0.2ms)
59757
+ Completed 200 OK in 5ms (Views: 4.0ms)
59758
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
59759
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59760
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59761
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59762
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
59763
+ Processing by AnonymousController#fake_action as HTML
59764
+ Redirected to http://test.host/auth/sign_in
59765
+ Filter chain halted as :require_authentication rendered or redirected
59766
+ Completed 302 Found in 7ms
59767
+ Processing by AnonymousController#fake_action as HTML
59768
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
59769
+ Completed 200 OK in 0ms
59770
+ Started GET "/public" for 127.0.0.1 at 2016-09-19 17:28:08 -0600
59771
+ Processing by PublicController#show as HTML
59772
+ Rendering public/show.html.erb within layouts/application
59773
+ Rendered public/show.html.erb within layouts/application (1.8ms)
59774
+ Completed 200 OK in 154ms (Views: 152.6ms)
59775
+ Processing by PrivateController#show as HTML
59776
+ Rendering private/show.html.erb within layouts/application
59777
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59778
+ Completed 200 OK in 8ms (Views: 4.6ms)
59779
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:28:09 -0600
59780
+ Processing by PrivateController#show as HTML
59781
+ Redirected to http://www.example.com/auth/sign_in
59782
+ Filter chain halted as #<Proc:0x007fb154de8818@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59783
+ Completed 302 Found in 1ms
59784
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:28:09 -0600
59785
+ Processing by PrivateController#show as HTML
59786
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
59787
+ Rendering private/show.html.erb within layouts/application
59788
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59789
+ Completed 200 OK in 5ms (Views: 3.8ms)
59790
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:28:09 -0600
59791
+ Processing by PrivateController#show as HTML
59792
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
59793
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.3ms)
59794
+ Filter chain halted as #<Proc:0x007fb154de8818@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59795
+ Completed 403 Forbidden in 13ms (Views: 13.0ms)
59796
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:28:09 -0600
59797
+ Processing by PrivateController#show as HTML
59798
+ Rendering private/show.html.erb within layouts/application
59799
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59800
+ Completed 200 OK in 6ms (Views: 4.4ms)
59801
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-19 17:28:09 -0600
59802
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59803
+ Redirected to http://www.example.com/auth/google_oauth2
59804
+ Completed 302 Found in 1ms
59805
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-19 17:28:09 -0600
59806
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59807
+ Redirected to http://www.example.com/
59808
+ Completed 302 Found in 0ms
59809
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:28:09 -0600
59810
+ Processing by PrivateController#show as HTML
59811
+ Rendering private/show.html.erb within layouts/application
59812
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59813
+ Completed 200 OK in 5ms (Views: 3.8ms)
59814
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-19 17:28:09 -0600
59815
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59816
+ Redirected to http://www.example.com/
59817
+ Completed 302 Found in 0ms
59818
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:28:09 -0600
59819
+ Processing by PrivateController#show as HTML
59820
+ Redirected to http://www.example.com/auth/sign_in
59821
+ Filter chain halted as #<Proc:0x007fb154de8818@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59822
+ Completed 302 Found in 1ms
59823
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-19 17:28:09 -0600
59824
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59825
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
59826
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.8ms)
59827
+ Completed 200 OK in 3ms (Views: 3.1ms)
59828
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:28:09 -0600
59829
+ (google_oauth2) Authentication failure! csrf_detected encountered.
59830
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:28:09 -0600
59831
+ Processing by Omniauth::Rails::SessionsController#create as HTML
59832
+ Parameters: {"provider"=>"google_oauth2"}
59833
+ Redirected to http://www.example.com/
59834
+ Completed 302 Found in 1ms
59835
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:28:09 -0600
59836
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
59837
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59838
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59839
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59840
+ Processing by AnonymousController#fake_action as HTML
59841
+ Redirected to http://test.host/auth/sign_in
59842
+ Filter chain halted as :require_authentication rendered or redirected
59843
+ Completed 302 Found in 4ms
59844
+ Processing by AnonymousController#fake_action as HTML
59845
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
59846
+ Completed 200 OK in 0ms
59847
+ Processing by PrivateController#show as HTML
59848
+ Rendering private/show.html.erb within layouts/application
59849
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59850
+ Completed 200 OK in 8ms (Views: 5.1ms)
59851
+ Started GET "/public" for 127.0.0.1 at 2016-09-19 17:30:10 -0600
59852
+ Processing by PublicController#show as HTML
59853
+ Rendering public/show.html.erb within layouts/application
59854
+ Rendered public/show.html.erb within layouts/application (1.0ms)
59855
+ Completed 200 OK in 147ms (Views: 145.7ms)
59856
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
59857
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:30:11 -0600
59858
+ Processing by PrivateController#show as HTML
59859
+ Rendering private/show.html.erb within layouts/application
59860
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59861
+ Completed 200 OK in 5ms (Views: 4.1ms)
59862
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:30:11 -0600
59863
+ Processing by PrivateController#show as HTML
59864
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
59865
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.4ms)
59866
+ Filter chain halted as #<Proc:0x007fad03fa2758@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59867
+ Completed 403 Forbidden in 15ms (Views: 14.3ms)
59868
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:30:11 -0600
59869
+ Processing by PrivateController#show as HTML
59870
+ Redirected to http://www.example.com/auth/sign_in
59871
+ Filter chain halted as #<Proc:0x007fad03fa2758@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59872
+ Completed 302 Found in 1ms
59873
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:30:11 -0600
59874
+ Processing by PrivateController#show as HTML
59875
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
59876
+ Rendering private/show.html.erb within layouts/application
59877
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59878
+ Completed 200 OK in 5ms (Views: 4.0ms)
59879
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:30:11 -0600
59880
+ Processing by Omniauth::Rails::SessionsController#create as HTML
59881
+ Parameters: {"provider"=>"google_oauth2"}
59882
+ Redirected to http://www.example.com/
59883
+ Completed 302 Found in 1ms
59884
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:30:11 -0600
59885
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
59886
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:30:11 -0600
59887
+ (google_oauth2) Authentication failure! csrf_detected encountered.
59888
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-19 17:30:11 -0600
59889
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59890
+ Redirected to http://www.example.com/auth/google_oauth2
59891
+ Completed 302 Found in 1ms
59892
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-19 17:30:11 -0600
59893
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59894
+ Redirected to http://www.example.com/
59895
+ Completed 302 Found in 0ms
59896
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:30:11 -0600
59897
+ Processing by PrivateController#show as HTML
59898
+ Rendering private/show.html.erb within layouts/application
59899
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59900
+ Completed 200 OK in 5ms (Views: 3.8ms)
59901
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-19 17:30:11 -0600
59902
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59903
+ Redirected to http://www.example.com/
59904
+ Completed 302 Found in 0ms
59905
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:30:11 -0600
59906
+ Processing by PrivateController#show as HTML
59907
+ Redirected to http://www.example.com/auth/sign_in
59908
+ Filter chain halted as #<Proc:0x007fad03fa2758@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59909
+ Completed 302 Found in 1ms
59910
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-19 17:30:11 -0600
59911
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59912
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
59913
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.6ms)
59914
+ Completed 200 OK in 3ms (Views: 2.6ms)
59915
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59916
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59917
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59918
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59919
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59920
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59921
+ Started GET "/public" for 127.0.0.1 at 2016-09-19 17:40:26 -0600
59922
+ Processing by PublicController#show as HTML
59923
+ Rendering public/show.html.erb within layouts/application
59924
+ Rendered public/show.html.erb within layouts/application (1.2ms)
59925
+ Completed 200 OK in 185ms (Views: 183.4ms)
59926
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
59927
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-19 17:40:26 -0600
59928
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59929
+ Redirected to http://www.example.com/auth/google_oauth2
59930
+ Completed 302 Found in 1ms
59931
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-19 17:40:26 -0600
59932
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59933
+ Redirected to http://www.example.com/
59934
+ Completed 302 Found in 0ms
59935
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:40:26 -0600
59936
+ Processing by Omniauth::Rails::SessionsController#create as HTML
59937
+ Parameters: {"provider"=>"google_oauth2"}
59938
+ Redirected to http://www.example.com/
59939
+ Completed 302 Found in 1ms
59940
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:40:26 -0600
59941
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
59942
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:40:26 -0600
59943
+ (google_oauth2) Authentication failure! csrf_detected encountered.
59944
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:40:26 -0600
59945
+ Processing by PrivateController#show as HTML
59946
+ Rendering private/show.html.erb within layouts/application
59947
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59948
+ Completed 200 OK in 9ms (Views: 5.3ms)
59949
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-19 17:40:26 -0600
59950
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59951
+ Redirected to http://www.example.com/
59952
+ Completed 302 Found in 0ms
59953
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:40:26 -0600
59954
+ Processing by PrivateController#show as HTML
59955
+ Redirected to http://www.example.com/auth/sign_in
59956
+ Filter chain halted as #<Proc:0x007fded4119ee0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59957
+ Completed 302 Found in 1ms
59958
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-19 17:40:26 -0600
59959
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59960
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
59961
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.5ms)
59962
+ Completed 200 OK in 3ms (Views: 2.6ms)
59963
+ Processing by PrivateController#show as HTML
59964
+ Rendering private/show.html.erb within layouts/application
59965
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59966
+ Completed 200 OK in 7ms (Views: 5.1ms)
59967
+ Processing by AnonymousController#fake_action as HTML
59968
+ Redirected to http://test.host/auth/sign_in
59969
+ Filter chain halted as :require_authentication rendered or redirected
59970
+ Completed 302 Found in 1ms
59971
+ Processing by AnonymousController#fake_action as HTML
59972
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
59973
+ Completed 200 OK in 0ms
59974
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:40:26 -0600
59975
+ Processing by PrivateController#show as HTML
59976
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
59977
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.4ms)
59978
+ Filter chain halted as #<Proc:0x007fded4119ee0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59979
+ Completed 403 Forbidden in 17ms (Views: 16.6ms)
59980
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:40:26 -0600
59981
+ Processing by PrivateController#show as HTML
59982
+ Rendering private/show.html.erb within layouts/application
59983
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59984
+ Completed 200 OK in 6ms (Views: 4.6ms)
59985
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:40:26 -0600
59986
+ Processing by PrivateController#show as HTML
59987
+ Redirected to http://www.example.com/auth/sign_in
59988
+ Filter chain halted as #<Proc:0x007fded4119ee0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59989
+ Completed 302 Found in 1ms
59990
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:40:26 -0600
59991
+ Processing by PrivateController#show as HTML
59992
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
59993
+ Rendering private/show.html.erb within layouts/application
59994
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59995
+ Completed 200 OK in 5ms (Views: 3.9ms)
59996
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59997
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59998
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59999
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:42:12 -0600
60000
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
60001
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:42:12 -0600
60002
+ (google_oauth2) Authentication failure! csrf_detected encountered.
60003
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-19 17:42:12 -0600
60004
+ Processing by Omniauth::Rails::SessionsController#create as HTML
60005
+ Parameters: {"provider"=>"google_oauth2"}
60006
+ Redirected to http://www.example.com/private
60007
+ Completed 302 Found in 4ms
60008
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-19 17:42:12 -0600
60009
+ Processing by Omniauth::Rails::SessionsController#new as HTML
60010
+ Redirected to http://www.example.com/auth/google_oauth2
60011
+ Completed 302 Found in 1ms
60012
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-19 17:42:12 -0600
60013
+ Processing by Omniauth::Rails::SessionsController#new as HTML
60014
+ Redirected to http://www.example.com/private
60015
+ Completed 302 Found in 0ms
60016
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:12 -0600
60017
+ Processing by PrivateController#show as HTML
60018
+ Rendering private/show.html.erb within layouts/application
60019
+ Rendered private/show.html.erb within layouts/application (1.2ms)
60020
+ Completed 200 OK in 164ms (Views: 161.7ms)
60021
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-19 17:42:12 -0600
60022
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
60023
+ Redirected to http://www.example.com/public
60024
+ Completed 302 Found in 0ms
60025
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:12 -0600
60026
+ Processing by PrivateController#show as HTML
60027
+ Redirected to http://www.example.com/auth/sign_in
60028
+ Filter chain halted as #<Proc:0x007fbbef002b18@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60029
+ Completed 302 Found in 1ms
60030
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-19 17:42:12 -0600
60031
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
60032
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
60033
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.6ms)
60034
+ Completed 200 OK in 3ms (Views: 2.6ms)
60035
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:12 -0600
60036
+ Processing by PrivateController#show as HTML
60037
+ Redirected to http://www.example.com/auth/sign_in
60038
+ Filter chain halted as #<Proc:0x007fbbef002b18@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60039
+ Completed 302 Found in 0ms
60040
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:12 -0600
60041
+ Processing by PrivateController#show as HTML
60042
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
60043
+ Rendering private/show.html.erb within layouts/application
60044
+ Rendered private/show.html.erb within layouts/application (0.2ms)
60045
+ Completed 200 OK in 4ms (Views: 3.5ms)
60046
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:12 -0600
60047
+ Processing by PrivateController#show as HTML
60048
+ Rendering private/show.html.erb within layouts/application
60049
+ Rendered private/show.html.erb within layouts/application (0.2ms)
60050
+ Completed 200 OK in 5ms (Views: 3.8ms)
60051
+ Started GET "/private" for 127.0.0.1 at 2016-09-19 17:42:12 -0600
60052
+ Processing by PrivateController#show as HTML
60053
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
60054
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.3ms)
60055
+ Filter chain halted as #<Proc:0x007fbbef002b18@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
60056
+ Completed 403 Forbidden in 17ms (Views: 16.2ms)
60057
+ Processing by PrivateController#show as HTML
60058
+ Rendering private/show.html.erb within layouts/application
60059
+ Rendered private/show.html.erb within layouts/application (0.1ms)
60060
+ Completed 200 OK in 6ms (Views: 3.9ms)
60061
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
60062
+ Processing by AnonymousController#fake_action as HTML
60063
+ Redirected to http://test.host/auth/sign_in
60064
+ Filter chain halted as :require_authentication rendered or redirected
60065
+ Completed 302 Found in 0ms
60066
+ Processing by AnonymousController#fake_action as HTML
60067
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
60068
+ Completed 200 OK in 0ms
60069
+ Started GET "/public" for 127.0.0.1 at 2016-09-19 17:42:12 -0600
60070
+ Processing by PublicController#show as HTML
60071
+ Rendering public/show.html.erb within layouts/application
60072
+ Rendered public/show.html.erb within layouts/application (0.3ms)
60073
+ Completed 200 OK in 5ms (Views: 3.7ms)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Rabinowitz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-13 00:00:00.000000000 Z
11
+ date: 2016-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -335,7 +335,6 @@ files:
335
335
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/yb/ybtAnaaqo1s0ZXeIKLc5sW1EovhL83HYrgFcKGHUa0Q.cache
336
336
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/ym/ymCwqEVBkEs6bYteLf70KCA5pCKZtqjQ3TbZQzrIs3M.cache
337
337
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/z0/z041WxjoEQvRhtSLORbkRlsNTgi68Rwx7XUyaDbPn0M.cache
338
- - spec/test_app/tmp/pids/server.pid
339
338
  homepage: https://github.com/danrabinowitz/omniauth-rails
340
339
  licenses:
341
340
  - MIT
@@ -356,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
356
355
  version: '0'
357
356
  requirements: []
358
357
  rubyforge_project:
359
- rubygems_version: 2.5.1
358
+ rubygems_version: 2.6.6
360
359
  signing_key:
361
360
  specification_version: 4
362
361
  summary: A Rails Engine to make it as easy as possible to add oauth authentication
@@ -484,4 +483,3 @@ test_files:
484
483
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/z0/z041WxjoEQvRhtSLORbkRlsNTgi68Rwx7XUyaDbPn0M.cache
485
484
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/Z2/Z2DJdVm4jsJXg0HzuQVyAAmjJbVdzKntXlmd14iNVbU.cache
486
485
  - spec/test_app/tmp/cache/assets/sprockets/v3.0/ZA/ZAzUlqsc-uLa_zcjt1t6EBkPqI8PkEoxz40i4FgrRlQ.cache
487
- - spec/test_app/tmp/pids/server.pid
@@ -1 +0,0 @@
1
- 49930