gds-sso 9.2.0 → 9.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module GDS
2
2
  module SSO
3
- VERSION = "9.2.0"
3
+ VERSION = "9.2.1"
4
4
  end
5
5
  end
@@ -169,9 +169,10 @@ Warden::Strategies.add(:mock_gds_sso_api_access) do
169
169
 
170
170
  def authenticate!
171
171
  logger.debug("Authenticating with mock_gds_sso_api_access strategy")
172
- dummy_api_user = GDS::SSO.test_user || GDS::SSO::Config.user_klass.find_by_email("dummyapiuser@domain.com")
172
+ dummy_api_user = GDS::SSO.test_user || GDS::SSO::Config.user_klass.where(email: "dummyapiuser@domain.com").first
173
173
  if dummy_api_user.nil?
174
174
  dummy_api_user = GDS::SSO::Config.user_klass.create!(
175
+ email: "dummyapiuser@domain.com",
175
176
  uid: "#{rand(10000)}",
176
177
  name: "Dummy API user created by gds-sso",
177
178
  permissions: ["signin"],
@@ -1,375 +1,375 @@
1
1
  Connecting to database specified by database.yml
2
-  (1.8ms) select sqlite_version(*)
3
-  (16.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar(255))
4
-  (8.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
5
-  (16.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2
+  (1.9ms) select sqlite_version(*)
3
+  (17.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar(255))
4
+  (12.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
5
+  (15.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6
6
   (0.1ms) begin transaction
7
- SQL (4.0ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32532"]]
8
-  (6.1ms) commit transaction
7
+ SQL (3.8ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34286"]]
8
+  (13.0ms) commit transaction
9
9
   (0.1ms) begin transaction
10
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3753"]]
11
-  (5.5ms) commit transaction
10
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34481"]]
11
+  (12.2ms) commit transaction
12
12
  WARNING: Can't mass-assign protected attributes: uid, name, permissions
13
13
  Processing by Api::UserController#update as HTML
14
- Parameters: {"uid"=>"a1s2d32532"}
15
- Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (3.3ms)
16
- Completed 403 Forbidden in 40.0ms (Views: 39.3ms | ActiveRecord: 0.0ms)
14
+ Parameters: {"uid"=>"a1s2d34286"}
15
+ Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (3.0ms)
16
+ Completed 403 Forbidden in 40.6ms (Views: 39.8ms | ActiveRecord: 0.0ms)
17
17
   (0.1ms) begin transaction
18
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36815"]]
19
-  (5.6ms) commit transaction
18
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34054"]]
19
+  (15.4ms) commit transaction
20
20
   (0.1ms) begin transaction
21
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3282"]]
22
-  (6.5ms) commit transaction
21
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39648"]]
22
+  (14.7ms) commit transaction
23
23
  Processing by Api::UserController#update as HTML
24
- Parameters: {"uid"=>"a1s2d36815"}
25
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36815' LIMIT 1
26
-  (0.0ms) begin transaction
27
-  (0.3ms) UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
24
+ Parameters: {"uid"=>"a1s2d34054"}
25
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34054' LIMIT 1
26
+  (0.1ms) begin transaction
27
+  (0.2ms) UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
28
28
  - signin
29
29
  - new permission
30
30
  ', "organisation_slug" = 'justice-league' WHERE "users"."id" = 3
31
-  (5.8ms) commit transaction
32
- Completed 200 OK in 14.7ms (ActiveRecord: 6.4ms)
31
+  (10.6ms) commit transaction
32
+ Completed 200 OK in 18.3ms (ActiveRecord: 11.1ms)
33
33
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
34
-  (0.1ms) begin transaction
35
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39152"]]
36
-  (6.9ms) commit transaction
34
+  (0.0ms) begin transaction
35
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31062"]]
36
+  (10.2ms) commit transaction
37
37
   (0.1ms) begin transaction
38
- SQL (0.3ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34829"]]
39
-  (5.2ms) commit transaction
38
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3460"]]
39
+  (9.8ms) commit transaction
40
40
  WARNING: Can't mass-assign protected attributes: uid, name, permissions
41
41
  Processing by Api::UserController#reauth as HTML
42
- Parameters: {"uid"=>"a1s2d39152"}
43
- Completed 403 Forbidden in 2.0ms (Views: 1.1ms | ActiveRecord: 0.0ms)
42
+ Parameters: {"uid"=>"a1s2d31062"}
43
+ Completed 403 Forbidden in 1.7ms (Views: 1.1ms | ActiveRecord: 0.0ms)
44
44
   (0.1ms) begin transaction
45
- SQL (0.3ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36639"]]
46
-  (6.9ms) commit transaction
45
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39234"]]
46
+  (9.8ms) commit transaction
47
47
   (0.1ms) begin transaction
48
- SQL (0.1ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3925"]]
49
-  (6.0ms) commit transaction
48
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31308"]]
49
+  (10.0ms) commit transaction
50
50
  Processing by Api::UserController#reauth as HTML
51
51
  Parameters: {"uid"=>"nonexistent-user"}
52
52
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1
53
- Completed 200 OK in 1.2ms (ActiveRecord: 0.2ms)
53
+ Completed 200 OK in 1.1ms (ActiveRecord: 0.2ms)
54
54
   (0.1ms) begin transaction
55
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37344"]]
56
-  (7.1ms) commit transaction
57
-  (0.1ms) begin transaction
58
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3518"]]
59
-  (14.4ms) commit transaction
55
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39743"]]
56
+  (9.9ms) commit transaction
57
+  (0.0ms) begin transaction
58
+ SQL (0.1ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3249"]]
59
+  (10.2ms) commit transaction
60
60
  Processing by Api::UserController#reauth as HTML
61
- Parameters: {"uid"=>"a1s2d37344"}
62
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37344' LIMIT 1
61
+ Parameters: {"uid"=>"a1s2d39743"}
62
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39743' LIMIT 1
63
63
   (0.0ms) begin transaction
64
64
   (0.2ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
65
65
  - signin
66
66
  ' WHERE "users"."id" = 9
67
-  (5.2ms) commit transaction
68
- Completed 200 OK in 8.5ms (ActiveRecord: 5.6ms)
67
+  (10.2ms) commit transaction
68
+ Completed 200 OK in 13.0ms (ActiveRecord: 10.6ms)
69
69
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
70
- Started GET "/" for 127.0.0.1 at 2014-01-28 12:06:18 +0000
70
+ Started GET "/" for 127.0.0.1 at 2014-01-30 11:26:06 +0000
71
71
  Processing by ExampleController#index as HTML
72
- Completed 200 OK in 5.7ms (Views: 5.1ms | ActiveRecord: 0.0ms)
73
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:18 +0000
72
+ Completed 200 OK in 3.5ms (Views: 3.1ms | ActiveRecord: 0.0ms)
73
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:06 +0000
74
74
  Processing by ExampleController#restricted as HTML
75
75
  Authenticating with gds_sso strategy
76
- Completed in 40.0ms
77
- Started GET "/auth/gds" for 127.0.0.1 at 2014-01-28 12:06:18 +0000
78
- Started GET "/auth/gds/callback?code=3e2d743d3ba5050a0ec491817483b429ce455460e46c0feb44a8cfea40894585&state=803302fbbbfeac9a63d3f39b21898d25ae6621bcf0a5d20b" for 127.0.0.1 at 2014-01-28 12:06:19 +0000
76
+ Completed in 41.5ms
77
+ Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:06 +0000
78
+ Started GET "/auth/gds/callback?code=bbd6f4334c2e431e50558d804c177d5ab1fd34ee7f4c79567ec75fe58c7e2325&state=ac961d72be22d46e54df46b5fc0bc6088757e50db5f0cb94" for 127.0.0.1 at 2014-01-30 11:26:07 +0000
79
79
  Processing by AuthenticationsController#callback as HTML
80
- Parameters: {"code"=>"3e2d743d3ba5050a0ec491817483b429ce455460e46c0feb44a8cfea40894585", "state"=>"803302fbbbfeac9a63d3f39b21898d25ae6621bcf0a5d20b"}
80
+ Parameters: {"code"=>"bbd6f4334c2e431e50558d804c177d5ab1fd34ee7f4c79567ec75fe58c7e2325", "state"=>"ac961d72be22d46e54df46b5fc0bc6088757e50db5f0cb94"}
81
81
  Authenticating with gds_sso strategy
82
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
82
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
83
83
   (0.1ms) begin transaction
84
84
  SQL (0.2ms) INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
85
-  (8.1ms) commit transaction
86
-  (0.1ms) begin transaction
85
+  (10.1ms) commit transaction
86
+  (0.0ms) begin transaction
87
87
   (0.2ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
88
88
  - signin
89
89
  ' WHERE "users"."id" = 11
90
-  (5.4ms) commit transaction
90
+  (8.2ms) commit transaction
91
91
  Redirected to http://www.example-client.com/restricted
92
- Completed 302 Found in 21.2ms (ActiveRecord: 14.3ms)
93
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:20 +0000
92
+ Completed 302 Found in 24.8ms (ActiveRecord: 18.8ms)
93
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:07 +0000
94
94
  Processing by ExampleController#restricted as HTML
95
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
96
- Completed 200 OK in 1.7ms (Views: 0.4ms | ActiveRecord: 0.2ms)
97
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:20 +0000
95
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
96
+ Completed 200 OK in 1.2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
97
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:07 +0000
98
98
  Processing by ExampleController#restricted as HTML
99
99
  Authenticating with gds_sso strategy
100
- Completed in 0.4ms
101
- Started GET "/auth/gds" for 127.0.0.1 at 2014-01-28 12:06:20 +0000
102
- Started GET "/auth/gds/callback?code=364da35e04d83831df73e85766803a664cdc8948f25d2f533653c696ac3711c2&state=f293e8c8746094b476c3e355b0480eeb45491560a6a7df35" for 127.0.0.1 at 2014-01-28 12:06:20 +0000
100
+ Completed in 0.2ms
101
+ Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:07 +0000
102
+ Started GET "/auth/gds/callback?code=4e9ef98e9bc9eca3c940483b933e6b039bf5fa44e65c348fef6800867172c0f8&state=bf519f59b9ea347c0af6862627c940625a4af53f4e0408f1" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
103
103
  Processing by AuthenticationsController#callback as HTML
104
- Parameters: {"code"=>"364da35e04d83831df73e85766803a664cdc8948f25d2f533653c696ac3711c2", "state"=>"f293e8c8746094b476c3e355b0480eeb45491560a6a7df35"}
104
+ Parameters: {"code"=>"4e9ef98e9bc9eca3c940483b933e6b039bf5fa44e65c348fef6800867172c0f8", "state"=>"bf519f59b9ea347c0af6862627c940625a4af53f4e0408f1"}
105
105
  Authenticating with gds_sso strategy
106
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
106
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
107
107
   (0.1ms) begin transaction
108
-  (0.3ms) UPDATE "users" SET "permissions" = '---
108
+  (0.1ms) UPDATE "users" SET "permissions" = '---
109
109
  - signin
110
110
  ' WHERE "users"."id" = 11
111
-  (6.5ms) commit transaction
112
-  (0.1ms) begin transaction
113
-  (0.2ms) UPDATE "users" SET "permissions" = '---
111
+  (18.6ms) commit transaction
112
+  (0.0ms) begin transaction
113
+  (0.1ms) UPDATE "users" SET "permissions" = '---
114
114
  - signin
115
115
  ' WHERE "users"."id" = 11
116
-  (5.2ms) commit transaction
116
+  (13.9ms) commit transaction
117
117
  Redirected to http://www.example-client.com/restricted
118
- Completed 302 Found in 20.0ms (ActiveRecord: 12.6ms)
119
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:20 +0000
118
+ Completed 302 Found in 40.7ms (ActiveRecord: 33.3ms)
119
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
120
120
  Processing by ExampleController#restricted as HTML
121
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
122
- Completed 200 OK in 1.9ms (Views: 0.6ms | ActiveRecord: 0.2ms)
123
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:20 +0000
121
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
122
+ Completed 200 OK in 2.6ms (Views: 0.8ms | ActiveRecord: 0.3ms)
123
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
124
124
  Processing by ExampleController#restricted as HTML
125
125
  Authenticating with gds_sso strategy
126
126
  Completed in 0.3ms
127
- Started GET "/auth/gds" for 127.0.0.1 at 2014-01-28 12:06:20 +0000
128
- Started GET "/auth/gds/callback?code=0440ce3f25261b2f866a1a0efb324ecdd7942d50971652eed62563657403fd32&state=21532586c76da89f1ca7654e8be398d089da392448e3a56b" for 127.0.0.1 at 2014-01-28 12:06:20 +0000
127
+ Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
128
+ Started GET "/auth/gds/callback?code=2955a427052acac9fb020d74f6dcce52c21c7837c1fff15841ca4bff16810df3&state=f54772c3aadc24cc438268104fbf1d63fee88c2b29337fef" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
129
129
  Processing by AuthenticationsController#callback as HTML
130
- Parameters: {"code"=>"0440ce3f25261b2f866a1a0efb324ecdd7942d50971652eed62563657403fd32", "state"=>"21532586c76da89f1ca7654e8be398d089da392448e3a56b"}
130
+ Parameters: {"code"=>"2955a427052acac9fb020d74f6dcce52c21c7837c1fff15841ca4bff16810df3", "state"=>"f54772c3aadc24cc438268104fbf1d63fee88c2b29337fef"}
131
131
  Authenticating with gds_sso strategy
132
132
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
133
-  (0.0ms) begin transaction
133
+  (0.1ms) begin transaction
134
134
   (0.2ms) UPDATE "users" SET "permissions" = '---
135
135
  - signin
136
136
  ' WHERE "users"."id" = 11
137
-  (7.2ms) commit transaction
137
+  (12.3ms) commit transaction
138
138
   (0.1ms) begin transaction
139
139
   (0.2ms) UPDATE "users" SET "permissions" = '---
140
140
  - signin
141
141
  ' WHERE "users"."id" = 11
142
-  (5.0ms) commit transaction
142
+  (12.0ms) commit transaction
143
143
  Redirected to http://www.example-client.com/restricted
144
- Completed 302 Found in 17.4ms (ActiveRecord: 12.9ms)
145
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:20 +0000
144
+ Completed 302 Found in 30.7ms (ActiveRecord: 25.0ms)
145
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
146
146
  Processing by ExampleController#restricted as HTML
147
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
148
- Completed 200 OK in 1.5ms (Views: 0.3ms | ActiveRecord: 0.2ms)
149
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-28 12:06:21 +0000
147
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
148
+ Completed 200 OK in 1.2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
149
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
150
150
  Processing by ExampleController#this_requires_signin_permission as HTML
151
151
  Authenticating with gds_sso strategy
152
- Completed in 1.0ms
153
- Started GET "/auth/gds" for 127.0.0.1 at 2014-01-28 12:06:21 +0000
154
- Started GET "/auth/gds/callback?code=df5983331b8cce345612b04dc646bc0cdf48844522ac9f15c39841f93dca5614&state=03808b1decb62bfea6703186e24b3e83c29813c32335271f" for 127.0.0.1 at 2014-01-28 12:06:21 +0000
152
+ Completed in 0.6ms
153
+ Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
154
+ Started GET "/auth/gds/callback?code=4b843d5cb3e88fa160c5fe50a3988e7eaaa7d989dcaf29a3b7fb90e8b47bfe39&state=e04d474f8e77975f6560f50641a87648994e340c93e285fb" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
155
155
  Processing by AuthenticationsController#callback as HTML
156
- Parameters: {"code"=>"df5983331b8cce345612b04dc646bc0cdf48844522ac9f15c39841f93dca5614", "state"=>"03808b1decb62bfea6703186e24b3e83c29813c32335271f"}
156
+ Parameters: {"code"=>"4b843d5cb3e88fa160c5fe50a3988e7eaaa7d989dcaf29a3b7fb90e8b47bfe39", "state"=>"e04d474f8e77975f6560f50641a87648994e340c93e285fb"}
157
157
  Authenticating with gds_sso strategy
158
158
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
159
159
   (0.1ms) begin transaction
160
-  (0.1ms) UPDATE "users" SET "permissions" = '---
160
+  (0.2ms) UPDATE "users" SET "permissions" = '---
161
161
  - signin
162
162
  ' WHERE "users"."id" = 11
163
-  (10.3ms) commit transaction
164
-  (0.0ms) begin transaction
165
-  (0.1ms) UPDATE "users" SET "permissions" = '---
163
+  (9.3ms) commit transaction
164
+  (0.1ms) begin transaction
165
+  (0.2ms) UPDATE "users" SET "permissions" = '---
166
166
  - signin
167
167
  ' WHERE "users"."id" = 11
168
-  (7.5ms) commit transaction
168
+  (7.6ms) commit transaction
169
169
  Redirected to http://www.example-client.com/this_requires_signin_permission
170
- Completed 302 Found in 22.4ms (ActiveRecord: 18.3ms)
171
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-28 12:06:21 +0000
170
+ Completed 302 Found in 22.7ms (ActiveRecord: 17.6ms)
171
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
172
172
  Processing by ExampleController#this_requires_signin_permission as HTML
173
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
174
- Completed 200 OK in 1.5ms (Views: 0.4ms | ActiveRecord: 0.2ms)
175
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-28 12:06:21 +0000
173
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
174
+ Completed 200 OK in 1.5ms (Views: 0.4ms | ActiveRecord: 0.1ms)
175
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
176
176
  Processing by ExampleController#this_requires_signin_permission as HTML
177
177
  Authenticating with gds_sso strategy
178
- Completed in 0.3ms
179
- Started GET "/auth/gds" for 127.0.0.1 at 2014-01-28 12:06:21 +0000
180
- Started GET "/auth/gds/callback?code=0c03b317301bb64cd2b940ceb43a16cc676afb23d55fb85fb714825f594faaf7&state=ffb1adf63ff365631c1d1a41f1394f7a413c08c3e34ec507" for 127.0.0.1 at 2014-01-28 12:06:21 +0000
178
+ Completed in 0.2ms
179
+ Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
180
+ Started GET "/auth/gds/callback?code=134885ee836204ff43d31ccc582b44083b4f4f1690fa9ad2d3b9e80441ab890e&state=a62b5d8ff1085b8ab7f457b63757682bd1945487f66771ff" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
181
181
  Processing by AuthenticationsController#callback as HTML
182
- Parameters: {"code"=>"0c03b317301bb64cd2b940ceb43a16cc676afb23d55fb85fb714825f594faaf7", "state"=>"ffb1adf63ff365631c1d1a41f1394f7a413c08c3e34ec507"}
182
+ Parameters: {"code"=>"134885ee836204ff43d31ccc582b44083b4f4f1690fa9ad2d3b9e80441ab890e", "state"=>"a62b5d8ff1085b8ab7f457b63757682bd1945487f66771ff"}
183
183
  Authenticating with gds_sso strategy
184
184
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
185
185
   (0.0ms) begin transaction
186
186
   (0.2ms) UPDATE "users" SET "permissions" = '---
187
187
  - signin
188
188
  ' WHERE "users"."id" = 11
189
-  (10.3ms) commit transaction
189
+  (13.6ms) commit transaction
190
190
   (0.1ms) begin transaction
191
191
   (0.2ms) UPDATE "users" SET "permissions" = '---
192
192
  - signin
193
193
  ' WHERE "users"."id" = 11
194
-  (7.9ms) commit transaction
194
+  (8.2ms) commit transaction
195
195
  Redirected to http://www.example-client.com/this_requires_signin_permission
196
- Completed 302 Found in 22.9ms (ActiveRecord: 18.9ms)
197
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-28 12:06:21 +0000
196
+ Completed 302 Found in 26.7ms (ActiveRecord: 22.4ms)
197
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
198
198
  Processing by ExampleController#this_requires_signin_permission as HTML
199
199
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
200
200
  Completed 200 OK in 1.4ms (Views: 0.3ms | ActiveRecord: 0.2ms)
201
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:21 +0000
201
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
202
202
  Processing by ExampleController#restricted as HTML
203
203
  Authenticating with gds_sso strategy
204
204
  Completed in 0.2ms
205
- Started GET "/auth/gds" for 127.0.0.1 at 2014-01-28 12:06:21 +0000
206
- Started GET "/auth/gds/callback?code=a39962c51f86b1f459427f7ae97304d2d468d1cf6e721ca6041089889daa81c2&state=2890c4de4d8d349c25d5ed2ce298366fb75ddd9bd12dfadf" for 127.0.0.1 at 2014-01-28 12:06:22 +0000
205
+ Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
206
+ Started GET "/auth/gds/callback?code=d14d2130eac245b11610d2d7c51bd796c9fbae7597f4fe5647ce47f6194c9b12&state=0ce283073ff60edb6c2b7f306b8acc6ab9c507abaa1028a3" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
207
207
  Processing by AuthenticationsController#callback as HTML
208
- Parameters: {"code"=>"a39962c51f86b1f459427f7ae97304d2d468d1cf6e721ca6041089889daa81c2", "state"=>"2890c4de4d8d349c25d5ed2ce298366fb75ddd9bd12dfadf"}
208
+ Parameters: {"code"=>"d14d2130eac245b11610d2d7c51bd796c9fbae7597f4fe5647ce47f6194c9b12", "state"=>"0ce283073ff60edb6c2b7f306b8acc6ab9c507abaa1028a3"}
209
209
  Authenticating with gds_sso strategy
210
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
210
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
211
211
   (0.1ms) begin transaction
212
-  (0.3ms) UPDATE "users" SET "permissions" = '---
212
+  (0.1ms) UPDATE "users" SET "permissions" = '---
213
213
  - signin
214
214
  ' WHERE "users"."id" = 11
215
-  (9.9ms) commit transaction
216
-  (0.1ms) begin transaction
217
-  (0.2ms) UPDATE "users" SET "permissions" = '---
215
+  (8.7ms) commit transaction
216
+  (0.0ms) begin transaction
217
+  (0.1ms) UPDATE "users" SET "permissions" = '---
218
218
  - signin
219
219
  ' WHERE "users"."id" = 11
220
-  (8.7ms) commit transaction
220
+  (6.5ms) commit transaction
221
221
  Redirected to http://www.example-client.com/restricted
222
- Completed 302 Found in 27.4ms (ActiveRecord: 19.6ms)
223
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:22 +0000
222
+ Completed 302 Found in 20.5ms (ActiveRecord: 15.7ms)
223
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
224
224
  Processing by ExampleController#restricted as HTML
225
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
226
- Completed 200 OK in 2.2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
225
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
226
+ Completed 200 OK in 1.3ms (Views: 0.4ms | ActiveRecord: 0.1ms)
227
227
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
228
228
   (0.0ms) begin transaction
229
-  (0.1ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
229
+  (0.2ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
230
230
  - signin
231
231
  ' WHERE "users"."id" = 11
232
-  (8.1ms) commit transaction
233
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:22 +0000
232
+  (8.0ms) commit transaction
233
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
234
234
  Processing by ExampleController#restricted as HTML
235
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
235
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
236
236
  Authenticating with gds_sso strategy
237
- Completed in 1.3ms
238
- Started GET "/auth/gds" for 127.0.0.1 at 2014-01-28 12:06:22 +0000
239
- Started GET "/auth/gds/callback?code=06ab784306b56de665a546c623f7930128ff9d34e000d72463a6fcf43b9fbfbf&state=c9e9e4067b58804fcb5f51368a49914e3572748b9fea5140" for 127.0.0.1 at 2014-01-28 12:06:22 +0000
237
+ Completed in 0.7ms
238
+ Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
239
+ Started GET "/auth/gds/callback?code=ab02d8007ca7b28a90d145185f0238f776e0b1a3459f156a6669a643708bbc27&state=0f587d064bf9e71ea3d6bb3249a272d4049ef72440671dba" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
240
240
  Processing by AuthenticationsController#callback as HTML
241
- Parameters: {"code"=>"06ab784306b56de665a546c623f7930128ff9d34e000d72463a6fcf43b9fbfbf", "state"=>"c9e9e4067b58804fcb5f51368a49914e3572748b9fea5140"}
241
+ Parameters: {"code"=>"ab02d8007ca7b28a90d145185f0238f776e0b1a3459f156a6669a643708bbc27", "state"=>"0f587d064bf9e71ea3d6bb3249a272d4049ef72440671dba"}
242
242
  Authenticating with gds_sso strategy
243
243
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
244
-  (0.0ms) begin transaction
244
+  (0.1ms) begin transaction
245
245
   (0.2ms) UPDATE "users" SET "permissions" = '---
246
246
  - signin
247
247
  ' WHERE "users"."id" = 11
248
-  (13.7ms) commit transaction
248
+  (18.4ms) commit transaction
249
249
   (0.1ms) begin transaction
250
-  (0.2ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
250
+  (0.1ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
251
251
  - signin
252
252
  ' WHERE "users"."id" = 11
253
-  (8.9ms) commit transaction
253
+  (7.2ms) commit transaction
254
254
  Redirected to http://www.example-client.com/restricted
255
- Completed 302 Found in 28.0ms (ActiveRecord: 23.4ms)
256
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:22 +0000
255
+ Completed 302 Found in 30.2ms (ActiveRecord: 26.1ms)
256
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
257
257
  Processing by ExampleController#restricted as HTML
258
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
259
- Completed 200 OK in 1.1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
260
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:22 +0000
258
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
259
+ Completed 200 OK in 1.1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
260
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
261
261
  Processing by ExampleController#restricted as HTML
262
262
  Authenticating with gds_sso strategy
263
263
  Completed in 0.2ms
264
- Started GET "/auth/gds" for 127.0.0.1 at 2014-01-28 12:06:22 +0000
265
- Started GET "/auth/gds/callback?code=361e6a6151fc8f9a28864bec1cb88d516d0901ff9dcdf5182d448c5e04c1086b&state=2996cc333d5d82abc129d372c87396a7af45eb8d2e5eebc7" for 127.0.0.1 at 2014-01-28 12:06:22 +0000
264
+ Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
265
+ Started GET "/auth/gds/callback?code=1925d41b24df1eb865d5bd41bd3649acb2a0598b18e07c730d02cfe4e3847a84&state=38715f2b26587f3ff0631a8abf6937a262a7af0e8e750bb1" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
266
266
  Processing by AuthenticationsController#callback as HTML
267
- Parameters: {"code"=>"361e6a6151fc8f9a28864bec1cb88d516d0901ff9dcdf5182d448c5e04c1086b", "state"=>"2996cc333d5d82abc129d372c87396a7af45eb8d2e5eebc7"}
267
+ Parameters: {"code"=>"1925d41b24df1eb865d5bd41bd3649acb2a0598b18e07c730d02cfe4e3847a84", "state"=>"38715f2b26587f3ff0631a8abf6937a262a7af0e8e750bb1"}
268
268
  Authenticating with gds_sso strategy
269
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
269
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
270
270
   (0.1ms) begin transaction
271
-  (0.3ms) UPDATE "users" SET "permissions" = '---
271
+  (0.1ms) UPDATE "users" SET "permissions" = '---
272
272
  - signin
273
273
  ' WHERE "users"."id" = 11
274
-  (8.5ms) commit transaction
274
+  (7.9ms) commit transaction
275
275
   (0.1ms) begin transaction
276
-  (0.2ms) UPDATE "users" SET "permissions" = '---
276
+  (0.1ms) UPDATE "users" SET "permissions" = '---
277
277
  - signin
278
278
  ' WHERE "users"."id" = 11
279
-  (5.0ms) commit transaction
279
+  (6.2ms) commit transaction
280
280
  Redirected to http://www.example-client.com/restricted
281
- Completed 302 Found in 21.8ms (ActiveRecord: 14.4ms)
282
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:23 +0000
281
+ Completed 302 Found in 19.2ms (ActiveRecord: 14.7ms)
282
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
283
283
  Processing by ExampleController#restricted as HTML
284
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
285
- Completed 200 OK in 1.8ms (Views: 0.5ms | ActiveRecord: 0.2ms)
286
- Started GET "/restricted" for 127.0.0.1 at 2014-01-29 08:11:23 +0000
284
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
285
+ Completed 200 OK in 1.2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
286
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-31 07:31:10 +0000
287
287
  Processing by ExampleController#restricted as HTML
288
288
  Authenticating with gds_sso strategy
289
- Completed in 0.4ms
290
- Started GET "/auth/gds" for 127.0.0.1 at 2014-01-29 08:11:23 +0000
291
- Started GET "/auth/gds/callback?code=f66465b718481180bd28b0d89baf7b673130d7ec350f5485571dbca9eaf6f089&state=773049e2a1ca6b484a060189b52ddef6ab6f6c95d646b6e4" for 127.0.0.1 at 2014-01-29 08:11:23 +0000
289
+ Completed in 0.2ms
290
+ Started GET "/auth/gds" for 127.0.0.1 at 2014-01-31 07:31:10 +0000
291
+ Started GET "/auth/gds/callback?code=83f960a4a005ab15c432803710b3601129f3a965a2dddd5f891b8b6c6e7d1fbc&state=1a74af1fd08d87d48b925359c27c60eaa0190c55010fbe3d" for 127.0.0.1 at 2014-01-31 07:31:10 +0000
292
292
  Processing by AuthenticationsController#callback as HTML
293
- Parameters: {"code"=>"f66465b718481180bd28b0d89baf7b673130d7ec350f5485571dbca9eaf6f089", "state"=>"773049e2a1ca6b484a060189b52ddef6ab6f6c95d646b6e4"}
293
+ Parameters: {"code"=>"83f960a4a005ab15c432803710b3601129f3a965a2dddd5f891b8b6c6e7d1fbc", "state"=>"1a74af1fd08d87d48b925359c27c60eaa0190c55010fbe3d"}
294
294
  Authenticating with gds_sso strategy
295
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
295
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
296
296
   (0.0ms) begin transaction
297
297
   (0.2ms) UPDATE "users" SET "permissions" = '---
298
298
  - signin
299
299
  ' WHERE "users"."id" = 11
300
-  (6.5ms) commit transaction
301
-  (0.1ms) begin transaction
302
-  (0.2ms) UPDATE "users" SET "permissions" = '---
300
+  (10.1ms) commit transaction
301
+  (0.0ms) begin transaction
302
+  (0.1ms) UPDATE "users" SET "permissions" = '---
303
303
  - signin
304
304
  ' WHERE "users"."id" = 11
305
-  (6.2ms) commit transaction
305
+  (8.7ms) commit transaction
306
306
  Redirected to http://www.example-client.com/restricted
307
- Completed 302 Found in 17.0ms (ActiveRecord: 13.3ms)
308
- Started GET "/restricted" for 127.0.0.1 at 2014-01-29 08:11:23 +0000
307
+ Completed 302 Found in 22.8ms (ActiveRecord: 19.3ms)
308
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-31 07:31:10 +0000
309
309
  Processing by ExampleController#restricted as HTML
310
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
311
- Completed 200 OK in 1.1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
312
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:23 +0000
310
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
311
+ Completed 200 OK in 1.1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
312
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
313
313
  Processing by ExampleController#restricted as HTML
314
314
  Authenticating with gds_sso strategy
315
315
  Completed in 0.2ms
316
- Started GET "/auth/gds" for 127.0.0.1 at 2014-01-28 12:06:23 +0000
317
- Started GET "/auth/gds/callback?code=c907539bdb4394222bfcde63eb2bf52d7621c6108a163f59fbe51f61e3f497bd&state=9ede945ae9ae047734797b919de32ae02eab30153963e8ba" for 127.0.0.1 at 2014-01-28 12:06:23 +0000
316
+ Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
317
+ Started GET "/auth/gds/callback?code=a189c109c0650bf0f0ef6ffe19f9dc6115efe9c34cf2393c9af2a4d9b3dec0ab&state=e4bf81abac5c130c5138a67bfb5dde669d703052f34e43ed" for 127.0.0.1 at 2014-01-30 11:26:11 +0000
318
318
  Processing by AuthenticationsController#callback as HTML
319
- Parameters: {"code"=>"c907539bdb4394222bfcde63eb2bf52d7621c6108a163f59fbe51f61e3f497bd", "state"=>"9ede945ae9ae047734797b919de32ae02eab30153963e8ba"}
319
+ Parameters: {"code"=>"a189c109c0650bf0f0ef6ffe19f9dc6115efe9c34cf2393c9af2a4d9b3dec0ab", "state"=>"e4bf81abac5c130c5138a67bfb5dde669d703052f34e43ed"}
320
320
  Authenticating with gds_sso strategy
321
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
321
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
322
322
   (0.1ms) begin transaction
323
-  (0.3ms) UPDATE "users" SET "permissions" = '---
323
+  (0.2ms) UPDATE "users" SET "permissions" = '---
324
324
  - signin
325
325
  ' WHERE "users"."id" = 11
326
-  (6.8ms) commit transaction
327
-  (0.1ms) begin transaction
328
-  (0.2ms) UPDATE "users" SET "permissions" = '---
326
+  (10.5ms) commit transaction
327
+  (0.0ms) begin transaction
328
+  (0.1ms) UPDATE "users" SET "permissions" = '---
329
329
  - signin
330
330
  ' WHERE "users"."id" = 11
331
-  (5.9ms) commit transaction
331
+  (8.5ms) commit transaction
332
332
  Redirected to http://www.example-client.com/restricted
333
- Completed 302 Found in 21.3ms (ActiveRecord: 13.8ms)
334
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:23 +0000
333
+ Completed 302 Found in 24.5ms (ActiveRecord: 19.6ms)
334
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:11 +0000
335
335
  Processing by ExampleController#restricted as HTML
336
336
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
337
337
  Completed 200 OK in 1.4ms (Views: 0.4ms | ActiveRecord: 0.2ms)
338
- Started GET "/restricted" for 127.0.0.1 at 2014-01-29 08:01:23 +0000
338
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-31 07:21:11 +0000
339
339
  Processing by ExampleController#restricted as HTML
340
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
341
- Completed 200 OK in 1.2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
342
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:23 +0000
340
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
341
+ Completed 200 OK in 0.9ms (Views: 0.2ms | ActiveRecord: 0.1ms)
342
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:11 +0000
343
343
  Processing by ExampleController#restricted as JSON
344
344
  Authenticating with gds_bearer_token strategy
345
345
  Completed in 7.8ms
346
- Started GET "/restricted" for 127.0.0.1 at 2014-01-28 12:06:23 +0000
346
+ Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:11 +0000
347
347
  Processing by ExampleController#restricted as JSON
348
348
  Authenticating with gds_bearer_token strategy
349
349
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
350
350
   (0.0ms) begin transaction
351
-  (0.2ms) UPDATE "users" SET "permissions" = '---
351
+  (0.1ms) UPDATE "users" SET "permissions" = '---
352
352
  - signin
353
353
  ' WHERE "users"."id" = 11
354
-  (5.3ms) commit transaction
355
-  (0.0ms) begin transaction
356
-  (0.1ms) UPDATE "users" SET "permissions" = '---
354
+  (10.9ms) commit transaction
355
+  (0.1ms) begin transaction
356
+  (0.2ms) UPDATE "users" SET "permissions" = '---
357
357
  - signin
358
358
  ' WHERE "users"."id" = 11
359
-  (4.8ms) commit transaction
360
- Completed 200 OK in 43.0ms (Views: 0.2ms | ActiveRecord: 10.5ms)
361
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-28 12:06:23 +0000
359
+  (9.8ms) commit transaction
360
+ Completed 200 OK in 59.7ms (Views: 0.3ms | ActiveRecord: 21.3ms)
361
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-30 11:26:11 +0000
362
362
  Processing by ExampleController#this_requires_signin_permission as JSON
363
363
  Authenticating with gds_bearer_token strategy
364
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
365
-  (0.1ms) begin transaction
364
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
365
+  (0.0ms) begin transaction
366
366
   (0.2ms) UPDATE "users" SET "permissions" = '---
367
367
  - signin
368
368
  ' WHERE "users"."id" = 11
369
-  (6.5ms) commit transaction
370
-  (0.1ms) begin transaction
371
-  (0.2ms) UPDATE "users" SET "permissions" = '---
369
+  (10.1ms) commit transaction
370
+  (0.0ms) begin transaction
371
+  (0.1ms) UPDATE "users" SET "permissions" = '---
372
372
  - signin
373
373
  ' WHERE "users"."id" = 11
374
-  (5.4ms) commit transaction
375
- Completed 200 OK in 61.5ms (Views: 0.4ms | ActiveRecord: 12.7ms)
374
+  (10.0ms) commit transaction
375
+ Completed 200 OK in 61.3ms (Views: 0.2ms | ActiveRecord: 20.7ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gds-sso
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.2.0
4
+ version: 9.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-01-28 00:00:00.000000000 Z
13
+ date: 2014-01-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -332,7 +332,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
332
332
  version: '0'
333
333
  segments:
334
334
  - 0
335
- hash: 1644539480887075613
335
+ hash: -250005457247113865
336
336
  required_rubygems_version: !ruby/object:Gem::Requirement
337
337
  none: false
338
338
  requirements:
@@ -341,7 +341,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
341
341
  version: '0'
342
342
  segments:
343
343
  - 0
344
- hash: 1644539480887075613
344
+ hash: -250005457247113865
345
345
  requirements: []
346
346
  rubyforge_project: gds-sso
347
347
  rubygems_version: 1.8.23