omniauth-rails 0.2.0 → 0.3.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: 059f75d1200dc3b91d801bd9123a59735abf41c7
4
- data.tar.gz: fafa8b4b4d0a349c4af547544057b98e4653fa5b
3
+ metadata.gz: 7c4f05a8bad7c71594a2a6bd609429fce94d64f9
4
+ data.tar.gz: 9b11205c92d02bb915a2acc17237da7ca2f8d5c9
5
5
  SHA512:
6
- metadata.gz: 773c1f3d104401f4f59158cd9cc2d237368a3e94643e6e7bec0d56fc445e90b4bf9c619be862b758a5277e6a125c4e2ab011d2be765800fedf8a45f0fc5b72f4
7
- data.tar.gz: 2ae36708dd6e522bdb7ebc20a30577bed4c53674d0fc10892ceeb78d4f66300f4fe50d1cc7a811ef5a772575d853ece0a69aba661d6712036b955c7b483ea59b
6
+ metadata.gz: 464f71b6ccd61a45d422d4ce9345e6fc50234761915253ea4e149959577bc8c6606829f144e046f944afd89cb949af5110db762b7d72c87da5d1fbb1e1108ab8
7
+ data.tar.gz: a646a885c575cfea10820ee9650ba17a670334123c95607429a8fa01a058c37bd8963f8f66bb1d1b66097f693cf1902c4f1bc80af55651252012554ffe2786a4
data/README.md CHANGED
@@ -4,6 +4,7 @@
4
4
  [![Code Climate](https://codeclimate.com/github/danrabinowitz/omniauth-rails/badges/gpa.svg)](https://codeclimate.com/github/danrabinowitz/omniauth-rails)
5
5
  [![Build Status](https://travis-ci.org/danrabinowitz/omniauth-rails.svg?branch=master)](https://travis-ci.org/danrabinowitz/omniauth-rails)
6
6
  [![Test Coverage](https://codeclimate.com/github/danrabinowitz/omniauth-rails/badges/coverage.svg)](https://codeclimate.com/github/danrabinowitz/omniauth-rails/coverage)
7
+ [![Gem](https://img.shields.io/gem/dt/omniauth-rails.svg?maxAge=2592000)](https://rubygems.org/gems/omniauth-rails)
7
8
 
8
9
  A Rails Engine to make it as easy as possible to add oauth authentication to a Rails app.
9
10
 
@@ -19,17 +20,14 @@ OmniAuth::Rails makes it as easy as possible to create an admin site. See Usage,
19
20
 
20
21
  Authorization is handled separately.
21
22
 
22
- ## TODO
23
-
24
- * Add a new AuthorizationType for groups of email addresses
25
- * Run ```rake mutant``` and add all the specs.
26
-
27
23
  ## Usage
28
24
 
29
- 1. Add the gem to your Gemfile
25
+ 1) Add the gem to your Gemfile
26
+ ```ruby
30
27
  gem 'omniauth-rails'
28
+ ```
31
29
 
32
- 2. Add a config/omniauth_rails.yml with something like this:
30
+ 2) Add a config/omniauth_rails.yml with something like this:
33
31
  ```yml
34
32
  development:
35
33
  providers:
@@ -38,7 +36,6 @@ development:
38
36
  client_secret: <%= ENV["CLIENT_SECRET"] %>
39
37
  authenticated_root: "/private"
40
38
  unauthenticated_root: "/public"
41
- session_duration_in_seconds: 5 # The default is 3600 (which is 1 hour)
42
39
  test:
43
40
  providers:
44
41
  google_oauth2:
@@ -46,7 +43,6 @@ test:
46
43
  client_secret: 2
47
44
  authenticated_root: "/private"
48
45
  unauthenticated_root: "/public"
49
- session_duration_in_seconds: 5 # The default is 3600 (which is 1 hour)
50
46
  production:
51
47
  providers:
52
48
  google_oauth2:
@@ -54,14 +50,15 @@ production:
54
50
  client_secret: <%= ENV["CLIENT_SECRET"] %>
55
51
  authenticated_root: "/private"
56
52
  unauthenticated_root: "/public"
57
- session_duration_in_seconds: 3600 # The default is 3600 (which is 1 hour)
58
53
  ```
59
54
 
60
- 3. In any controllers which require authentication, add this line:
55
+ 3) In any controllers which you want to protect (such as an admin controller), add this line:
61
56
  ```ruby
62
- include Omniauth::Rails::RequireAuthentication
57
+ require_authorization domains: %w(mydomain.com)
63
58
  ```
64
59
 
60
+ That's it. Now anyone trying to hit one of those controllers will only be blocked if they are not authorized.
61
+
65
62
  ## Additional configuration
66
63
 
67
64
  ### Automount
@@ -107,6 +104,11 @@ More info on reading the reports is here: https://github.com/mbj/mutant#reading-
107
104
  ## Contributing
108
105
  PRs are welcome!
109
106
 
107
+ ### Some things I still want to do
108
+
109
+ * Add a new AuthorizationType for groups of email addresses
110
+ * Run ```rake mutant``` and add all the specs.
111
+
110
112
  ## Credit
111
113
  Thanks to [Paul De Goes](https://github.com/pauldegoes) for the idea for this gem. He
112
114
  built a similar gem for internal use at LivingSocial.
@@ -5,7 +5,11 @@ module Omniauth
5
5
  delegate :authenticated?, to: :authentication_session
6
6
 
7
7
  def authenticated_email
8
- authentication_session.email
8
+ if authenticated?
9
+ authentication_session.email
10
+ elsif Configuration.dev_mode
11
+ "[not logged in - dev mode]"
12
+ end
9
13
  end
10
14
 
11
15
  def authentication_session
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Omniauth
3
3
  module Rails
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
6
6
  end
data/spec/examples.txt CHANGED
@@ -1,24 +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.01269 seconds |
5
- ./spec/controllers/authentication_concern_spec.rb[1:1:2:1] | passed | 0.00406 seconds |
6
- ./spec/lib/omniauth/rails/configurator_spec.rb[1:1:1:1:1] | passed | 0.0006 seconds |
7
- ./spec/models/omniauth/rails/authorization_types/emails_spec.rb[1:1:1:1] | passed | 0.00009 seconds |
8
- ./spec/models/omniauth/rails/authorization_types/emails_spec.rb[1:1:2:1] | passed | 0.00044 seconds |
9
- ./spec/models/omniauth/rails/authorization_types/regex_spec.rb[1:1:1:1] | passed | 0.00015 seconds |
10
- ./spec/models/omniauth/rails/authorization_types/regex_spec.rb[1:1:2:1] | passed | 0.00013 seconds |
11
- ./spec/omniauth_rails_spec.rb[1:1] | passed | 0.00054 seconds |
12
- ./spec/test_app/spec/controllers/private_controller_spec.rb[1:1:1:1] | passed | 0.00635 seconds |
13
- ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:1:1] | passed | 0.00877 seconds |
14
- ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:1:2:1] | passed | 0.00592 seconds |
15
- ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:2:1:1] | passed | 0.1632 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 |
16
18
  ./spec/test_app/spec/requests/private_controller_spec.rb[1:1:2:2:1] | passed | 0.01723 seconds |
17
- ./spec/test_app/spec/requests/public_controller_spec.rb[1:1:1] | passed | 0.00733 seconds |
18
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:1:1] | passed | 0.00383 seconds |
19
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:1:2:1] | passed | 0.00221 seconds |
20
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:2:1:1] | passed | 0.00963 seconds |
21
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:2:1:2:1] | passed | 0.00395 seconds |
22
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:1:1] | passed | 0.00113 seconds |
23
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:2:1] | passed | 0.00123 seconds |
24
- ./spec/test_app/spec/requests/sessions_controller_spec.rb[1:3:3:1] | passed | 0.00275 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 |
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rails_helper_for_engine"
4
+
5
+ RSpec.describe Omniauth::Rails::ApplicationHelper do
6
+ describe ".authenticated_email" do
7
+ context "authenticated user" do
8
+ let(:email) { "foo@bar.com" }
9
+
10
+ before do
11
+ expect(helper).to receive(:authenticated?).and_return(true)
12
+
13
+ fake_session = {}
14
+ data_store = Omniauth::Rails::AuthenticationDataStore.new(fake_session)
15
+ data_store.set("email", email)
16
+ expect(Omniauth::Rails::AuthenticationDataStore).to receive(:new).and_return(data_store)
17
+
18
+ expect(helper).to receive(:authentication_session).and_return(authentication_session)
19
+ end
20
+
21
+ it "returns the email address" do
22
+ expect(helper.authenticated_email).to eq(email)
23
+ end
24
+ end
25
+
26
+ context "unauthenticated user in dev_mode" do
27
+ before do
28
+ expect(helper).to receive(:authenticated?).and_return(false)
29
+
30
+ @original_value_dev_mode = Omniauth::Rails::Configuration.dev_mode
31
+ Omniauth::Rails::Configuration.dev_mode = true
32
+ end
33
+
34
+ after do
35
+ Omniauth::Rails::Configuration.dev_mode = @original_value_dev_mode
36
+ end
37
+
38
+ it "the correct string" do
39
+ expect(helper.authenticated_email).to eq("[not logged in - dev mode]")
40
+ end
41
+ end
42
+ end
43
+ end
@@ -58336,3 +58336,1188 @@ Processing by PublicController#show as HTML
58336
58336
  Rendering public/show.html.erb within layouts/application
58337
58337
  Rendered public/show.html.erb within layouts/application (0.3ms)
58338
58338
  Completed 200 OK in 5ms (Views: 4.1ms)
58339
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
58340
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
58341
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
58342
+ Started GET "/private" for 127.0.0.1 at 2016-09-12 23:42:24 -0600
58343
+ Processing by PrivateController#show as HTML
58344
+ Redirected to http://www.example.com/auth/sign_in
58345
+ Filter chain halted as #<Proc:0x007fca33c0bcf0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58346
+ Completed 302 Found in 11ms
58347
+ Started GET "/private" for 127.0.0.1 at 2016-09-12 23:42:24 -0600
58348
+ Processing by PrivateController#show as HTML
58349
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
58350
+ Rendering private/show.html.erb within layouts/application
58351
+ Rendered private/show.html.erb within layouts/application (0.8ms)
58352
+ Completed 200 OK in 143ms (Views: 142.5ms)
58353
+ Started GET "/private" for 127.0.0.1 at 2016-09-12 23:42:24 -0600
58354
+ Processing by PrivateController#show as HTML
58355
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
58356
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.2ms)
58357
+ Filter chain halted as #<Proc:0x007fca33c0bcf0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58358
+ Completed 403 Forbidden in 19ms (Views: 17.1ms)
58359
+ Started GET "/private" for 127.0.0.1 at 2016-09-12 23:42:24 -0600
58360
+ Processing by PrivateController#show as HTML
58361
+ Rendering private/show.html.erb within layouts/application
58362
+ Rendered private/show.html.erb within layouts/application (0.2ms)
58363
+ Completed 200 OK in 5ms (Views: 3.9ms)
58364
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
58365
+ Started GET "/public" for 127.0.0.1 at 2016-09-12 23:42:24 -0600
58366
+ Processing by PublicController#show as HTML
58367
+ Rendering public/show.html.erb within layouts/application
58368
+ Rendered public/show.html.erb within layouts/application (0.2ms)
58369
+ Completed 200 OK in 5ms (Views: 4.3ms)
58370
+ Processing by PrivateController#show as HTML
58371
+ Rendering private/show.html.erb within layouts/application
58372
+ Rendered private/show.html.erb within layouts/application (0.2ms)
58373
+ Completed 200 OK in 8ms (Views: 5.1ms)
58374
+ Started GET "/private" for 127.0.0.1 at 2016-09-12 23:42:24 -0600
58375
+ Processing by PrivateController#show as HTML
58376
+ Rendering private/show.html.erb within layouts/application
58377
+ Rendered private/show.html.erb within layouts/application (0.3ms)
58378
+ Completed 200 OK in 5ms (Views: 3.8ms)
58379
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-12 23:42:24 -0600
58380
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58381
+ Redirected to http://www.example.com/
58382
+ Completed 302 Found in 0ms
58383
+ Started GET "/private" for 127.0.0.1 at 2016-09-12 23:42:24 -0600
58384
+ Processing by PrivateController#show as HTML
58385
+ Redirected to http://www.example.com/auth/sign_in
58386
+ Filter chain halted as #<Proc:0x007fca33c0bcf0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58387
+ Completed 302 Found in 1ms
58388
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-12 23:42:24 -0600
58389
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58390
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
58391
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.5ms)
58392
+ Completed 200 OK in 2ms (Views: 2.2ms)
58393
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-12 23:42:24 -0600
58394
+ Processing by Omniauth::Rails::SessionsController#create as HTML
58395
+ Parameters: {"provider"=>"google_oauth2"}
58396
+ Redirected to http://www.example.com/
58397
+ Completed 302 Found in 1ms
58398
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-12 23:42:24 -0600
58399
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
58400
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-12 23:42:24 -0600
58401
+ (google_oauth2) Authentication failure! csrf_detected encountered.
58402
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-12 23:42:24 -0600
58403
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58404
+ Redirected to http://www.example.com/auth/google_oauth2
58405
+ Completed 302 Found in 1ms
58406
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-12 23:42:24 -0600
58407
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58408
+ Redirected to http://www.example.com/
58409
+ Completed 302 Found in 0ms
58410
+ Processing by AnonymousController#fake_action as HTML
58411
+ Redirected to http://test.host/auth/sign_in
58412
+ Filter chain halted as :require_authentication rendered or redirected
58413
+ Completed 302 Found in 0ms
58414
+ Processing by AnonymousController#fake_action as HTML
58415
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
58416
+ Completed 200 OK in 0ms
58417
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
58418
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
58419
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
58420
+ Processing by PrivateController#show as HTML
58421
+ Rendering private/show.html.erb within layouts/application
58422
+ Rendered private/show.html.erb within layouts/application (0.1ms)
58423
+ Completed 200 OK in 10ms (Views: 6.1ms)
58424
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
58425
+ Started GET "/public" for 127.0.0.1 at 2016-09-12 23:42:27 -0600
58426
+ Processing by PublicController#show as HTML
58427
+ Rendering public/show.html.erb within layouts/application
58428
+ Rendered public/show.html.erb within layouts/application (0.9ms)
58429
+ Completed 200 OK in 152ms (Views: 151.1ms)
58430
+ Started GET "/private" for 127.0.0.1 at 2016-09-12 23:42:27 -0600
58431
+ Processing by PrivateController#show as HTML
58432
+ Rendering private/show.html.erb within layouts/application
58433
+ Rendered private/show.html.erb within layouts/application (0.3ms)
58434
+ Completed 200 OK in 7ms (Views: 5.7ms)
58435
+ Started GET "/private" for 127.0.0.1 at 2016-09-12 23:42:27 -0600
58436
+ Processing by PrivateController#show as HTML
58437
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
58438
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.2ms)
58439
+ Filter chain halted as #<Proc:0x007fafa62b0608@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58440
+ Completed 403 Forbidden in 13ms (Views: 12.2ms)
58441
+ Started GET "/private" for 127.0.0.1 at 2016-09-12 23:42:27 -0600
58442
+ Processing by PrivateController#show as HTML
58443
+ Redirected to http://www.example.com/auth/sign_in
58444
+ Filter chain halted as #<Proc:0x007fafa62b0608@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58445
+ Completed 302 Found in 1ms
58446
+ Started GET "/private" for 127.0.0.1 at 2016-09-12 23:42:27 -0600
58447
+ Processing by PrivateController#show as HTML
58448
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
58449
+ Rendering private/show.html.erb within layouts/application
58450
+ Rendered private/show.html.erb within layouts/application (0.2ms)
58451
+ Completed 200 OK in 5ms (Views: 3.8ms)
58452
+ Processing by AnonymousController#fake_action as HTML
58453
+ Redirected to http://test.host/auth/sign_in
58454
+ Filter chain halted as :require_authentication rendered or redirected
58455
+ Completed 302 Found in 1ms
58456
+ Processing by AnonymousController#fake_action as HTML
58457
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
58458
+ Completed 200 OK in 0ms
58459
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-12 23:42:27 -0600
58460
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58461
+ Redirected to http://www.example.com/auth/google_oauth2
58462
+ Completed 302 Found in 1ms
58463
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-12 23:42:27 -0600
58464
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58465
+ Redirected to http://www.example.com/
58466
+ Completed 302 Found in 0ms
58467
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-12 23:42:27 -0600
58468
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
58469
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-12 23:42:27 -0600
58470
+ Processing by Omniauth::Rails::SessionsController#create as HTML
58471
+ Parameters: {"provider"=>"google_oauth2"}
58472
+ Redirected to http://www.example.com/
58473
+ Completed 302 Found in 1ms
58474
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-12 23:42:27 -0600
58475
+ (google_oauth2) Authentication failure! csrf_detected encountered.
58476
+ Started GET "/private" for 127.0.0.1 at 2016-09-12 23:42:27 -0600
58477
+ Processing by PrivateController#show as HTML
58478
+ Rendering private/show.html.erb within layouts/application
58479
+ Rendered private/show.html.erb within layouts/application (0.3ms)
58480
+ Completed 200 OK in 5ms (Views: 4.0ms)
58481
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-12 23:42:27 -0600
58482
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58483
+ Redirected to http://www.example.com/
58484
+ Completed 302 Found in 0ms
58485
+ Started GET "/private" for 127.0.0.1 at 2016-09-12 23:42:27 -0600
58486
+ Processing by PrivateController#show as HTML
58487
+ Redirected to http://www.example.com/auth/sign_in
58488
+ Filter chain halted as #<Proc:0x007fafa62b0608@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58489
+ Completed 302 Found in 0ms
58490
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-12 23:42:27 -0600
58491
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58492
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
58493
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.4ms)
58494
+ Completed 200 OK in 2ms (Views: 2.2ms)
58495
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
58496
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
58497
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
58498
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 02:01:32 -0600
58499
+ Processing by PublicController#show as HTML
58500
+ Rendering public/show.html.erb within layouts/application
58501
+ Rendered public/show.html.erb within layouts/application (1.2ms)
58502
+ Completed 200 OK in 173ms (Views: 172.2ms)
58503
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 02:01:32 -0600
58504
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58505
+ Redirected to http://www.example.com/auth/google_oauth2
58506
+ Completed 302 Found in 1ms
58507
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 02:01:32 -0600
58508
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58509
+ Redirected to http://www.example.com/private
58510
+ Completed 302 Found in 1ms
58511
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:01:32 -0600
58512
+ Processing by PrivateController#show as HTML
58513
+ Rendering private/show.html.erb within layouts/application
58514
+ Rendered private/show.html.erb within layouts/application (0.4ms)
58515
+ Completed 200 OK in 9ms (Views: 6.2ms)
58516
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 02:01:32 -0600
58517
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58518
+ Redirected to http://www.example.com/public
58519
+ Completed 302 Found in 0ms
58520
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:01:32 -0600
58521
+ Processing by PrivateController#show as HTML
58522
+ Redirected to http://www.example.com/auth/sign_in
58523
+ Filter chain halted as #<Proc:0x007fac2c623600@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58524
+ Completed 302 Found in 1ms
58525
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 02:01:32 -0600
58526
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58527
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
58528
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.5ms)
58529
+ Completed 200 OK in 3ms (Views: 2.4ms)
58530
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 02:01:32 -0600
58531
+ (google_oauth2) Authentication failure! csrf_detected encountered.
58532
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 02:01:32 -0600
58533
+ Processing by Omniauth::Rails::SessionsController#create as HTML
58534
+ Parameters: {"provider"=>"google_oauth2"}
58535
+ Redirected to http://www.example.com/private
58536
+ Completed 302 Found in 1ms
58537
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 02:01:32 -0600
58538
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
58539
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
58540
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:01:32 -0600
58541
+ Processing by PrivateController#show as HTML
58542
+ Redirected to http://www.example.com/auth/sign_in
58543
+ Filter chain halted as #<Proc:0x007fac2c623600@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58544
+ Completed 302 Found in 1ms
58545
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:01:32 -0600
58546
+ Processing by PrivateController#show as HTML
58547
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
58548
+ Rendering private/show.html.erb within layouts/application
58549
+ Rendered private/show.html.erb within layouts/application (0.2ms)
58550
+ Completed 200 OK in 4ms (Views: 3.4ms)
58551
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:01:32 -0600
58552
+ Processing by PrivateController#show as HTML
58553
+ Rendering private/show.html.erb within layouts/application
58554
+ Rendered private/show.html.erb within layouts/application (0.2ms)
58555
+ Completed 200 OK in 4ms (Views: 3.5ms)
58556
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:01:32 -0600
58557
+ Processing by PrivateController#show as HTML
58558
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
58559
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.2ms)
58560
+ Filter chain halted as #<Proc:0x007fac2c623600@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58561
+ Completed 403 Forbidden in 13ms (Views: 12.8ms)
58562
+ Processing by AnonymousController#fake_action as HTML
58563
+ Redirected to http://test.host/auth/sign_in
58564
+ Filter chain halted as :require_authentication rendered or redirected
58565
+ Completed 302 Found in 1ms
58566
+ Processing by AnonymousController#fake_action as HTML
58567
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
58568
+ Completed 200 OK in 0ms
58569
+ Processing by PrivateController#show as HTML
58570
+ Rendering private/show.html.erb within layouts/application
58571
+ Rendered private/show.html.erb within layouts/application (0.3ms)
58572
+ Completed 200 OK in 7ms (Views: 4.8ms)
58573
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
58574
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
58575
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
58576
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
58577
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:03:13 -0600
58578
+ Processing by PrivateController#show as HTML
58579
+ Redirected to http://www.example.com/auth/sign_in
58580
+ Filter chain halted as #<Proc:0x007fad75c02798@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58581
+ Completed 302 Found in 12ms
58582
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:03:13 -0600
58583
+ Processing by PrivateController#show as HTML
58584
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
58585
+ Rendering private/show.html.erb within layouts/application
58586
+ Rendered private/show.html.erb within layouts/application (1.5ms)
58587
+ Completed 200 OK in 167ms (Views: 166.3ms)
58588
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:03:13 -0600
58589
+ Processing by PrivateController#show as HTML
58590
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
58591
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.2ms)
58592
+ Filter chain halted as #<Proc:0x007fad75c02798@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58593
+ Completed 403 Forbidden in 14ms (Views: 12.7ms)
58594
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:03:13 -0600
58595
+ Processing by PrivateController#show as HTML
58596
+ Rendering private/show.html.erb within layouts/application
58597
+ Rendered private/show.html.erb within layouts/application (0.2ms)
58598
+ Completed 200 OK in 5ms (Views: 4.2ms)
58599
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 02:03:13 -0600
58600
+ Processing by PublicController#show as HTML
58601
+ Rendering public/show.html.erb within layouts/application
58602
+ Rendered public/show.html.erb within layouts/application (0.2ms)
58603
+ Completed 200 OK in 4ms (Views: 3.6ms)
58604
+ Processing by AnonymousController#fake_action as HTML
58605
+ Redirected to http://test.host/auth/sign_in
58606
+ Filter chain halted as :require_authentication rendered or redirected
58607
+ Completed 302 Found in 0ms
58608
+ Processing by AnonymousController#fake_action as HTML
58609
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
58610
+ Completed 200 OK in 0ms
58611
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 02:03:13 -0600
58612
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58613
+ Redirected to http://www.example.com/auth/google_oauth2
58614
+ Completed 302 Found in 1ms
58615
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 02:03:13 -0600
58616
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58617
+ Redirected to http://www.example.com/
58618
+ Completed 302 Found in 0ms
58619
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:03:13 -0600
58620
+ Processing by PrivateController#show as HTML
58621
+ Rendering private/show.html.erb within layouts/application
58622
+ Rendered private/show.html.erb within layouts/application (0.3ms)
58623
+ Completed 200 OK in 5ms (Views: 3.8ms)
58624
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 02:03:13 -0600
58625
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58626
+ Redirected to http://www.example.com/
58627
+ Completed 302 Found in 0ms
58628
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:03:13 -0600
58629
+ Processing by PrivateController#show as HTML
58630
+ Redirected to http://www.example.com/auth/sign_in
58631
+ Filter chain halted as #<Proc:0x007fad75c02798@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58632
+ Completed 302 Found in 1ms
58633
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 02:03:13 -0600
58634
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58635
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
58636
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.5ms)
58637
+ Completed 200 OK in 2ms (Views: 2.2ms)
58638
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 02:03:13 -0600
58639
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
58640
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 02:03:13 -0600
58641
+ (google_oauth2) Authentication failure! csrf_detected encountered.
58642
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 02:03:13 -0600
58643
+ Processing by Omniauth::Rails::SessionsController#create as HTML
58644
+ Parameters: {"provider"=>"google_oauth2"}
58645
+ Redirected to http://www.example.com/
58646
+ Completed 302 Found in 1ms
58647
+ Processing by PrivateController#show as HTML
58648
+ Rendering private/show.html.erb within layouts/application
58649
+ Rendered private/show.html.erb within layouts/application (0.2ms)
58650
+ Completed 200 OK in 8ms (Views: 5.8ms)
58651
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
58652
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
58653
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
58654
+ Processing by PrivateController#show as HTML
58655
+ Rendering private/show.html.erb within layouts/application
58656
+ Rendered private/show.html.erb within layouts/application (0.2ms)
58657
+ Completed 200 OK in 11ms (Views: 7.1ms)
58658
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:03:55 -0600
58659
+ Processing by PrivateController#show as HTML
58660
+ Redirected to http://www.example.com/auth/sign_in
58661
+ Filter chain halted as #<Proc:0x007f8c7c7abc40@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58662
+ Completed 302 Found in 13ms
58663
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:03:55 -0600
58664
+ Processing by PrivateController#show as HTML
58665
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
58666
+ Rendering private/show.html.erb within layouts/application
58667
+ Rendered private/show.html.erb within layouts/application (1.3ms)
58668
+ Completed 200 OK in 171ms (Views: 169.9ms)
58669
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:03:55 -0600
58670
+ Processing by PrivateController#show as HTML
58671
+ Rendering private/show.html.erb within layouts/application
58672
+ Rendered private/show.html.erb within layouts/application (0.3ms)
58673
+ Completed 200 OK in 6ms (Views: 4.9ms)
58674
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:03:56 -0600
58675
+ Processing by PrivateController#show as HTML
58676
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
58677
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.2ms)
58678
+ Filter chain halted as #<Proc:0x007f8c7c7abc40@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58679
+ Completed 403 Forbidden in 15ms (Views: 14.6ms)
58680
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
58681
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 02:03:56 -0600
58682
+ Processing by PublicController#show as HTML
58683
+ Rendering public/show.html.erb within layouts/application
58684
+ Rendered public/show.html.erb within layouts/application (0.3ms)
58685
+ Completed 200 OK in 5ms (Views: 4.3ms)
58686
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:03:56 -0600
58687
+ Processing by PrivateController#show as HTML
58688
+ Rendering private/show.html.erb within layouts/application
58689
+ Rendered private/show.html.erb within layouts/application (0.2ms)
58690
+ Completed 200 OK in 5ms (Views: 3.7ms)
58691
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 02:03:56 -0600
58692
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58693
+ Redirected to http://www.example.com/
58694
+ Completed 302 Found in 0ms
58695
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 02:03:56 -0600
58696
+ Processing by PrivateController#show as HTML
58697
+ Redirected to http://www.example.com/auth/sign_in
58698
+ Filter chain halted as #<Proc:0x007f8c7c7abc40@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58699
+ Completed 302 Found in 1ms
58700
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 02:03:56 -0600
58701
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58702
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
58703
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.6ms)
58704
+ Completed 200 OK in 3ms (Views: 2.5ms)
58705
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 02:03:56 -0600
58706
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58707
+ Redirected to http://www.example.com/auth/google_oauth2
58708
+ Completed 302 Found in 1ms
58709
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 02:03:56 -0600
58710
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58711
+ Redirected to http://www.example.com/
58712
+ Completed 302 Found in 1ms
58713
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 02:03:56 -0600
58714
+ Processing by Omniauth::Rails::SessionsController#create as HTML
58715
+ Parameters: {"provider"=>"google_oauth2"}
58716
+ Redirected to http://www.example.com/
58717
+ Completed 302 Found in 1ms
58718
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 02:03:56 -0600
58719
+ (google_oauth2) Authentication failure! csrf_detected encountered.
58720
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 02:03:56 -0600
58721
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
58722
+ Processing by AnonymousController#fake_action as HTML
58723
+ Redirected to http://test.host/auth/sign_in
58724
+ Filter chain halted as :require_authentication rendered or redirected
58725
+ Completed 302 Found in 1ms
58726
+ Processing by AnonymousController#fake_action as HTML
58727
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
58728
+ Completed 200 OK in 0ms
58729
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
58730
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
58731
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
58732
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 11:14:42 -0600
58733
+ Processing by PrivateController#show as HTML
58734
+ Rendering private/show.html.erb within layouts/application
58735
+ Rendered private/show.html.erb within layouts/application (1.2ms)
58736
+ Completed 200 OK in 166ms (Views: 163.2ms)
58737
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 11:14:42 -0600
58738
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58739
+ Redirected to http://www.example.com/public
58740
+ Completed 302 Found in 1ms
58741
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 11:14:42 -0600
58742
+ Processing by PrivateController#show as HTML
58743
+ Redirected to http://www.example.com/auth/sign_in
58744
+ Filter chain halted as #<Proc:0x007f941b40a428@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58745
+ Completed 302 Found in 8ms
58746
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 11:14:42 -0600
58747
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58748
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
58749
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.5ms)
58750
+ Completed 200 OK in 3ms (Views: 2.4ms)
58751
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 11:14:42 -0600
58752
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58753
+ Redirected to http://www.example.com/auth/google_oauth2
58754
+ Completed 302 Found in 1ms
58755
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 11:14:42 -0600
58756
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58757
+ Redirected to http://www.example.com/private
58758
+ Completed 302 Found in 0ms
58759
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 11:14:42 -0600
58760
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
58761
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 11:14:42 -0600
58762
+ (google_oauth2) Authentication failure! csrf_detected encountered.
58763
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 11:14:42 -0600
58764
+ Processing by Omniauth::Rails::SessionsController#create as HTML
58765
+ Parameters: {"provider"=>"google_oauth2"}
58766
+ Redirected to http://www.example.com/private
58767
+ Completed 302 Found in 1ms
58768
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
58769
+ Processing by PrivateController#show as HTML
58770
+ Rendering private/show.html.erb within layouts/application
58771
+ Rendered private/show.html.erb within layouts/application (0.2ms)
58772
+ Completed 200 OK in 6ms (Views: 4.0ms)
58773
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 11:14:42 -0600
58774
+ Processing by PrivateController#show as HTML
58775
+ Redirected to http://www.example.com/auth/sign_in
58776
+ Filter chain halted as #<Proc:0x007f941b40a428@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58777
+ Completed 302 Found in 1ms
58778
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 11:14:42 -0600
58779
+ Processing by PrivateController#show as HTML
58780
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
58781
+ Rendering private/show.html.erb within layouts/application
58782
+ Rendered private/show.html.erb within layouts/application (0.3ms)
58783
+ Completed 200 OK in 5ms (Views: 4.2ms)
58784
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 11:14:42 -0600
58785
+ Processing by PrivateController#show as HTML
58786
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
58787
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.2ms)
58788
+ Filter chain halted as #<Proc:0x007f941b40a428@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58789
+ Completed 403 Forbidden in 14ms (Views: 13.5ms)
58790
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 11:14:42 -0600
58791
+ Processing by PrivateController#show as HTML
58792
+ Rendering private/show.html.erb within layouts/application
58793
+ Rendered private/show.html.erb within layouts/application (0.3ms)
58794
+ Completed 200 OK in 6ms (Views: 4.6ms)
58795
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 11:14:42 -0600
58796
+ Processing by PublicController#show as HTML
58797
+ Rendering public/show.html.erb within layouts/application
58798
+ Rendered public/show.html.erb within layouts/application (0.3ms)
58799
+ Completed 200 OK in 5ms (Views: 3.9ms)
58800
+ Processing by AnonymousController#fake_action as HTML
58801
+ Redirected to http://test.host/auth/sign_in
58802
+ Filter chain halted as :require_authentication rendered or redirected
58803
+ Completed 302 Found in 0ms
58804
+ Processing by AnonymousController#fake_action as HTML
58805
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
58806
+ Completed 200 OK in 0ms
58807
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
58808
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
58809
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
58810
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 12:06:48 -0600
58811
+ Processing by PrivateController#show as HTML
58812
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
58813
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (1.2ms)
58814
+ Filter chain halted as #<Proc:0x007fcf3ac189d0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58815
+ Completed 403 Forbidden in 22ms (Views: 19.2ms)
58816
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 12:06:48 -0600
58817
+ Processing by PrivateController#show as HTML
58818
+ Rendering private/show.html.erb within layouts/application
58819
+ Rendered private/show.html.erb within layouts/application (0.3ms)
58820
+ Completed 200 OK in 166ms (Views: 164.5ms)
58821
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 12:06:48 -0600
58822
+ Processing by PrivateController#show as HTML
58823
+ Redirected to http://www.example.com/auth/sign_in
58824
+ Filter chain halted as #<Proc:0x007fcf3ac189d0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58825
+ Completed 302 Found in 7ms
58826
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 12:06:48 -0600
58827
+ Processing by PrivateController#show as HTML
58828
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
58829
+ Rendering private/show.html.erb within layouts/application
58830
+ Rendered private/show.html.erb within layouts/application (0.2ms)
58831
+ Completed 200 OK in 4ms (Views: 3.3ms)
58832
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 12:06:48 -0600
58833
+ Processing by PublicController#show as HTML
58834
+ Rendering public/show.html.erb within layouts/application
58835
+ Rendered public/show.html.erb within layouts/application (0.3ms)
58836
+ Completed 200 OK in 6ms (Views: 4.3ms)
58837
+ Processing by PrivateController#show as HTML
58838
+ Rendering private/show.html.erb within layouts/application
58839
+ Rendered private/show.html.erb within layouts/application (0.1ms)
58840
+ Completed 200 OK in 7ms (Views: 4.7ms)
58841
+ Processing by AnonymousController#fake_action as HTML
58842
+ Redirected to http://test.host/auth/sign_in
58843
+ Filter chain halted as :require_authentication rendered or redirected
58844
+ Completed 302 Found in 0ms
58845
+ Processing by AnonymousController#fake_action as HTML
58846
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
58847
+ Completed 200 OK in 0ms
58848
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
58849
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 12:06:48 -0600
58850
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58851
+ Redirected to http://www.example.com/auth/google_oauth2
58852
+ Completed 302 Found in 1ms
58853
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 12:06:48 -0600
58854
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58855
+ Redirected to http://www.example.com/
58856
+ Completed 302 Found in 0ms
58857
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 12:06:48 -0600
58858
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
58859
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 12:06:48 -0600
58860
+ (google_oauth2) Authentication failure! csrf_detected encountered.
58861
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 12:06:48 -0600
58862
+ Processing by Omniauth::Rails::SessionsController#create as HTML
58863
+ Parameters: {"provider"=>"google_oauth2"}
58864
+ Redirected to http://www.example.com/
58865
+ Completed 302 Found in 2ms
58866
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 12:06:48 -0600
58867
+ Processing by PrivateController#show as HTML
58868
+ Rendering private/show.html.erb within layouts/application
58869
+ Rendered private/show.html.erb within layouts/application (0.2ms)
58870
+ Completed 200 OK in 5ms (Views: 3.8ms)
58871
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 12:06:48 -0600
58872
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58873
+ Redirected to http://www.example.com/
58874
+ Completed 302 Found in 0ms
58875
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 12:06:48 -0600
58876
+ Processing by PrivateController#show as HTML
58877
+ Redirected to http://www.example.com/auth/sign_in
58878
+ Filter chain halted as #<Proc:0x007fcf3ac189d0@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58879
+ Completed 302 Found in 0ms
58880
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 12:06:48 -0600
58881
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58882
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
58883
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.8ms)
58884
+ Completed 200 OK in 3ms (Views: 2.8ms)
58885
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
58886
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
58887
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
58888
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 12:45:56 -0600
58889
+ Processing by PrivateController#show as HTML
58890
+ Redirected to http://www.example.com/auth/sign_in
58891
+ Filter chain halted as #<Proc:0x007fcb82c29ef8@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58892
+ Completed 302 Found in 14ms
58893
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 12:45:56 -0600
58894
+ Processing by PrivateController#show as HTML
58895
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
58896
+ Rendering private/show.html.erb within layouts/application
58897
+ Rendered private/show.html.erb within layouts/application (1.3ms)
58898
+ Completed 200 OK in 165ms (Views: 163.2ms)
58899
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 12:45:56 -0600
58900
+ Processing by PrivateController#show as HTML
58901
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
58902
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.4ms)
58903
+ Filter chain halted as #<Proc:0x007fcb82c29ef8@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58904
+ Completed 403 Forbidden in 17ms (Views: 15.0ms)
58905
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 12:45:56 -0600
58906
+ Processing by PrivateController#show as HTML
58907
+ Rendering private/show.html.erb within layouts/application
58908
+ Rendered private/show.html.erb within layouts/application (0.3ms)
58909
+ Completed 200 OK in 6ms (Views: 4.4ms)
58910
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
58911
+ Processing by PrivateController#show as HTML
58912
+ Rendering private/show.html.erb within layouts/application
58913
+ Rendered private/show.html.erb within layouts/application (0.2ms)
58914
+ Completed 200 OK in 6ms (Views: 4.2ms)
58915
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 12:45:56 -0600
58916
+ Processing by PublicController#show as HTML
58917
+ Rendering public/show.html.erb within layouts/application
58918
+ Rendered public/show.html.erb within layouts/application (0.3ms)
58919
+ Completed 200 OK in 7ms (Views: 5.8ms)
58920
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 12:45:56 -0600
58921
+ (google_oauth2) Authentication failure! csrf_detected encountered.
58922
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 12:45:56 -0600
58923
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
58924
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 12:45:56 -0600
58925
+ Processing by Omniauth::Rails::SessionsController#create as HTML
58926
+ Parameters: {"provider"=>"google_oauth2"}
58927
+ Redirected to http://www.example.com/
58928
+ Completed 302 Found in 1ms
58929
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 12:45:56 -0600
58930
+ Processing by PrivateController#show as HTML
58931
+ Rendering private/show.html.erb within layouts/application
58932
+ Rendered private/show.html.erb within layouts/application (0.3ms)
58933
+ Completed 200 OK in 6ms (Views: 4.2ms)
58934
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 12:45:56 -0600
58935
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58936
+ Redirected to http://www.example.com/
58937
+ Completed 302 Found in 0ms
58938
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 12:45:56 -0600
58939
+ Processing by PrivateController#show as HTML
58940
+ Redirected to http://www.example.com/auth/sign_in
58941
+ Filter chain halted as #<Proc:0x007fcb82c29ef8@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58942
+ Completed 302 Found in 1ms
58943
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 12:45:56 -0600
58944
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58945
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
58946
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.5ms)
58947
+ Completed 200 OK in 3ms (Views: 2.6ms)
58948
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 12:45:56 -0600
58949
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58950
+ Redirected to http://www.example.com/auth/google_oauth2
58951
+ Completed 302 Found in 1ms
58952
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 12:45:56 -0600
58953
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58954
+ Redirected to http://www.example.com/
58955
+ Completed 302 Found in 1ms
58956
+ Processing by AnonymousController#fake_action as HTML
58957
+ Redirected to http://test.host/auth/sign_in
58958
+ Filter chain halted as :require_authentication rendered or redirected
58959
+ Completed 302 Found in 1ms
58960
+ Processing by AnonymousController#fake_action as HTML
58961
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
58962
+ Completed 200 OK in 0ms
58963
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
58964
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
58965
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
58966
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:00:35 -0600
58967
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58968
+ Redirected to http://www.example.com/auth/google_oauth2
58969
+ Completed 302 Found in 13ms
58970
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:00:35 -0600
58971
+ Processing by Omniauth::Rails::SessionsController#new as HTML
58972
+ Redirected to http://www.example.com/private
58973
+ Completed 302 Found in 1ms
58974
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:00:35 -0600
58975
+ Processing by Omniauth::Rails::SessionsController#create as HTML
58976
+ Parameters: {"provider"=>"google_oauth2"}
58977
+ Redirected to http://www.example.com/private
58978
+ Completed 302 Found in 1ms
58979
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:00:35 -0600
58980
+ (google_oauth2) Authentication failure! csrf_detected encountered.
58981
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:00:35 -0600
58982
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
58983
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:00:35 -0600
58984
+ Processing by PrivateController#show as HTML
58985
+ Rendering private/show.html.erb within layouts/application
58986
+ Rendered private/show.html.erb within layouts/application (1.3ms)
58987
+ Completed 200 OK in 176ms (Views: 172.6ms)
58988
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:00:35 -0600
58989
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58990
+ Redirected to http://www.example.com/public
58991
+ Completed 302 Found in 0ms
58992
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:00:35 -0600
58993
+ Processing by PrivateController#show as HTML
58994
+ Redirected to http://www.example.com/auth/sign_in
58995
+ Filter chain halted as #<Proc:0x007f8e4c842588@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
58996
+ Completed 302 Found in 1ms
58997
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:00:35 -0600
58998
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
58999
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
59000
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.7ms)
59001
+ Completed 200 OK in 4ms (Views: 3.6ms)
59002
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
59003
+ Processing by PrivateController#show as HTML
59004
+ Rendering private/show.html.erb within layouts/application
59005
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59006
+ Completed 200 OK in 7ms (Views: 5.1ms)
59007
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 13:00:35 -0600
59008
+ Processing by PublicController#show as HTML
59009
+ Rendering public/show.html.erb within layouts/application
59010
+ Rendered public/show.html.erb within layouts/application (0.3ms)
59011
+ Completed 200 OK in 6ms (Views: 5.0ms)
59012
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:00:35 -0600
59013
+ Processing by PrivateController#show as HTML
59014
+ Rendering private/show.html.erb within layouts/application
59015
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59016
+ Completed 200 OK in 6ms (Views: 4.9ms)
59017
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:00:35 -0600
59018
+ Processing by PrivateController#show as HTML
59019
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
59020
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.3ms)
59021
+ Filter chain halted as #<Proc:0x007f8e4c842588@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59022
+ Completed 403 Forbidden in 15ms (Views: 14.5ms)
59023
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:00:36 -0600
59024
+ Processing by PrivateController#show as HTML
59025
+ Redirected to http://www.example.com/auth/sign_in
59026
+ Filter chain halted as #<Proc:0x007f8e4c842588@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59027
+ Completed 302 Found in 1ms
59028
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:00:36 -0600
59029
+ Processing by PrivateController#show as HTML
59030
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
59031
+ Rendering private/show.html.erb within layouts/application
59032
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59033
+ Completed 200 OK in 6ms (Views: 4.6ms)
59034
+ Processing by AnonymousController#fake_action as HTML
59035
+ Redirected to http://test.host/auth/sign_in
59036
+ Filter chain halted as :require_authentication rendered or redirected
59037
+ Completed 302 Found in 1ms
59038
+ Processing by AnonymousController#fake_action as HTML
59039
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
59040
+ Completed 200 OK in 0ms
59041
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59042
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59043
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59044
+ Processing by AnonymousController#fake_action as HTML
59045
+ Redirected to http://test.host/auth/sign_in
59046
+ Filter chain halted as :require_authentication rendered or redirected
59047
+ Completed 302 Found in 6ms
59048
+ Processing by AnonymousController#fake_action as HTML
59049
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
59050
+ Completed 200 OK in 0ms
59051
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 13:21:01 -0600
59052
+ Processing by PublicController#show as HTML
59053
+ Rendering public/show.html.erb within layouts/application
59054
+ Rendered public/show.html.erb within layouts/application (1.2ms)
59055
+ Completed 200 OK in 183ms (Views: 182.2ms)
59056
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:21:01 -0600
59057
+ Processing by PrivateController#show as HTML
59058
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
59059
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.3ms)
59060
+ Filter chain halted as #<Proc:0x007f981ab04f78@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59061
+ Completed 403 Forbidden in 17ms (Views: 14.6ms)
59062
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:21:02 -0600
59063
+ Processing by PrivateController#show as HTML
59064
+ Rendering private/show.html.erb within layouts/application
59065
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59066
+ Completed 200 OK in 8ms (Views: 6.0ms)
59067
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:21:02 -0600
59068
+ Processing by PrivateController#show as HTML
59069
+ Redirected to http://www.example.com/auth/sign_in
59070
+ Filter chain halted as #<Proc:0x007f981ab04f78@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59071
+ Completed 302 Found in 1ms
59072
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:21:02 -0600
59073
+ Processing by PrivateController#show as HTML
59074
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
59075
+ Rendering private/show.html.erb within layouts/application
59076
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59077
+ Completed 200 OK in 5ms (Views: 4.3ms)
59078
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:21:02 -0600
59079
+ Processing by PrivateController#show as HTML
59080
+ Rendering private/show.html.erb within layouts/application
59081
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59082
+ Completed 200 OK in 5ms (Views: 4.0ms)
59083
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:21:02 -0600
59084
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59085
+ Redirected to http://www.example.com/public
59086
+ Completed 302 Found in 0ms
59087
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:21:02 -0600
59088
+ Processing by PrivateController#show as HTML
59089
+ Redirected to http://www.example.com/auth/sign_in
59090
+ Filter chain halted as #<Proc:0x007f981ab04f78@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59091
+ Completed 302 Found in 1ms
59092
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:21:02 -0600
59093
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59094
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
59095
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.8ms)
59096
+ Completed 200 OK in 3ms (Views: 3.1ms)
59097
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:21:02 -0600
59098
+ (google_oauth2) Authentication failure! csrf_detected encountered.
59099
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:21:02 -0600
59100
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
59101
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:21:02 -0600
59102
+ Processing by Omniauth::Rails::SessionsController#create as HTML
59103
+ Parameters: {"provider"=>"google_oauth2"}
59104
+ Redirected to http://www.example.com/private
59105
+ Completed 302 Found in 1ms
59106
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:21:02 -0600
59107
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59108
+ Redirected to http://www.example.com/auth/google_oauth2
59109
+ Completed 302 Found in 1ms
59110
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:21:02 -0600
59111
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59112
+ Redirected to http://www.example.com/private
59113
+ Completed 302 Found in 0ms
59114
+ Processing by PrivateController#show as HTML
59115
+ Rendering private/show.html.erb within layouts/application
59116
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59117
+ Completed 200 OK in 6ms (Views: 4.2ms)
59118
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
59119
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59120
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59121
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59122
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59123
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59124
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59125
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59126
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59127
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59128
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59129
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59130
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59131
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59132
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59133
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59134
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59135
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59136
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59137
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:26:32 -0600
59138
+ Processing by PrivateController#show as HTML
59139
+ Redirected to http://www.example.com/auth/sign_in
59140
+ Filter chain halted as #<Proc:0x007fd84debb4c8@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59141
+ Completed 302 Found in 14ms
59142
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:26:32 -0600
59143
+ Processing by PrivateController#show as HTML
59144
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
59145
+ Rendering private/show.html.erb within layouts/application
59146
+ Rendered private/show.html.erb within layouts/application (1.3ms)
59147
+ Completed 200 OK in 177ms (Views: 176.0ms)
59148
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:26:32 -0600
59149
+ Processing by PrivateController#show as HTML
59150
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
59151
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.3ms)
59152
+ Filter chain halted as #<Proc:0x007fd84debb4c8@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59153
+ Completed 403 Forbidden in 19ms (Views: 16.7ms)
59154
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:26:32 -0600
59155
+ Processing by PrivateController#show as HTML
59156
+ Rendering private/show.html.erb within layouts/application
59157
+ Rendered private/show.html.erb within layouts/application (0.4ms)
59158
+ Completed 200 OK in 7ms (Views: 5.7ms)
59159
+ Processing by PrivateController#show as HTML
59160
+ Rendering private/show.html.erb within layouts/application
59161
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59162
+ Completed 200 OK in 7ms (Views: 4.8ms)
59163
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
59164
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 13:26:32 -0600
59165
+ Processing by PublicController#show as HTML
59166
+ Rendering public/show.html.erb within layouts/application
59167
+ Rendered public/show.html.erb within layouts/application (0.3ms)
59168
+ Completed 200 OK in 6ms (Views: 4.2ms)
59169
+ Processing by AnonymousController#fake_action as HTML
59170
+ Redirected to http://test.host/auth/sign_in
59171
+ Filter chain halted as :require_authentication rendered or redirected
59172
+ Completed 302 Found in 1ms
59173
+ Processing by AnonymousController#fake_action as HTML
59174
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
59175
+ Completed 200 OK in 0ms
59176
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:26:32 -0600
59177
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59178
+ Redirected to http://www.example.com/auth/google_oauth2
59179
+ Completed 302 Found in 1ms
59180
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:26:32 -0600
59181
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59182
+ Redirected to http://www.example.com/
59183
+ Completed 302 Found in 0ms
59184
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:26:32 -0600
59185
+ Processing by PrivateController#show as HTML
59186
+ Rendering private/show.html.erb within layouts/application
59187
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59188
+ Completed 200 OK in 5ms (Views: 4.1ms)
59189
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:26:32 -0600
59190
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59191
+ Redirected to http://www.example.com/
59192
+ Completed 302 Found in 0ms
59193
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:26:32 -0600
59194
+ Processing by PrivateController#show as HTML
59195
+ Redirected to http://www.example.com/auth/sign_in
59196
+ Filter chain halted as #<Proc:0x007fd84debb4c8@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59197
+ Completed 302 Found in 1ms
59198
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:26:32 -0600
59199
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59200
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
59201
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.7ms)
59202
+ Completed 200 OK in 4ms (Views: 3.9ms)
59203
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:26:32 -0600
59204
+ (google_oauth2) Authentication failure! csrf_detected encountered.
59205
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:26:32 -0600
59206
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
59207
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:26:32 -0600
59208
+ Processing by Omniauth::Rails::SessionsController#create as HTML
59209
+ Parameters: {"provider"=>"google_oauth2"}
59210
+ Redirected to http://www.example.com/
59211
+ Completed 302 Found in 1ms
59212
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59213
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59214
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59215
+ Processing by AnonymousController#fake_action as HTML
59216
+ Redirected to http://test.host/auth/sign_in
59217
+ Filter chain halted as :require_authentication rendered or redirected
59218
+ Completed 302 Found in 5ms
59219
+ Processing by AnonymousController#fake_action as HTML
59220
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
59221
+ Completed 200 OK in 0ms
59222
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:27:21 -0600
59223
+ Processing by PrivateController#show as HTML
59224
+ Rendering private/show.html.erb within layouts/application
59225
+ Rendered private/show.html.erb within layouts/application (1.4ms)
59226
+ Completed 200 OK in 175ms (Views: 172.3ms)
59227
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:27:22 -0600
59228
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59229
+ Redirected to http://www.example.com/public
59230
+ Completed 302 Found in 0ms
59231
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:27:22 -0600
59232
+ Processing by PrivateController#show as HTML
59233
+ Redirected to http://www.example.com/auth/sign_in
59234
+ Filter chain halted as #<Proc:0x007fc4deba3600@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59235
+ Completed 302 Found in 10ms
59236
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:27:22 -0600
59237
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59238
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
59239
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.6ms)
59240
+ Completed 200 OK in 3ms (Views: 2.9ms)
59241
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:27:22 -0600
59242
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59243
+ Redirected to http://www.example.com/auth/google_oauth2
59244
+ Completed 302 Found in 1ms
59245
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:27:22 -0600
59246
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59247
+ Redirected to http://www.example.com/private
59248
+ Completed 302 Found in 0ms
59249
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:27:22 -0600
59250
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
59251
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:27:22 -0600
59252
+ (google_oauth2) Authentication failure! csrf_detected encountered.
59253
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:27:22 -0600
59254
+ Processing by Omniauth::Rails::SessionsController#create as HTML
59255
+ Parameters: {"provider"=>"google_oauth2"}
59256
+ Redirected to http://www.example.com/private
59257
+ Completed 302 Found in 1ms
59258
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
59259
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:27:22 -0600
59260
+ Processing by PrivateController#show as HTML
59261
+ Redirected to http://www.example.com/auth/sign_in
59262
+ Filter chain halted as #<Proc:0x007fc4deba3600@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59263
+ Completed 302 Found in 1ms
59264
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:27:22 -0600
59265
+ Processing by PrivateController#show as HTML
59266
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
59267
+ Rendering private/show.html.erb within layouts/application
59268
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59269
+ Completed 200 OK in 5ms (Views: 4.0ms)
59270
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:27:22 -0600
59271
+ Processing by PrivateController#show as HTML
59272
+ Rendering private/show.html.erb within layouts/application
59273
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59274
+ Completed 200 OK in 6ms (Views: 4.9ms)
59275
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:27:22 -0600
59276
+ Processing by PrivateController#show as HTML
59277
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
59278
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.3ms)
59279
+ Filter chain halted as #<Proc:0x007fc4deba3600@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59280
+ Completed 403 Forbidden in 15ms (Views: 14.2ms)
59281
+ Processing by PrivateController#show as HTML
59282
+ Rendering private/show.html.erb within layouts/application
59283
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59284
+ Completed 200 OK in 7ms (Views: 5.2ms)
59285
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 13:27:22 -0600
59286
+ Processing by PublicController#show as HTML
59287
+ Rendering public/show.html.erb within layouts/application
59288
+ Rendered public/show.html.erb within layouts/application (0.3ms)
59289
+ Completed 200 OK in 6ms (Views: 4.5ms)
59290
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59291
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59292
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59293
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
59294
+ Processing by PrivateController#show as HTML
59295
+ Rendering private/show.html.erb within layouts/application
59296
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59297
+ Completed 200 OK in 13ms (Views: 8.1ms)
59298
+ Processing by AnonymousController#fake_action as HTML
59299
+ Redirected to http://test.host/auth/sign_in
59300
+ Filter chain halted as :require_authentication rendered or redirected
59301
+ Completed 302 Found in 5ms
59302
+ Processing by AnonymousController#fake_action as HTML
59303
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
59304
+ Completed 200 OK in 0ms
59305
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:28:55 -0600
59306
+ Processing by PrivateController#show as HTML
59307
+ Rendering private/show.html.erb within layouts/application
59308
+ Rendered private/show.html.erb within layouts/application (1.4ms)
59309
+ Completed 200 OK in 175ms (Views: 173.0ms)
59310
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:28:55 -0600
59311
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59312
+ Redirected to http://www.example.com/
59313
+ Completed 302 Found in 0ms
59314
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:28:55 -0600
59315
+ Processing by PrivateController#show as HTML
59316
+ Redirected to http://www.example.com/auth/sign_in
59317
+ Filter chain halted as #<Proc:0x007fcecd8e9858@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59318
+ Completed 302 Found in 8ms
59319
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:28:55 -0600
59320
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59321
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
59322
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.6ms)
59323
+ Completed 200 OK in 3ms (Views: 2.7ms)
59324
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:28:55 -0600
59325
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59326
+ Redirected to http://www.example.com/auth/google_oauth2
59327
+ Completed 302 Found in 1ms
59328
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:28:55 -0600
59329
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59330
+ Redirected to http://www.example.com/
59331
+ Completed 302 Found in 1ms
59332
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:28:55 -0600
59333
+ Processing by Omniauth::Rails::SessionsController#create as HTML
59334
+ Parameters: {"provider"=>"google_oauth2"}
59335
+ Redirected to http://www.example.com/
59336
+ Completed 302 Found in 1ms
59337
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:28:55 -0600
59338
+ (google_oauth2) Authentication failure! csrf_detected encountered.
59339
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:28:55 -0600
59340
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
59341
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 13:28:55 -0600
59342
+ Processing by PublicController#show as HTML
59343
+ Rendering public/show.html.erb within layouts/application
59344
+ Rendered public/show.html.erb within layouts/application (0.3ms)
59345
+ Completed 200 OK in 5ms (Views: 4.2ms)
59346
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:28:55 -0600
59347
+ Processing by PrivateController#show as HTML
59348
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
59349
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.4ms)
59350
+ Filter chain halted as #<Proc:0x007fcecd8e9858@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59351
+ Completed 403 Forbidden in 16ms (Views: 16.1ms)
59352
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:28:55 -0600
59353
+ Processing by PrivateController#show as HTML
59354
+ Rendering private/show.html.erb within layouts/application
59355
+ Rendered private/show.html.erb within layouts/application (0.4ms)
59356
+ Completed 200 OK in 6ms (Views: 4.6ms)
59357
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:28:55 -0600
59358
+ Processing by PrivateController#show as HTML
59359
+ Redirected to http://www.example.com/auth/sign_in
59360
+ Filter chain halted as #<Proc:0x007fcecd8e9858@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59361
+ Completed 302 Found in 1ms
59362
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:28:55 -0600
59363
+ Processing by PrivateController#show as HTML
59364
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
59365
+ Rendering private/show.html.erb within layouts/application
59366
+ Rendered private/show.html.erb within layouts/application (0.6ms)
59367
+ Completed 200 OK in 9ms (Views: 7.6ms)
59368
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59369
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59370
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59371
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:29:08 -0600
59372
+ Processing by PrivateController#show as HTML
59373
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
59374
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (1.3ms)
59375
+ Filter chain halted as #<Proc:0x007fade44024e8@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59376
+ Completed 403 Forbidden in 22ms (Views: 19.0ms)
59377
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:29:08 -0600
59378
+ Processing by PrivateController#show as HTML
59379
+ Rendering private/show.html.erb within layouts/application
59380
+ Rendered private/show.html.erb within layouts/application (0.4ms)
59381
+ Completed 200 OK in 172ms (Views: 170.9ms)
59382
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:29:08 -0600
59383
+ Processing by PrivateController#show as HTML
59384
+ Redirected to http://www.example.com/auth/sign_in
59385
+ Filter chain halted as #<Proc:0x007fade44024e8@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59386
+ Completed 302 Found in 10ms
59387
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:29:08 -0600
59388
+ Processing by PrivateController#show as HTML
59389
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
59390
+ Rendering private/show.html.erb within layouts/application
59391
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59392
+ Completed 200 OK in 5ms (Views: 4.1ms)
59393
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 13:29:08 -0600
59394
+ Processing by PublicController#show as HTML
59395
+ Rendering public/show.html.erb within layouts/application
59396
+ Rendered public/show.html.erb within layouts/application (0.3ms)
59397
+ Completed 200 OK in 6ms (Views: 4.4ms)
59398
+ Processing by AnonymousController#fake_action as HTML
59399
+ Redirected to http://test.host/auth/sign_in
59400
+ Filter chain halted as :require_authentication rendered or redirected
59401
+ Completed 302 Found in 1ms
59402
+ Processing by AnonymousController#fake_action as HTML
59403
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
59404
+ Completed 200 OK in 0ms
59405
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:29:08 -0600
59406
+ Processing by Omniauth::Rails::SessionsController#create as HTML
59407
+ Parameters: {"provider"=>"google_oauth2"}
59408
+ Redirected to http://www.example.com/private
59409
+ Completed 302 Found in 1ms
59410
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:29:08 -0600
59411
+ (google_oauth2) Authentication failure! csrf_detected encountered.
59412
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:29:08 -0600
59413
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
59414
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:29:08 -0600
59415
+ Processing by PrivateController#show as HTML
59416
+ Rendering private/show.html.erb within layouts/application
59417
+ Rendered private/show.html.erb within layouts/application (0.3ms)
59418
+ Completed 200 OK in 7ms (Views: 5.5ms)
59419
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:29:08 -0600
59420
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59421
+ Redirected to http://www.example.com/public
59422
+ Completed 302 Found in 0ms
59423
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:29:08 -0600
59424
+ Processing by PrivateController#show as HTML
59425
+ Redirected to http://www.example.com/auth/sign_in
59426
+ Filter chain halted as #<Proc:0x007fade44024e8@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59427
+ Completed 302 Found in 1ms
59428
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:29:08 -0600
59429
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59430
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
59431
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.5ms)
59432
+ Completed 200 OK in 3ms (Views: 2.7ms)
59433
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:29:09 -0600
59434
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59435
+ Redirected to http://www.example.com/auth/google_oauth2
59436
+ Completed 302 Found in 1ms
59437
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:29:09 -0600
59438
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59439
+ Redirected to http://www.example.com/private
59440
+ Completed 302 Found in 1ms
59441
+ Processing by PrivateController#show as HTML
59442
+ Rendering private/show.html.erb within layouts/application
59443
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59444
+ Completed 200 OK in 6ms (Views: 4.1ms)
59445
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
59446
+ Omniauth::Rails::Configurator: Loading from default_config_file=/Users/danrabinowitz/code/omniauth-rails/spec/test_app/config/omniauth_rails.yml
59447
+ Mounting Omniauth::Rails::Engine in Rails.application.routes
59448
+ Autoloading Omniauth::Rails::ControllersConcern into ActionController::Base
59449
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:30:32 -0600
59450
+ Processing by PrivateController#show as HTML
59451
+ Redirected to http://www.example.com/auth/sign_in
59452
+ Filter chain halted as #<Proc:0x007f9ed5992188@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59453
+ Completed 302 Found in 15ms
59454
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:30:32 -0600
59455
+ Processing by PrivateController#show as HTML
59456
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authorization'
59457
+ Rendering private/show.html.erb within layouts/application
59458
+ Rendered private/show.html.erb within layouts/application (1.3ms)
59459
+ Completed 200 OK in 176ms (Views: 174.5ms)
59460
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:30:32 -0600
59461
+ Processing by PrivateController#show as HTML
59462
+ Rendering private/show.html.erb within layouts/application
59463
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59464
+ Completed 200 OK in 7ms (Views: 4.5ms)
59465
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:30:32 -0600
59466
+ Processing by PrivateController#show as HTML
59467
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html
59468
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/forbidden.html (0.3ms)
59469
+ Filter chain halted as #<Proc:0x007f9ed5992188@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59470
+ Completed 403 Forbidden in 15ms (Views: 14.5ms)
59471
+ Started GET "/public" for 127.0.0.1 at 2016-09-13 13:30:32 -0600
59472
+ Processing by PublicController#show as HTML
59473
+ Rendering public/show.html.erb within layouts/application
59474
+ Rendered public/show.html.erb within layouts/application (0.3ms)
59475
+ Completed 200 OK in 6ms (Views: 4.5ms)
59476
+ Processing by PrivateController#show as HTML
59477
+ Rendering private/show.html.erb within layouts/application
59478
+ Rendered private/show.html.erb within layouts/application (0.2ms)
59479
+ Completed 200 OK in 6ms (Views: 4.3ms)
59480
+ Omniauth::Rails: dev_mode is enabled. Authentication and authorization are disabled.
59481
+ Processing by AnonymousController#fake_action as HTML
59482
+ Redirected to http://test.host/auth/sign_in
59483
+ Filter chain halted as :require_authentication rendered or redirected
59484
+ Completed 302 Found in 1ms
59485
+ Processing by AnonymousController#fake_action as HTML
59486
+ Omniauth::Rails: dev_mode is enabled. Skipping 'require_authentication'
59487
+ Completed 200 OK in 0ms
59488
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:30:32 -0600
59489
+ Processing by PrivateController#show as HTML
59490
+ Rendering private/show.html.erb within layouts/application
59491
+ Rendered private/show.html.erb within layouts/application (0.5ms)
59492
+ Completed 200 OK in 6ms (Views: 4.9ms)
59493
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:30:32 -0600
59494
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59495
+ Redirected to http://www.example.com/
59496
+ Completed 302 Found in 0ms
59497
+ Started GET "/private" for 127.0.0.1 at 2016-09-13 13:30:32 -0600
59498
+ Processing by PrivateController#show as HTML
59499
+ Redirected to http://www.example.com/auth/sign_in
59500
+ Filter chain halted as #<Proc:0x007f9ed5992188@/Users/danrabinowitz/code/omniauth-rails/app/controllers/omniauth/rails/authorization_concern.rb:13> rendered or redirected
59501
+ Completed 302 Found in 1ms
59502
+ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2016-09-13 13:30:32 -0600
59503
+ Processing by Omniauth::Rails::SessionsController#destroy as HTML
59504
+ Rendering /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb
59505
+ Rendered /Users/danrabinowitz/code/omniauth-rails/app/views/omniauth/rails/sessions/destroy.html.erb (0.7ms)
59506
+ Completed 200 OK in 3ms (Views: 2.9ms)
59507
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:30:32 -0600
59508
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59509
+ Redirected to http://www.example.com/auth/google_oauth2
59510
+ Completed 302 Found in 1ms
59511
+ Started GET "/auth/sign_in" for 127.0.0.1 at 2016-09-13 13:30:32 -0600
59512
+ Processing by Omniauth::Rails::SessionsController#new as HTML
59513
+ Redirected to http://www.example.com/
59514
+ Completed 302 Found in 1ms
59515
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:30:32 -0600
59516
+ (google_oauth2) Authentication failure! invalid_credentials encountered.
59517
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:30:32 -0600
59518
+ (google_oauth2) Authentication failure! csrf_detected encountered.
59519
+ Started GET "/auth/google_oauth2/callback" for 127.0.0.1 at 2016-09-13 13:30:32 -0600
59520
+ Processing by Omniauth::Rails::SessionsController#create as HTML
59521
+ Parameters: {"provider"=>"google_oauth2"}
59522
+ Redirected to http://www.example.com/
59523
+ Completed 302 Found in 1ms