gds-sso 14.1.0 → 14.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gds-sso/bearer_token.rb +1 -0
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +939 -939
- metadata +21 -21
data/spec/internal/log/test.log
CHANGED
@@ -1,829 +1,833 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (3.
|
1
|
+
[1m[36m (10.7ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
2
|
+
[1m[35m (3.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
3
3
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
-
[1m[35m (3.
|
5
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."
|
6
|
-
[1m[
|
4
|
+
[1m[35m (3.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "dummyapiuser@domain.com"]]
|
6
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["email", "dummyapiuser@domain.com"], ["uid", "4384"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
8
|
+
[1m[35m (4.0ms)[0m commit transaction
|
9
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
11
|
+
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
12
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38708"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
14
|
+
[1m[35m (3.4ms)[0m commit transaction
|
7
15
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions"
|
16
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31275"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
17
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
18
|
+
Processing by Api::UserController#reauth as HTML
|
19
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
20
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
21
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
22
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38949"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
9
24
|
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
10
|
-
[1m[
|
25
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38757"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
27
|
+
[1m[35m (4.4ms)[0m commit transaction
|
28
|
+
Processing by Api::UserController#reauth as HTML
|
29
|
+
Parameters: {"uid"=>"a1s2d38949"}
|
30
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d38949"]]
|
31
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 4]]
|
33
|
+
[1m[35m (4.2ms)[0m commit transaction
|
34
|
+
Completed 200 OK in 8ms (ActiveRecord: 4.5ms)
|
35
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
36
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d36058"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
38
|
+
[1m[35m (5.2ms)[0m commit transaction
|
11
39
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39319"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
41
|
+
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
42
|
+
Processing by Api::UserController#reauth as HTML
|
43
|
+
Parameters: {"uid"=>"a1s2d36058"}
|
44
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
45
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
46
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
47
|
+
Completed 403 Forbidden in 14ms (Views: 14.0ms | ActiveRecord: 0.0ms)
|
48
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34081"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
50
|
+
[1m[35m (3.2ms)[0m commit transaction
|
51
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32179"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
53
|
+
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
54
|
+
Processing by Api::UserController#update as HTML
|
55
|
+
Parameters: {"uid"=>"a1s2d34081"}
|
56
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d34081"]]
|
57
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
58
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 8]]
|
59
|
+
[1m[36m (5.9ms)[0m [1mcommit transaction[0m
|
60
|
+
Completed 200 OK in 9ms (ActiveRecord: 6.3ms)
|
61
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
|
62
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
63
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33491"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
64
|
+
[1m[36m (13.7ms)[0m [1mcommit transaction[0m
|
65
|
+
[1m[35m (0.1ms)[0m begin transaction
|
66
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38692"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
67
|
+
[1m[35m (3.1ms)[0m commit transaction
|
68
|
+
Processing by Api::UserController#update as HTML
|
69
|
+
Parameters: {"uid"=>"a1s2d33491"}
|
70
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
71
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
72
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
73
|
+
Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
74
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
75
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
76
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
77
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
78
|
+
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
79
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
80
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12
81
|
[1m[35m (0.1ms)[0m commit transaction
|
13
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
82
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:25:38 +0000
|
14
83
|
Processing by ExampleController#restricted as HTML
|
15
84
|
Authenticating with gds_sso strategy
|
16
85
|
Completed in 8ms (ActiveRecord: 0.0ms)
|
17
|
-
Started GET "/" for 127.0.0.1 at 2019-07-
|
18
|
-
|
19
|
-
Rendered text template (0.0ms)
|
20
|
-
Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
|
21
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:19:55 +0000
|
22
|
-
Processing by ExampleController#restricted as HTML
|
23
|
-
Authenticating with gds_sso strategy
|
24
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
25
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:19:55 +0000
|
26
|
-
Started GET "/auth/gds/callback?code=8d7e5bdfd9a69d1b2ca7791874d376db4ba73d99388bd26d4095863911902802&state=b87daedd52b66dd90c1e9fba1f68f4c9e733457ea90cb7af" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
86
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:25:38 +0000
|
87
|
+
Started GET "/auth/gds/callback?code=fbb8d4307c2fdd275fe442a5e566b856c86ff5ee5359b6ac3c13dd93ab56d794&state=6baf9387e2083581ddea707e4fd8f1ba2aac420fb3fb4f6b" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
27
88
|
Processing by AuthenticationsController#callback as HTML
|
28
|
-
Parameters: {"code"=>"
|
89
|
+
Parameters: {"code"=>"fbb8d4307c2fdd275fe442a5e566b856c86ff5ee5359b6ac3c13dd93ab56d794", "state"=>"6baf9387e2083581ddea707e4fd8f1ba2aac420fb3fb4f6b"}
|
29
90
|
Authenticating with gds_sso strategy
|
30
91
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
31
92
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
32
93
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33
|
-
[1m[35mSQL (0.
|
34
|
-
[1m[36m (
|
35
|
-
[1m[35m (0.
|
36
|
-
[1m[36mSQL (0.
|
37
|
-
[1m[35m (
|
94
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
|
95
|
+
[1m[36m (48.8ms)[0m [1mcommit transaction[0m
|
96
|
+
[1m[35m (0.0ms)[0m begin transaction
|
97
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
98
|
+
[1m[35m (18.4ms)[0m commit transaction
|
38
99
|
Redirected to http://www.example-client.com/restricted
|
39
|
-
Completed 302 Found in
|
40
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
100
|
+
Completed 302 Found in 73ms (ActiveRecord: 67.9ms)
|
101
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
41
102
|
Processing by ExampleController#restricted as HTML
|
42
103
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
43
104
|
Rendered text template (0.0ms)
|
44
|
-
Completed 200 OK in
|
45
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
105
|
+
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms)
|
106
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
46
107
|
Processing by ExampleController#restricted as HTML
|
47
108
|
Authenticating with gds_sso strategy
|
48
109
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
49
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
50
|
-
Started GET "/auth/gds/callback?code=
|
110
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
111
|
+
Started GET "/auth/gds/callback?code=8529a7a4a943ba21953f5adb145051ffe880e471a607ba8ca392718521a9b152&state=876ca422f3433c9b4c5a02eefeb4f9e03a3996ef94aa95a7" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
51
112
|
Processing by AuthenticationsController#callback as HTML
|
52
|
-
Parameters: {"code"=>"
|
113
|
+
Parameters: {"code"=>"8529a7a4a943ba21953f5adb145051ffe880e471a607ba8ca392718521a9b152", "state"=>"876ca422f3433c9b4c5a02eefeb4f9e03a3996ef94aa95a7"}
|
53
114
|
Authenticating with gds_sso strategy
|
54
|
-
[1m[35mUser Load (0.
|
115
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
55
116
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56
|
-
[1m[35m (0.
|
117
|
+
[1m[35m (0.0ms)[0m commit transaction
|
57
118
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
58
|
-
[1m[35m (0.
|
119
|
+
[1m[35m (0.0ms)[0m commit transaction
|
59
120
|
Redirected to http://www.example-client.com/restricted
|
60
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
61
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
121
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
122
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
62
123
|
Processing by ExampleController#restricted as HTML
|
63
124
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
64
125
|
Rendered text template (0.0ms)
|
65
|
-
Completed 200 OK in 1ms (Views: 0.
|
66
|
-
Started GET "/
|
67
|
-
Processing by ExampleController#
|
126
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
127
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
128
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
68
129
|
Authenticating with gds_sso strategy
|
69
130
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
70
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
71
|
-
Started GET "/auth/gds/callback?code=
|
131
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
132
|
+
Started GET "/auth/gds/callback?code=b9f216e19ba1a2c722018ff13af4210369ccaf9eb98fd6f4e630e2c7b05efc9a&state=fe719a7832263aec9fdd7ab7a7302b89930d488c84d40ad9" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
72
133
|
Processing by AuthenticationsController#callback as HTML
|
73
|
-
Parameters: {"code"=>"
|
134
|
+
Parameters: {"code"=>"b9f216e19ba1a2c722018ff13af4210369ccaf9eb98fd6f4e630e2c7b05efc9a", "state"=>"fe719a7832263aec9fdd7ab7a7302b89930d488c84d40ad9"}
|
74
135
|
Authenticating with gds_sso strategy
|
75
|
-
[1m[35mUser Load (0.
|
76
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77
|
-
[1m[35m (0.0ms)[0m commit transaction
|
136
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
78
137
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
79
138
|
[1m[35m (0.1ms)[0m commit transaction
|
80
|
-
|
139
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
140
|
+
[1m[35m (0.0ms)[0m commit transaction
|
141
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
81
142
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
82
|
-
Started GET "/
|
83
|
-
Processing by ExampleController#
|
143
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
144
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
84
145
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
85
146
|
Rendered text template (0.0ms)
|
86
147
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
87
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-
|
148
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
88
149
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
89
150
|
Authenticating with gds_sso strategy
|
90
151
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
91
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
92
|
-
Started GET "/auth/gds/callback?code=
|
152
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
153
|
+
Started GET "/auth/gds/callback?code=a0be5d9c9c06ccc9932a2b1e4510eb97e8388c6b8b30f3843adfbcc0dd80d8b8&state=f3618b335a95889c1708c9590205255410e7dabb15d0947e" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
93
154
|
Processing by AuthenticationsController#callback as HTML
|
94
|
-
Parameters: {"code"=>"
|
155
|
+
Parameters: {"code"=>"a0be5d9c9c06ccc9932a2b1e4510eb97e8388c6b8b30f3843adfbcc0dd80d8b8", "state"=>"f3618b335a95889c1708c9590205255410e7dabb15d0947e"}
|
95
156
|
Authenticating with gds_sso strategy
|
96
157
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
97
158
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
98
|
-
[1m[35m (0.
|
99
|
-
[1m[36m (0.
|
100
|
-
[1m[35m (0.
|
159
|
+
[1m[35m (0.0ms)[0m commit transaction
|
160
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
161
|
+
[1m[35m (0.0ms)[0m commit transaction
|
101
162
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
102
|
-
Completed 302 Found in
|
103
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-
|
163
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
|
164
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
104
165
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
105
166
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
106
167
|
Rendered text template (0.0ms)
|
107
|
-
Completed 200 OK in
|
108
|
-
Started GET "/
|
109
|
-
Processing by ExampleController#
|
168
|
+
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.1ms)
|
169
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
170
|
+
Processing by ExampleController#restricted as HTML
|
110
171
|
Authenticating with gds_sso strategy
|
111
172
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
112
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
113
|
-
Started GET "/auth/gds/callback?code=
|
173
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
174
|
+
Started GET "/auth/gds/callback?code=598e793cd9647b0b6b638603a39936be44ea312b07ed79e0b0be9dcb2f6be47c&state=3c80e27a90f70f0500e2d27d650b5f82763d08653323223f" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
114
175
|
Processing by AuthenticationsController#callback as HTML
|
115
|
-
Parameters: {"code"=>"
|
176
|
+
Parameters: {"code"=>"598e793cd9647b0b6b638603a39936be44ea312b07ed79e0b0be9dcb2f6be47c", "state"=>"3c80e27a90f70f0500e2d27d650b5f82763d08653323223f"}
|
116
177
|
Authenticating with gds_sso strategy
|
117
178
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
118
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
119
|
-
[1m[35m (0.0ms)[0m commit transaction
|
120
179
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
180
|
+
[1m[35m (0.0ms)[0m commit transaction
|
181
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
121
182
|
[1m[35m (0.1ms)[0m commit transaction
|
122
|
-
Redirected to http://www.example-client.com/
|
123
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
124
|
-
Started GET "/
|
125
|
-
Processing by ExampleController#
|
183
|
+
Redirected to http://www.example-client.com/restricted
|
184
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
185
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
186
|
+
Processing by ExampleController#restricted as HTML
|
126
187
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
127
188
|
Rendered text template (0.0ms)
|
128
|
-
Completed 200 OK in 1ms (Views: 0.
|
129
|
-
Started GET "/
|
189
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
190
|
+
Started GET "/" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
191
|
+
Processing by ExampleController#index as HTML
|
192
|
+
Rendered text template (0.0ms)
|
193
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
194
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
130
195
|
Processing by ExampleController#restricted as HTML
|
131
196
|
Authenticating with gds_sso strategy
|
132
197
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
133
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
134
|
-
Started GET "/auth/gds/callback?code=
|
198
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
199
|
+
Started GET "/auth/gds/callback?code=677c61dbc795e855d5e57c049356ba963546ebd9ae4aa3c5330d40ee8429035a&state=612df93287d65b72d5a98b66bdcfce8bd9843d28b8979986" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
135
200
|
Processing by AuthenticationsController#callback as HTML
|
136
|
-
Parameters: {"code"=>"
|
201
|
+
Parameters: {"code"=>"677c61dbc795e855d5e57c049356ba963546ebd9ae4aa3c5330d40ee8429035a", "state"=>"612df93287d65b72d5a98b66bdcfce8bd9843d28b8979986"}
|
137
202
|
Authenticating with gds_sso strategy
|
138
|
-
[1m[35mUser Load (0.
|
203
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
139
204
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
140
205
|
[1m[35m (0.1ms)[0m commit transaction
|
141
206
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
142
|
-
[1m[35m (0.
|
207
|
+
[1m[35m (0.1ms)[0m commit transaction
|
143
208
|
Redirected to http://www.example-client.com/restricted
|
144
209
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
145
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
210
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
146
211
|
Processing by ExampleController#restricted as HTML
|
147
212
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
148
213
|
Rendered text template (0.0ms)
|
149
|
-
Completed 200 OK in 1ms (Views: 0.
|
214
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
150
215
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
151
216
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
152
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id",
|
153
|
-
[1m[36m (
|
154
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
217
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 13]]
|
218
|
+
[1m[36m (5.4ms)[0m [1mcommit transaction[0m
|
219
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
155
220
|
Processing by ExampleController#restricted as HTML
|
156
221
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
157
222
|
Authenticating with gds_sso strategy
|
158
223
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
159
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
160
|
-
Started GET "/auth/gds/callback?code=
|
224
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
225
|
+
Started GET "/auth/gds/callback?code=394134dedb139a470475224132368b152f1063f79b5fdae2e4977b5f2ce7c617&state=e9de8c671c6db63407dbc56bbebde50e0415379a57094bff" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
161
226
|
Processing by AuthenticationsController#callback as HTML
|
162
|
-
Parameters: {"code"=>"
|
227
|
+
Parameters: {"code"=>"394134dedb139a470475224132368b152f1063f79b5fdae2e4977b5f2ce7c617", "state"=>"e9de8c671c6db63407dbc56bbebde50e0415379a57094bff"}
|
163
228
|
Authenticating with gds_sso strategy
|
164
|
-
[1m[36mUser Load (0.
|
229
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
165
230
|
[1m[35m (0.1ms)[0m begin transaction
|
166
|
-
[1m[36m (0.
|
231
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
167
232
|
[1m[35m (0.0ms)[0m begin transaction
|
168
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id",
|
169
|
-
[1m[35m (
|
233
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
234
|
+
[1m[35m (4.0ms)[0m commit transaction
|
170
235
|
Redirected to http://www.example-client.com/restricted
|
171
|
-
Completed 302 Found in
|
172
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
236
|
+
Completed 302 Found in 8ms (ActiveRecord: 4.5ms)
|
237
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
173
238
|
Processing by ExampleController#restricted as HTML
|
174
239
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
175
240
|
Rendered text template (0.0ms)
|
176
|
-
Completed 200 OK in
|
177
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
241
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
242
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
178
243
|
Processing by ExampleController#restricted as HTML
|
179
244
|
Authenticating with gds_sso strategy
|
180
245
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
181
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
182
|
-
Started GET "/auth/gds/callback?code=
|
246
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
247
|
+
Started GET "/auth/gds/callback?code=e67621665e1784bb93dd29187071779a3cd78d4fad1d3df8d83d28fdc667e712&state=170f6f22a08993c0d969f402dfd74aa571a93e0e660ad875" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
183
248
|
Processing by AuthenticationsController#callback as HTML
|
184
|
-
Parameters: {"code"=>"
|
249
|
+
Parameters: {"code"=>"e67621665e1784bb93dd29187071779a3cd78d4fad1d3df8d83d28fdc667e712", "state"=>"170f6f22a08993c0d969f402dfd74aa571a93e0e660ad875"}
|
185
250
|
Authenticating with gds_sso strategy
|
186
|
-
[1m[35mUser Load (0.
|
187
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
188
|
-
[1m[35m (0.0ms)[0m commit transaction
|
251
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
189
252
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
190
253
|
[1m[35m (0.0ms)[0m commit transaction
|
254
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
255
|
+
[1m[35m (0.1ms)[0m commit transaction
|
191
256
|
Redirected to http://www.example-client.com/restricted
|
192
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
193
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
257
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
258
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
194
259
|
Processing by ExampleController#restricted as HTML
|
195
260
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
196
261
|
Rendered text template (0.0ms)
|
197
|
-
Completed 200 OK in 1ms (Views: 0.
|
198
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
262
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
263
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
|
199
264
|
Processing by ExampleController#restricted as HTML
|
200
265
|
Authenticating with gds_sso strategy
|
201
|
-
Completed in
|
202
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
203
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
266
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
267
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
|
268
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
204
269
|
Processing by ExampleController#restricted as HTML
|
205
270
|
Authenticating with gds_sso strategy
|
206
271
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
207
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
208
|
-
Started GET "/auth/gds/callback?code=
|
272
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
273
|
+
Started GET "/auth/gds/callback?code=2e251537d340cfacd123bd9b66e52a214731b959b64982f8fa09a5af8b741d08&state=f6508620b6c6f5ee95731e73a418f73529981c5c15a23ac4" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
209
274
|
Processing by AuthenticationsController#callback as HTML
|
210
|
-
Parameters: {"code"=>"
|
275
|
+
Parameters: {"code"=>"2e251537d340cfacd123bd9b66e52a214731b959b64982f8fa09a5af8b741d08", "state"=>"f6508620b6c6f5ee95731e73a418f73529981c5c15a23ac4"}
|
211
276
|
Authenticating with gds_sso strategy
|
212
277
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
213
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
214
|
-
[1m[35m (0.1ms)[0m commit transaction
|
215
278
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
216
279
|
[1m[35m (0.1ms)[0m commit transaction
|
280
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
281
|
+
[1m[35m (0.1ms)[0m commit transaction
|
217
282
|
Redirected to http://www.example-client.com/restricted
|
218
283
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
219
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
284
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
220
285
|
Processing by ExampleController#restricted as HTML
|
221
286
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
222
287
|
Rendered text template (0.0ms)
|
223
|
-
Completed 200 OK in 1ms (Views: 0.
|
224
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
225
|
-
Processing by ExampleController#restricted as HTML
|
226
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
227
|
-
Rendered text template (0.1ms)
|
228
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
229
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
288
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
289
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
|
230
290
|
Processing by ExampleController#restricted as HTML
|
231
291
|
Authenticating with gds_sso strategy
|
232
292
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
233
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
234
|
-
Started GET "/auth/gds/callback?code=
|
293
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
|
294
|
+
Started GET "/auth/gds/callback?code=16872e9d646aeb4524d6fd237a96bee8acefb2a657ff05416af5e8c310b4111f&state=2e2f3ada1d55bd05ebca28d803274ee11eaa54d0fed00112" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
|
235
295
|
Processing by AuthenticationsController#callback as HTML
|
236
|
-
Parameters: {"code"=>"
|
296
|
+
Parameters: {"code"=>"16872e9d646aeb4524d6fd237a96bee8acefb2a657ff05416af5e8c310b4111f", "state"=>"2e2f3ada1d55bd05ebca28d803274ee11eaa54d0fed00112"}
|
237
297
|
Authenticating with gds_sso strategy
|
238
|
-
[1m[
|
239
|
-
[1m[
|
240
|
-
[1m[
|
241
|
-
[1m[
|
242
|
-
[1m[
|
298
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
299
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
300
|
+
[1m[35m (0.1ms)[0m commit transaction
|
301
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
302
|
+
[1m[35m (0.1ms)[0m commit transaction
|
243
303
|
Redirected to http://www.example-client.com/restricted
|
244
304
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
245
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
305
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
|
246
306
|
Processing by ExampleController#restricted as HTML
|
247
|
-
[1m[
|
307
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
248
308
|
Rendered text template (0.0ms)
|
249
|
-
Completed 200 OK in 1ms (Views: 0.
|
250
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19
|
309
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
310
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
251
311
|
Processing by ExampleController#restricted as HTML
|
252
312
|
Authenticating with gds_sso strategy
|
253
|
-
Completed in
|
254
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19
|
255
|
-
Started GET "/auth/gds/callback?code=
|
313
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
314
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
315
|
+
Started GET "/auth/gds/callback?code=792cfc2584e8bcb217fed4c791a76a722200c04a87aad03e2cf5d2ed228d7e9d&state=d9ce97d145b5beebad889e2c33bfd7020965b094aae9554f" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
256
316
|
Processing by AuthenticationsController#callback as HTML
|
257
|
-
Parameters: {"code"=>"
|
317
|
+
Parameters: {"code"=>"792cfc2584e8bcb217fed4c791a76a722200c04a87aad03e2cf5d2ed228d7e9d", "state"=>"d9ce97d145b5beebad889e2c33bfd7020965b094aae9554f"}
|
258
318
|
Authenticating with gds_sso strategy
|
259
|
-
[1m[
|
260
|
-
[1m[
|
261
|
-
[1m[
|
262
|
-
[1m[
|
263
|
-
[1m[
|
319
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
320
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
321
|
+
[1m[35m (0.1ms)[0m commit transaction
|
322
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
323
|
+
[1m[35m (0.0ms)[0m commit transaction
|
264
324
|
Redirected to http://www.example-client.com/restricted
|
265
|
-
Completed 302 Found in
|
266
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19
|
325
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
326
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
267
327
|
Processing by ExampleController#restricted as HTML
|
268
|
-
[1m[
|
328
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
269
329
|
Rendered text template (0.0ms)
|
270
330
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
271
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
331
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:21:22 +0000
|
332
|
+
Processing by ExampleController#restricted as HTML
|
333
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
334
|
+
Rendered text template (0.0ms)
|
335
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
336
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
337
|
+
Processing by ExampleController#restricted as HTML
|
338
|
+
Authenticating with gds_sso strategy
|
339
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
340
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
272
341
|
Processing by ExampleController#restricted as JSON
|
273
|
-
Completed in
|
274
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
342
|
+
Completed in 20ms (ActiveRecord: 0.0ms)
|
343
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
344
|
+
Processing by ExampleController#restricted as JSON
|
345
|
+
Completed in 11ms (ActiveRecord: 0.0ms)
|
346
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
275
347
|
Processing by ExampleController#restricted as JSON
|
276
348
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
277
|
-
[1m[35m (0.
|
278
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id",
|
279
|
-
[1m[35m (
|
349
|
+
[1m[35m (0.0ms)[0m begin transaction
|
350
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
351
|
+
[1m[35m (3.7ms)[0m commit transaction
|
280
352
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
281
|
-
[1m[35m (0.
|
353
|
+
[1m[35m (0.0ms)[0m begin transaction
|
282
354
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
283
355
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
284
356
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
285
357
|
[1m[35m (0.0ms)[0m commit transaction
|
286
358
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
287
|
-
[1m[35m (0.
|
359
|
+
[1m[35m (0.0ms)[0m begin transaction
|
288
360
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
289
361
|
[1m[35m (0.0ms)[0m begin transaction
|
290
362
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
291
363
|
Rendered text template (0.0ms)
|
292
|
-
Completed 200 OK in
|
293
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-
|
364
|
+
Completed 200 OK in 55ms (Views: 0.3ms | ActiveRecord: 4.6ms)
|
365
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
294
366
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
295
367
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
296
|
-
[1m[36m (0.
|
297
|
-
[1m[35m (0.
|
368
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
369
|
+
[1m[35m (0.1ms)[0m commit transaction
|
298
370
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
299
371
|
[1m[35m (0.0ms)[0m begin transaction
|
300
|
-
[1m[36m (0.
|
372
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
301
373
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
302
|
-
[1m[36m (0.
|
374
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
303
375
|
[1m[35m (0.0ms)[0m commit transaction
|
304
376
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
305
|
-
[1m[35m (0.
|
377
|
+
[1m[35m (0.0ms)[0m begin transaction
|
306
378
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
307
379
|
[1m[35m (0.0ms)[0m begin transaction
|
308
380
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
309
381
|
Rendered text template (0.0ms)
|
310
|
-
Completed 200 OK in
|
311
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
312
|
-
Processing by ExampleController#restricted as JSON
|
313
|
-
Completed in 20ms (ActiveRecord: 0.0ms)
|
314
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
|
315
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
316
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "8602"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
317
|
-
[1m[36m (13.6ms)[0m [1mcommit transaction[0m
|
318
|
-
[1m[35m (0.1ms)[0m begin transaction
|
319
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 3]]
|
320
|
-
[1m[35m (4.7ms)[0m commit transaction
|
321
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
322
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34463"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
323
|
-
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
324
|
-
[1m[35m (0.0ms)[0m begin transaction
|
325
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38090"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
326
|
-
[1m[35m (5.0ms)[0m commit transaction
|
327
|
-
Processing by Api::UserController#update as HTML
|
328
|
-
Parameters: {"uid"=>"a1s2d34463"}
|
329
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d34463"]]
|
330
|
-
[1m[35m (0.0ms)[0m begin transaction
|
331
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 4]]
|
332
|
-
[1m[35m (4.4ms)[0m commit transaction
|
333
|
-
Completed 200 OK in 8ms (ActiveRecord: 4.8ms)
|
334
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
335
|
-
[1m[35m (0.0ms)[0m begin transaction
|
336
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39485"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
337
|
-
[1m[35m (4.8ms)[0m commit transaction
|
338
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36642"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
340
|
-
[1m[36m (5.6ms)[0m [1mcommit transaction[0m
|
341
|
-
Processing by Api::UserController#update as HTML
|
342
|
-
Parameters: {"uid"=>"a1s2d39485"}
|
343
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
344
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
345
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
346
|
-
Completed 403 Forbidden in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
|
347
|
-
[1m[35m (0.0ms)[0m begin transaction
|
348
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3420"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
349
|
-
[1m[35m (4.2ms)[0m commit transaction
|
350
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
351
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39997"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
352
|
-
[1m[36m (4.8ms)[0m [1mcommit transaction[0m
|
353
|
-
Processing by Api::UserController#reauth as HTML
|
354
|
-
Parameters: {"uid"=>"a1s2d3420"}
|
355
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
356
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
357
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
358
|
-
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
359
|
-
[1m[35m (0.0ms)[0m begin transaction
|
360
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35084"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
361
|
-
[1m[35m (3.4ms)[0m commit transaction
|
362
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
363
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39027"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
364
|
-
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
365
|
-
Processing by Api::UserController#reauth as HTML
|
366
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
367
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
368
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
369
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
370
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33305"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
371
|
-
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
372
|
-
[1m[35m (0.0ms)[0m begin transaction
|
373
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39773"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
374
|
-
[1m[35m (6.5ms)[0m commit transaction
|
375
|
-
Processing by Api::UserController#reauth as HTML
|
376
|
-
Parameters: {"uid"=>"a1s2d33305"}
|
377
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d33305"]]
|
378
|
-
[1m[35m (0.0ms)[0m begin transaction
|
379
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 12]]
|
380
|
-
[1m[35m (4.3ms)[0m commit transaction
|
381
|
-
Completed 200 OK in 7ms (ActiveRecord: 4.7ms)
|
382
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 12]]
|
382
|
+
Completed 200 OK in 49ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
383
383
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
384
|
-
[1m[35m (1.
|
385
|
-
[1m[35m (
|
386
|
-
[1m[35m (
|
384
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
385
|
+
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
386
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
387
387
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
388
388
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
389
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
390
|
-
[1m[35m (
|
391
|
-
[1m[35m (
|
389
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-07-19 11:26:35.370566"], ["updated_at", "2019-07-19 11:26:35.370566"]]
|
390
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
391
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
392
392
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
393
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
394
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
395
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
393
396
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
394
|
-
[1m[
|
395
|
-
[1m[
|
396
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
397
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "588"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
398
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
397
399
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
398
|
-
[1m[36mUser
|
399
|
-
[1m[35m (
|
400
|
-
|
401
|
-
|
402
|
-
|
400
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
401
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
402
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:35 +0000
|
403
|
+
Processing by ExampleController#restricted as JSON
|
404
|
+
Completed in 29ms (ActiveRecord: 0.0ms)
|
405
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
406
|
+
Processing by ExampleController#restricted as JSON
|
407
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
408
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
403
409
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
404
|
-
[1m[36mUser Create (0.
|
405
|
-
[1m[35m (4.
|
410
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
411
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
412
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
406
413
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
407
|
-
[1m[
|
408
|
-
[1m[
|
409
|
-
Processing by Api::UserController#reauth as HTML
|
410
|
-
Parameters: {"uid"=>"a1s2d36257"}
|
411
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
412
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
413
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
414
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
415
|
-
Completed 403 Forbidden in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
|
414
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
415
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
416
416
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
417
|
-
[1m[
|
418
|
-
[1m[
|
419
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
420
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34330"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
421
|
-
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
422
|
-
Processing by Api::UserController#reauth as HTML
|
423
|
-
Parameters: {"uid"=>"a1s2d3640"}
|
424
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3640"], ["LIMIT", 1]]
|
417
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
418
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
425
419
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
426
|
-
[1m[
|
427
|
-
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
428
|
-
Completed 200 OK in 9ms (ActiveRecord: 6.6ms)
|
429
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
420
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
430
421
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
431
|
-
[1m[36mUser
|
432
|
-
[1m[35m (
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
422
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
423
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
424
|
+
Rendering text template
|
425
|
+
Rendered text template (0.0ms)
|
426
|
+
Completed 200 OK in 68ms (Views: 4.6ms | ActiveRecord: 10.5ms)
|
427
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
428
|
+
Processing by ExampleController#restricted as JSON
|
429
|
+
Completed in 11ms (ActiveRecord: 0.0ms)
|
430
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
431
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
432
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
440
433
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
441
|
-
[1m[
|
442
|
-
[1m[
|
443
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
444
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35089"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
445
|
-
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
446
|
-
Processing by Api::UserController#update as HTML
|
447
|
-
Parameters: {"uid"=>"a1s2d37027"}
|
448
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d37027"], ["LIMIT", 1]]
|
434
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
435
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
449
436
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
450
|
-
[1m[
|
451
|
-
[1m[
|
452
|
-
Completed 200 OK in 8ms (ActiveRecord: 5.1ms)
|
453
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
|
437
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
438
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
454
439
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
455
|
-
[1m[
|
456
|
-
[1m[
|
440
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
441
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
457
442
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
458
|
-
[1m[
|
459
|
-
[1m[35m (
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
466
|
-
Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
467
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:52 +0000
|
443
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
444
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
445
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
446
|
+
Rendering text template
|
447
|
+
Rendered text template (0.0ms)
|
448
|
+
Completed 200 OK in 50ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
449
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
468
450
|
Processing by ExampleController#restricted as HTML
|
469
451
|
Authenticating with gds_sso strategy
|
470
|
-
Completed in 5ms (ActiveRecord: 0.0ms)
|
471
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
472
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
473
|
-
Authenticating with gds_sso strategy
|
474
452
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
475
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
476
|
-
Started GET "/auth/gds/callback?code=
|
453
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
454
|
+
Started GET "/auth/gds/callback?code=0012adb6a6a047a6affe347cbed73f500b417d764425ac83b864d51268abb246&state=e95fad5c31cc5489f48e07d36f02584d4dee9106f7c5c43a" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
477
455
|
Processing by AuthenticationsController#callback as HTML
|
478
|
-
Parameters: {"code"=>"
|
456
|
+
Parameters: {"code"=>"0012adb6a6a047a6affe347cbed73f500b417d764425ac83b864d51268abb246", "state"=>"e95fad5c31cc5489f48e07d36f02584d4dee9106f7c5c43a"}
|
479
457
|
Authenticating with gds_sso strategy
|
480
458
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
481
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
482
459
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
483
|
-
[1m[36mUser
|
484
|
-
[1m[35m (
|
460
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 2]]
|
461
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
485
462
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
486
|
-
[1m[
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
463
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
464
|
+
Redirected to http://www.example-client.com/restricted
|
465
|
+
Completed 302 Found in 10ms (ActiveRecord: 5.3ms)
|
466
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
467
|
+
Processing by ExampleController#restricted as HTML
|
492
468
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
493
469
|
Rendering text template
|
494
470
|
Rendered text template (0.0ms)
|
495
|
-
Completed 200 OK in 2ms (Views: 0.
|
496
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-
|
471
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
472
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
497
473
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
498
474
|
Authenticating with gds_sso strategy
|
499
475
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
500
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
501
|
-
Started GET "/auth/gds/callback?code=
|
476
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
477
|
+
Started GET "/auth/gds/callback?code=491743882f66eef9e4d03bcc98cb8095601af27d7192edbef81dfbc3be0c66cb&state=057c5f4c2c1b280a2796518f6ab93353102a71df5a9411d3" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
502
478
|
Processing by AuthenticationsController#callback as HTML
|
503
|
-
Parameters: {"code"=>"
|
479
|
+
Parameters: {"code"=>"491743882f66eef9e4d03bcc98cb8095601af27d7192edbef81dfbc3be0c66cb", "state"=>"057c5f4c2c1b280a2796518f6ab93353102a71df5a9411d3"}
|
504
480
|
Authenticating with gds_sso strategy
|
505
|
-
[1m[36mUser Load (0.
|
481
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
506
482
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
507
|
-
[1m[35m (0.
|
483
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
508
484
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
509
|
-
[1m[35m (0.
|
485
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
510
486
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
511
|
-
Completed 302 Found in
|
512
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-
|
487
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
488
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
513
489
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
514
|
-
[1m[36mUser Load (
|
515
|
-
Rendering text template
|
516
|
-
Rendered text template (0.0ms)
|
517
|
-
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 1.2ms)
|
518
|
-
Started GET "/" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
519
|
-
Processing by ExampleController#index as HTML
|
490
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
520
491
|
Rendering text template
|
521
492
|
Rendered text template (0.0ms)
|
522
|
-
Completed 200 OK in
|
523
|
-
Started GET "/
|
524
|
-
Processing by ExampleController#
|
493
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
494
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
495
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
525
496
|
Authenticating with gds_sso strategy
|
526
497
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
527
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
528
|
-
Started GET "/auth/gds/callback?code=
|
498
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
499
|
+
Started GET "/auth/gds/callback?code=e8564eb0e0a2fbbda8bfd317a2347a88d6f35007a718e4d030e9a7de8674d5ca&state=03ef5f8b7653fb4db7f496c620183beeca4fe4834214d3f9" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
529
500
|
Processing by AuthenticationsController#callback as HTML
|
530
|
-
Parameters: {"code"=>"
|
501
|
+
Parameters: {"code"=>"e8564eb0e0a2fbbda8bfd317a2347a88d6f35007a718e4d030e9a7de8674d5ca", "state"=>"03ef5f8b7653fb4db7f496c620183beeca4fe4834214d3f9"}
|
531
502
|
Authenticating with gds_sso strategy
|
532
|
-
[1m[36mUser Load (0.
|
533
|
-
[1m[35m (0.
|
534
|
-
[1m[35m (0.
|
535
|
-
[1m[35m (0.
|
536
|
-
[1m[35m (0.
|
537
|
-
Redirected to http://www.example-client.com/
|
538
|
-
Completed 302 Found in
|
539
|
-
Started GET "/
|
540
|
-
Processing by ExampleController#
|
503
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
504
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
505
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
506
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
507
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
508
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
509
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
510
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
511
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
541
512
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
542
513
|
Rendering text template
|
543
514
|
Rendered text template (0.0ms)
|
544
|
-
Completed 200 OK in
|
545
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
515
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
516
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
546
517
|
Processing by ExampleController#restricted as HTML
|
547
518
|
Authenticating with gds_sso strategy
|
548
519
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
549
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
550
|
-
Started GET "/auth/gds/callback?code=
|
520
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
521
|
+
Started GET "/auth/gds/callback?code=efc9ef7fe39829ad7749c7dc490924444e20aa5d2358ca6bbd777357d35c8900&state=61e5d724f46be0b2ae83bc6c8a759b8b664946d6466225ae" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
551
522
|
Processing by AuthenticationsController#callback as HTML
|
552
|
-
Parameters: {"code"=>"
|
523
|
+
Parameters: {"code"=>"efc9ef7fe39829ad7749c7dc490924444e20aa5d2358ca6bbd777357d35c8900", "state"=>"61e5d724f46be0b2ae83bc6c8a759b8b664946d6466225ae"}
|
553
524
|
Authenticating with gds_sso strategy
|
554
525
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
555
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
556
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
557
526
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
558
527
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
528
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
529
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
559
530
|
Redirected to http://www.example-client.com/restricted
|
560
|
-
Completed 302 Found in
|
561
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
531
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
532
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
562
533
|
Processing by ExampleController#restricted as HTML
|
563
534
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
564
535
|
Rendering text template
|
565
536
|
Rendered text template (0.0ms)
|
566
|
-
Completed 200 OK in
|
567
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
537
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
538
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
568
539
|
Processing by ExampleController#restricted as HTML
|
569
540
|
Authenticating with gds_sso strategy
|
570
541
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
571
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
572
|
-
Started GET "/auth/gds/callback?code=
|
542
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
543
|
+
Started GET "/auth/gds/callback?code=7f20536fb710f51d674bfd314bee9a7ecb1c7e907299aad0bdfd2d294ca4426c&state=8cb2b639017dbe5997b6caabb8f9c507d9f3974b25e8050a" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
573
544
|
Processing by AuthenticationsController#callback as HTML
|
574
|
-
Parameters: {"code"=>"
|
545
|
+
Parameters: {"code"=>"7f20536fb710f51d674bfd314bee9a7ecb1c7e907299aad0bdfd2d294ca4426c", "state"=>"8cb2b639017dbe5997b6caabb8f9c507d9f3974b25e8050a"}
|
575
546
|
Authenticating with gds_sso strategy
|
576
547
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
577
548
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
578
|
-
[1m[35m (0.
|
549
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
579
550
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
580
|
-
[1m[35m (0.
|
551
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
581
552
|
Redirected to http://www.example-client.com/restricted
|
582
553
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
583
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
554
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
584
555
|
Processing by ExampleController#restricted as HTML
|
585
556
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
586
557
|
Rendering text template
|
587
558
|
Rendered text template (0.0ms)
|
588
559
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
589
|
-
Started GET "/
|
560
|
+
Started GET "/" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
561
|
+
Processing by ExampleController#index as HTML
|
562
|
+
Rendering text template
|
563
|
+
Rendered text template (0.0ms)
|
564
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
565
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
590
566
|
Processing by ExampleController#restricted as HTML
|
591
567
|
Authenticating with gds_sso strategy
|
592
568
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
593
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
594
|
-
Started GET "/auth/gds/callback?code=
|
569
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
570
|
+
Started GET "/auth/gds/callback?code=fc45f5524b68709e3a09578acc0a392938348efe71f42865968d0c20bc0ae9ec&state=6a83580cf0c11020d7edd96d3f44a1338c84f46b5272f1b4" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
595
571
|
Processing by AuthenticationsController#callback as HTML
|
596
|
-
Parameters: {"code"=>"
|
572
|
+
Parameters: {"code"=>"fc45f5524b68709e3a09578acc0a392938348efe71f42865968d0c20bc0ae9ec", "state"=>"6a83580cf0c11020d7edd96d3f44a1338c84f46b5272f1b4"}
|
597
573
|
Authenticating with gds_sso strategy
|
598
574
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
599
575
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
600
|
-
[1m[35m (0.
|
576
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
601
577
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
602
|
-
[1m[35m (0.
|
578
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
603
579
|
Redirected to http://www.example-client.com/restricted
|
604
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
605
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
580
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
581
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
606
582
|
Processing by ExampleController#restricted as HTML
|
607
583
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
608
584
|
Rendering text template
|
609
585
|
Rendered text template (0.0ms)
|
610
586
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
Started GET "/
|
616
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
587
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
588
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
589
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
590
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
591
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
617
592
|
Processing by ExampleController#restricted as HTML
|
593
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
618
594
|
Authenticating with gds_sso strategy
|
619
|
-
Completed in
|
620
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
621
|
-
Started GET "/auth/gds/callback?code=
|
595
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
596
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
597
|
+
Started GET "/auth/gds/callback?code=21d6be0657ca17afde1c2376f29a3e4e2fe20a6d9a51dc126270d29838526c6a&state=138f9738a4a4755c19c118edf2f8de188c72c0dc5d074eee" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
622
598
|
Processing by AuthenticationsController#callback as HTML
|
623
|
-
Parameters: {"code"=>"
|
599
|
+
Parameters: {"code"=>"21d6be0657ca17afde1c2376f29a3e4e2fe20a6d9a51dc126270d29838526c6a", "state"=>"138f9738a4a4755c19c118edf2f8de188c72c0dc5d074eee"}
|
624
600
|
Authenticating with gds_sso strategy
|
625
601
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
626
602
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
627
|
-
[1m[35m (0.
|
603
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
628
604
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
629
|
-
[1m[
|
605
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
606
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
630
607
|
Redirected to http://www.example-client.com/restricted
|
631
|
-
Completed 302 Found in
|
632
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
608
|
+
Completed 302 Found in 11ms (ActiveRecord: 7.2ms)
|
609
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
633
610
|
Processing by ExampleController#restricted as HTML
|
634
611
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
635
612
|
Rendering text template
|
636
613
|
Rendered text template (0.0ms)
|
637
|
-
Completed 200 OK in 2ms (Views: 0.
|
638
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19
|
614
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
615
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
639
616
|
Processing by ExampleController#restricted as HTML
|
640
617
|
Authenticating with gds_sso strategy
|
641
|
-
Completed in
|
642
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19
|
643
|
-
Started GET "/auth/gds/callback?code=
|
618
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
619
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
620
|
+
Started GET "/auth/gds/callback?code=a635eed314316682b07197ad261bdd39353d0372171f2c3cdc3b58b216c47cca&state=5e27068e841c4b6e765fe0c57819dc6f55da1eae2a7ea8ab" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
644
621
|
Processing by AuthenticationsController#callback as HTML
|
645
|
-
Parameters: {"code"=>"
|
622
|
+
Parameters: {"code"=>"a635eed314316682b07197ad261bdd39353d0372171f2c3cdc3b58b216c47cca", "state"=>"5e27068e841c4b6e765fe0c57819dc6f55da1eae2a7ea8ab"}
|
646
623
|
Authenticating with gds_sso strategy
|
647
624
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
648
625
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
649
626
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
650
|
-
[1m[35m (0.
|
627
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
651
628
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
652
629
|
Redirected to http://www.example-client.com/restricted
|
653
630
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
654
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19
|
631
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
655
632
|
Processing by ExampleController#restricted as HTML
|
656
633
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
657
634
|
Rendering text template
|
658
635
|
Rendered text template (0.0ms)
|
659
|
-
Completed 200 OK in
|
660
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
636
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
637
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:37 +0000
|
638
|
+
Processing by ExampleController#restricted as HTML
|
639
|
+
Authenticating with gds_sso strategy
|
640
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
641
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:37 +0000
|
642
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
661
643
|
Processing by ExampleController#restricted as HTML
|
662
644
|
Authenticating with gds_sso strategy
|
663
645
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
664
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
665
|
-
Started GET "/auth/gds/callback?code=
|
646
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
647
|
+
Started GET "/auth/gds/callback?code=ca40aa30fb964ba5cd361184543601cc1b863dcccc03c1dcf8e0c6affa00a3ce&state=58a21355585a9e2fc0f526315479bf1f7bcb1a39c556bf44" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
666
648
|
Processing by AuthenticationsController#callback as HTML
|
667
|
-
Parameters: {"code"=>"
|
649
|
+
Parameters: {"code"=>"ca40aa30fb964ba5cd361184543601cc1b863dcccc03c1dcf8e0c6affa00a3ce", "state"=>"58a21355585a9e2fc0f526315479bf1f7bcb1a39c556bf44"}
|
668
650
|
Authenticating with gds_sso strategy
|
669
651
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
670
652
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
671
653
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
672
|
-
[1m[35m (0.
|
654
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
673
655
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
674
656
|
Redirected to http://www.example-client.com/restricted
|
675
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
676
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
657
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
658
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
677
659
|
Processing by ExampleController#restricted as HTML
|
678
660
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
679
661
|
Rendering text template
|
680
662
|
Rendered text template (0.0ms)
|
681
|
-
Completed 200 OK in
|
682
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
683
|
-
Processing by ExampleController#restricted as HTML
|
684
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
685
|
-
Rendering text template
|
686
|
-
Rendered text template (0.0ms)
|
687
|
-
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
688
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
663
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
664
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:37 +0000
|
689
665
|
Processing by ExampleController#restricted as HTML
|
690
666
|
Authenticating with gds_sso strategy
|
691
|
-
Completed in
|
692
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
693
|
-
Started GET "/auth/gds/callback?code=
|
667
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
668
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:37 +0000
|
669
|
+
Started GET "/auth/gds/callback?code=53d67701a72b7915a3ed0123f6ed0218efd6c8d3cda761eadcdc2fe07c7c2c3b&state=cfd24ecedc22e6f3f1b172beadf12314aec60bfcb22f6881" for 127.0.0.1 at 2019-07-20 07:31:37 +0000
|
694
670
|
Processing by AuthenticationsController#callback as HTML
|
695
|
-
Parameters: {"code"=>"
|
671
|
+
Parameters: {"code"=>"53d67701a72b7915a3ed0123f6ed0218efd6c8d3cda761eadcdc2fe07c7c2c3b", "state"=>"cfd24ecedc22e6f3f1b172beadf12314aec60bfcb22f6881"}
|
696
672
|
Authenticating with gds_sso strategy
|
697
|
-
[1m[36mUser Load (0.
|
673
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
698
674
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
699
675
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
700
676
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
701
|
-
[1m[35m (0.
|
677
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
702
678
|
Redirected to http://www.example-client.com/restricted
|
703
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
704
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
679
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
680
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:37 +0000
|
705
681
|
Processing by ExampleController#restricted as HTML
|
706
|
-
[1m[36mUser Load (0.
|
682
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
707
683
|
Rendering text template
|
708
684
|
Rendered text template (0.0ms)
|
709
|
-
Completed 200 OK in
|
710
|
-
|
711
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
712
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 12]]
|
713
|
-
[1m[35m (11.5ms)[0m [1m[36mcommit transaction[0m
|
714
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
685
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
686
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
715
687
|
Processing by ExampleController#restricted as HTML
|
716
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
717
688
|
Authenticating with gds_sso strategy
|
718
|
-
Completed in
|
719
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
720
|
-
Started GET "/auth/gds/callback?code=
|
689
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
690
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
691
|
+
Started GET "/auth/gds/callback?code=a7d7a1fc47a22bb51de8afbfc3f311b20e4e8f4ada3f8b71698b681115a9b132&state=55575dbe38c4b3652a5ba2ba952d5ee410198fd5a725f66f" for 127.0.0.1 at 2019-07-19 11:26:38 +0000
|
721
692
|
Processing by AuthenticationsController#callback as HTML
|
722
|
-
Parameters: {"code"=>"
|
693
|
+
Parameters: {"code"=>"a7d7a1fc47a22bb51de8afbfc3f311b20e4e8f4ada3f8b71698b681115a9b132", "state"=>"55575dbe38c4b3652a5ba2ba952d5ee410198fd5a725f66f"}
|
723
694
|
Authenticating with gds_sso strategy
|
724
695
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
725
696
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
726
697
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
727
698
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
728
|
-
[1m[
|
729
|
-
[1m[35m (8.5ms)[0m [1m[36mcommit transaction[0m
|
699
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
730
700
|
Redirected to http://www.example-client.com/restricted
|
731
|
-
Completed 302 Found in
|
732
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
701
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
702
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:38 +0000
|
733
703
|
Processing by ExampleController#restricted as HTML
|
734
704
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
735
705
|
Rendering text template
|
736
706
|
Rendered text template (0.0ms)
|
737
|
-
Completed 200 OK in
|
738
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
739
|
-
Processing by ExampleController#restricted as
|
740
|
-
|
741
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:55 +0000
|
742
|
-
Processing by ExampleController#restricted as JSON
|
743
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
744
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
745
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 12]]
|
746
|
-
[1m[35m (8.3ms)[0m [1m[36mcommit transaction[0m
|
747
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
748
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
749
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
750
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
751
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
752
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
753
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
754
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
755
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
756
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
757
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
707
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
708
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:21:38 +0000
|
709
|
+
Processing by ExampleController#restricted as HTML
|
710
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
758
711
|
Rendering text template
|
759
712
|
Rendered text template (0.0ms)
|
760
|
-
Completed 200 OK in
|
761
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
762
|
-
Processing by ExampleController#restricted as
|
763
|
-
|
764
|
-
|
765
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
766
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
767
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
768
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
769
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
770
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
771
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
772
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
713
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
714
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:38 +0000
|
715
|
+
Processing by ExampleController#restricted as HTML
|
716
|
+
Authenticating with gds_sso strategy
|
717
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
773
718
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
774
|
-
[1m[
|
775
|
-
[1m[
|
776
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
777
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
719
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34228"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
720
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
778
721
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
779
|
-
[1m[
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
[1m[36mUser Load (0.
|
722
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33316"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
723
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
724
|
+
Processing by Api::UserController#update as HTML
|
725
|
+
Parameters: {"uid"=>"a1s2d34228"}
|
726
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34228"], ["LIMIT", 1]]
|
727
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
728
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 3]]
|
729
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
730
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
|
731
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
732
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
733
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32448"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
734
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
735
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
736
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35385"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
737
|
+
[1m[35m (2.9ms)[0m [1m[36mcommit transaction[0m
|
738
|
+
Processing by Api::UserController#update as HTML
|
739
|
+
Parameters: {"uid"=>"a1s2d32448"}
|
740
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
741
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
742
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
743
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
744
|
+
Completed 403 Forbidden in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
|
745
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
746
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36336"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
747
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
748
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
749
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3676"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
750
|
+
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
751
|
+
Processing by Api::UserController#reauth as HTML
|
752
|
+
Parameters: {"uid"=>"a1s2d36336"}
|
753
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
754
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
755
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
756
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
757
|
+
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
758
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
759
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39533"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
760
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
761
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
762
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33794"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
763
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
764
|
+
Processing by Api::UserController#reauth as HTML
|
765
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
766
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
767
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
784
768
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
785
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
786
|
-
[1m[35m (
|
769
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35568"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
770
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
771
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
772
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38626"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
773
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
774
|
+
Processing by Api::UserController#reauth as HTML
|
775
|
+
Parameters: {"uid"=>"a1s2d35568"}
|
776
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35568"], ["LIMIT", 1]]
|
777
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
778
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 11]]
|
779
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
780
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.0ms)
|
781
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
|
782
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
783
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
787
784
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
788
|
-
[1m[36mUser
|
789
|
-
[1m[35m (
|
790
|
-
[1m[
|
791
|
-
[1m[35m (
|
785
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
786
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
787
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
788
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
789
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
790
|
+
[1m[36m (4.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
791
|
+
[1m[35m (4.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
792
792
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
793
|
-
[1m[35m (
|
794
|
-
|
795
|
-
|
796
|
-
Authenticating with gds_sso strategy
|
797
|
-
Completed in 8ms (ActiveRecord: 0.0ms)
|
798
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:01 +0000
|
799
|
-
Processing by ExampleController#restricted as JSON
|
800
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
801
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
793
|
+
[1m[35m (3.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
794
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
795
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
802
796
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
797
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
798
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
799
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
800
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
801
|
+
[1m[35m (0.1ms)[0m commit transaction
|
802
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:45 +0000
|
803
|
+
Processing by ExampleController#restricted as JSON
|
804
|
+
Completed in 34ms (ActiveRecord: 0.0ms)
|
805
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:45 +0000
|
806
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
807
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
808
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
809
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
803
810
|
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
804
|
-
[1m[36m (
|
811
|
+
[1m[36m (5.1ms)[0m [1mcommit transaction[0m
|
805
812
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
806
813
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
807
|
-
[1m[35m (0.
|
814
|
+
[1m[35m (0.0ms)[0m commit transaction
|
808
815
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
809
816
|
[1m[35m (0.1ms)[0m begin transaction
|
810
|
-
[1m[36m (0.
|
817
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
811
818
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
812
819
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
813
820
|
[1m[35m (0.1ms)[0m commit transaction
|
814
|
-
[1m[36m (0.
|
815
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id",
|
816
|
-
[1m[36m (
|
821
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
822
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
|
823
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
817
824
|
Rendered text template (0.0ms)
|
818
|
-
Completed 200 OK in
|
819
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
825
|
+
Completed 200 OK in 72ms (Views: 10.4ms | ActiveRecord: 10.1ms)
|
826
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:45 +0000
|
820
827
|
Processing by ExampleController#restricted as JSON
|
821
|
-
Completed in
|
822
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
828
|
+
Completed in 11ms (ActiveRecord: 0.0ms)
|
829
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:45 +0000
|
823
830
|
Processing by ExampleController#restricted as JSON
|
824
|
-
Completed in 23ms (ActiveRecord: 0.0ms)
|
825
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
826
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
827
831
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
828
832
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
829
833
|
[1m[35m (0.0ms)[0m commit transaction
|
@@ -839,503 +843,549 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
839
843
|
[1m[35m (0.0ms)[0m begin transaction
|
840
844
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
841
845
|
Rendered text template (0.0ms)
|
842
|
-
Completed 200 OK in
|
843
|
-
Started GET "/
|
844
|
-
Processing by ExampleController#
|
846
|
+
Completed 200 OK in 51ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
847
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
848
|
+
Processing by ExampleController#restricted as HTML
|
845
849
|
Authenticating with gds_sso strategy
|
846
850
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
847
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
848
|
-
Started GET "/auth/gds/callback?code=
|
851
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
852
|
+
Started GET "/auth/gds/callback?code=46491738f1aaddfb6b3ea4738a6a7bdec78409001eb1fa35af500390d47874a5&state=893a3935dda233f21be1a28576524d7ba723084adcf2bcd3" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
849
853
|
Processing by AuthenticationsController#callback as HTML
|
850
|
-
Parameters: {"code"=>"
|
854
|
+
Parameters: {"code"=>"46491738f1aaddfb6b3ea4738a6a7bdec78409001eb1fa35af500390d47874a5", "state"=>"893a3935dda233f21be1a28576524d7ba723084adcf2bcd3"}
|
851
855
|
Authenticating with gds_sso strategy
|
852
|
-
[1m[35mUser Load (0.
|
856
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
853
857
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
854
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id",
|
855
|
-
[1m[36m (
|
856
|
-
[1m[35m (0.
|
857
|
-
[1m[36m (0.
|
858
|
-
Redirected to http://www.example-client.com/
|
859
|
-
Completed 302 Found in
|
860
|
-
Started GET "/
|
861
|
-
Processing by ExampleController#
|
858
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 2]]
|
859
|
+
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
860
|
+
[1m[35m (0.0ms)[0m begin transaction
|
861
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
862
|
+
Redirected to http://www.example-client.com/restricted
|
863
|
+
Completed 302 Found in 10ms (ActiveRecord: 4.8ms)
|
864
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
865
|
+
Processing by ExampleController#restricted as HTML
|
862
866
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
863
867
|
Rendered text template (0.0ms)
|
864
|
-
Completed 200 OK in
|
865
|
-
Started GET "/
|
866
|
-
Processing by ExampleController#
|
868
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
869
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
870
|
+
Processing by ExampleController#restricted as HTML
|
867
871
|
Authenticating with gds_sso strategy
|
868
|
-
Completed in
|
869
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
870
|
-
Started GET "/auth/gds/callback?code=
|
872
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
873
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
874
|
+
Started GET "/auth/gds/callback?code=278b47d54129f3dd2bad638d0a46a7053f2c7be1b862e8ddff5cf33a23dd98e8&state=31513a37b3ea74a950c3de0164cc26a17715c2847b201edf" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
871
875
|
Processing by AuthenticationsController#callback as HTML
|
872
|
-
Parameters: {"code"=>"
|
876
|
+
Parameters: {"code"=>"278b47d54129f3dd2bad638d0a46a7053f2c7be1b862e8ddff5cf33a23dd98e8", "state"=>"31513a37b3ea74a950c3de0164cc26a17715c2847b201edf"}
|
873
877
|
Authenticating with gds_sso strategy
|
874
878
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
875
879
|
[1m[35m (0.1ms)[0m begin transaction
|
876
880
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
877
881
|
[1m[35m (0.0ms)[0m begin transaction
|
878
882
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
879
|
-
Redirected to http://www.example-client.com/
|
880
|
-
Completed 302 Found in
|
881
|
-
Started GET "/
|
882
|
-
Processing by ExampleController#
|
883
|
+
Redirected to http://www.example-client.com/restricted
|
884
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
|
885
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
886
|
+
Processing by ExampleController#restricted as HTML
|
883
887
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
884
888
|
Rendered text template (0.0ms)
|
885
889
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
886
|
-
Started GET "/" for 127.0.0.1 at 2019-07-
|
890
|
+
Started GET "/" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
887
891
|
Processing by ExampleController#index as HTML
|
888
892
|
Rendered text template (0.0ms)
|
889
893
|
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
890
|
-
Started GET "/
|
891
|
-
Processing by ExampleController#
|
894
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
895
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
892
896
|
Authenticating with gds_sso strategy
|
893
897
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
894
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
895
|
-
Started GET "/auth/gds/callback?code=
|
898
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
899
|
+
Started GET "/auth/gds/callback?code=a05dea05377b77097cf1d1a787a42a6a257fa8b649771b02480ec3639380f69c&state=f06d1e2b7dcee87954727a48556fe69ff1aad3ed826200dc" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
896
900
|
Processing by AuthenticationsController#callback as HTML
|
897
|
-
Parameters: {"code"=>"
|
901
|
+
Parameters: {"code"=>"a05dea05377b77097cf1d1a787a42a6a257fa8b649771b02480ec3639380f69c", "state"=>"f06d1e2b7dcee87954727a48556fe69ff1aad3ed826200dc"}
|
898
902
|
Authenticating with gds_sso strategy
|
899
|
-
[1m[36mUser Load (0.
|
903
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
900
904
|
[1m[35m (0.1ms)[0m begin transaction
|
901
|
-
[1m[36m (0.
|
905
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
902
906
|
[1m[35m (0.0ms)[0m begin transaction
|
903
907
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
904
|
-
Redirected to http://www.example-client.com/
|
905
|
-
Completed 302 Found in
|
906
|
-
Started GET "/
|
907
|
-
Processing by ExampleController#
|
908
|
-
[1m[35mUser Load (0.
|
908
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
909
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
910
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
911
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
912
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
909
913
|
Rendered text template (0.0ms)
|
910
|
-
Completed 200 OK in 1ms (Views: 0.
|
911
|
-
Started GET "/
|
912
|
-
Processing by ExampleController#
|
914
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
915
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
916
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
913
917
|
Authenticating with gds_sso strategy
|
914
918
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
915
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
916
|
-
Started GET "/auth/gds/callback?code=
|
919
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
920
|
+
Started GET "/auth/gds/callback?code=78fd4c0dfda27773d11b80e8a676f87bf352ea9dd6663a1cf982c7bfbf5da528&state=bc56e631805f2d03729c6768484c09c7a3d4062949f55aa3" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
917
921
|
Processing by AuthenticationsController#callback as HTML
|
918
|
-
Parameters: {"code"=>"
|
922
|
+
Parameters: {"code"=>"78fd4c0dfda27773d11b80e8a676f87bf352ea9dd6663a1cf982c7bfbf5da528", "state"=>"bc56e631805f2d03729c6768484c09c7a3d4062949f55aa3"}
|
919
923
|
Authenticating with gds_sso strategy
|
920
924
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
921
925
|
[1m[35m (0.1ms)[0m begin transaction
|
922
926
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
923
|
-
[1m[35m (0.
|
924
|
-
[1m[36m (0.
|
925
|
-
Redirected to http://www.example-client.com/
|
926
|
-
Completed 302 Found in
|
927
|
-
Started GET "/
|
928
|
-
Processing by ExampleController#
|
927
|
+
[1m[35m (0.0ms)[0m begin transaction
|
928
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
929
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
930
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
931
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
932
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
929
933
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
930
934
|
Rendered text template (0.0ms)
|
931
935
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
932
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
936
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
933
937
|
Processing by ExampleController#restricted as HTML
|
934
938
|
Authenticating with gds_sso strategy
|
935
939
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
936
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
937
|
-
Started GET "/auth/gds/callback?code=
|
940
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
941
|
+
Started GET "/auth/gds/callback?code=4ebaa83e246a308282e405b5fa0d67fd9b94a7ae97883460d2b3270ec6b0342b&state=d73a86aa2c6b4cb1d8311d775aac6d3c39010f11750115d3" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
938
942
|
Processing by AuthenticationsController#callback as HTML
|
939
|
-
Parameters: {"code"=>"
|
943
|
+
Parameters: {"code"=>"4ebaa83e246a308282e405b5fa0d67fd9b94a7ae97883460d2b3270ec6b0342b", "state"=>"d73a86aa2c6b4cb1d8311d775aac6d3c39010f11750115d3"}
|
940
944
|
Authenticating with gds_sso strategy
|
941
|
-
[1m[36mUser Load (0.
|
942
|
-
[1m[35m (0.
|
943
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
944
|
-
[1m[35m (0.1ms)[0m begin transaction
|
945
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
946
|
+
[1m[35m (0.0ms)[0m begin transaction
|
945
947
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
948
|
+
[1m[35m (0.0ms)[0m begin transaction
|
949
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
946
950
|
Redirected to http://www.example-client.com/restricted
|
947
|
-
Completed 302 Found in
|
948
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
951
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
952
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
949
953
|
Processing by ExampleController#restricted as HTML
|
950
954
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
951
955
|
Rendered text template (0.0ms)
|
952
|
-
Completed 200 OK in 1ms (Views: 0.
|
953
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
956
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
957
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
954
958
|
Processing by ExampleController#restricted as HTML
|
955
959
|
Authenticating with gds_sso strategy
|
956
960
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
957
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
958
|
-
Started GET "/auth/gds/callback?code=
|
961
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
962
|
+
Started GET "/auth/gds/callback?code=72595e36995298969be3e0e57c14e3bc110dc3352ee056555ee1a96621fe2fd5&state=68cbe4da58fb5978ead14a7cee63f44dc10f9d30258f42b1" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
959
963
|
Processing by AuthenticationsController#callback as HTML
|
960
|
-
Parameters: {"code"=>"
|
964
|
+
Parameters: {"code"=>"72595e36995298969be3e0e57c14e3bc110dc3352ee056555ee1a96621fe2fd5", "state"=>"68cbe4da58fb5978ead14a7cee63f44dc10f9d30258f42b1"}
|
961
965
|
Authenticating with gds_sso strategy
|
962
966
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
963
967
|
[1m[35m (0.1ms)[0m begin transaction
|
964
968
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
965
|
-
[1m[35m (0.
|
969
|
+
[1m[35m (0.0ms)[0m begin transaction
|
966
970
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
967
971
|
Redirected to http://www.example-client.com/restricted
|
968
972
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
969
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
973
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
970
974
|
Processing by ExampleController#restricted as HTML
|
971
975
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
972
976
|
Rendered text template (0.0ms)
|
973
977
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
974
|
-
|
975
|
-
[1m[35m (0.0ms)[0m begin transaction
|
976
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 1]]
|
977
|
-
[1m[35m (7.2ms)[0m commit transaction
|
978
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
978
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:47 +0000
|
979
979
|
Processing by ExampleController#restricted as HTML
|
980
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
981
980
|
Authenticating with gds_sso strategy
|
982
|
-
Completed in
|
983
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
984
|
-
Started GET "/auth/gds/callback?code=
|
981
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
982
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:47 +0000
|
983
|
+
Started GET "/auth/gds/callback?code=5e3aae247f586f8b66e8b3435c40eadd94306eb1228b18083c23a7f5c6505de0&state=9877cea207b7932fac6c73e7476c0e8d556fc58b89f482e0" for 127.0.0.1 at 2019-07-20 07:31:47 +0000
|
985
984
|
Processing by AuthenticationsController#callback as HTML
|
986
|
-
Parameters: {"code"=>"
|
985
|
+
Parameters: {"code"=>"5e3aae247f586f8b66e8b3435c40eadd94306eb1228b18083c23a7f5c6505de0", "state"=>"9877cea207b7932fac6c73e7476c0e8d556fc58b89f482e0"}
|
987
986
|
Authenticating with gds_sso strategy
|
988
|
-
[1m[
|
989
|
-
[1m[
|
990
|
-
[1m[
|
991
|
-
[1m[
|
992
|
-
[1m[
|
993
|
-
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
987
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
988
|
+
[1m[35m (0.1ms)[0m begin transaction
|
989
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
990
|
+
[1m[35m (0.1ms)[0m begin transaction
|
991
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
994
992
|
Redirected to http://www.example-client.com/restricted
|
995
|
-
Completed 302 Found in
|
996
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
993
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
994
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:47 +0000
|
997
995
|
Processing by ExampleController#restricted as HTML
|
998
996
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
999
997
|
Rendered text template (0.0ms)
|
1000
998
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1001
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
999
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1002
1000
|
Processing by ExampleController#restricted as HTML
|
1003
1001
|
Authenticating with gds_sso strategy
|
1004
1002
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1005
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
1006
|
-
Started GET "/auth/gds/callback?code=
|
1003
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1004
|
+
Started GET "/auth/gds/callback?code=ba3c185aaf43f4e8cc0a3cdbb5b2aaa3b937f1851a05cf9733b34599c5e0deb8&state=ffd2d8c355fb34666ae467cd78ac26b51034736fbdb2c38c" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1007
1005
|
Processing by AuthenticationsController#callback as HTML
|
1008
|
-
Parameters: {"code"=>"
|
1006
|
+
Parameters: {"code"=>"ba3c185aaf43f4e8cc0a3cdbb5b2aaa3b937f1851a05cf9733b34599c5e0deb8", "state"=>"ffd2d8c355fb34666ae467cd78ac26b51034736fbdb2c38c"}
|
1009
1007
|
Authenticating with gds_sso strategy
|
1010
1008
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1011
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1012
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1013
1009
|
[1m[35m (0.0ms)[0m begin transaction
|
1014
1010
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1011
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1012
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1015
1013
|
Redirected to http://www.example-client.com/restricted
|
1016
|
-
Completed 302 Found in
|
1017
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1014
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1015
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1018
1016
|
Processing by ExampleController#restricted as HTML
|
1019
1017
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1020
1018
|
Rendered text template (0.0ms)
|
1021
|
-
Completed 200 OK in 1ms (Views: 0.
|
1022
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1019
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1020
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:21:47 +0000
|
1023
1021
|
Processing by ExampleController#restricted as HTML
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1022
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1023
|
+
Rendered text template (0.0ms)
|
1024
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1025
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1028
1026
|
Processing by ExampleController#restricted as HTML
|
1029
1027
|
Authenticating with gds_sso strategy
|
1030
1028
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1031
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
1032
|
-
Started GET "/auth/gds/callback?code=
|
1029
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1030
|
+
Started GET "/auth/gds/callback?code=1dfe530737f211bd9a913fa02b68fd7f638a3be297beb3402524249abdfa449c&state=b379062b6bb4c84dbf5f0704e2c8064fef216b66389dce09" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1033
1031
|
Processing by AuthenticationsController#callback as HTML
|
1034
|
-
Parameters: {"code"=>"
|
1032
|
+
Parameters: {"code"=>"1dfe530737f211bd9a913fa02b68fd7f638a3be297beb3402524249abdfa449c", "state"=>"b379062b6bb4c84dbf5f0704e2c8064fef216b66389dce09"}
|
1035
1033
|
Authenticating with gds_sso strategy
|
1036
|
-
[1m[
|
1037
|
-
[1m[
|
1038
|
-
[1m[
|
1039
|
-
[1m[
|
1040
|
-
[1m[
|
1034
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1035
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1036
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1037
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1038
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1041
1039
|
Redirected to http://www.example-client.com/restricted
|
1042
|
-
Completed 302 Found in
|
1043
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1040
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1041
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1044
1042
|
Processing by ExampleController#restricted as HTML
|
1045
|
-
[1m[
|
1043
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1046
1044
|
Rendered text template (0.0ms)
|
1047
1045
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1048
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1046
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:47 +0000
|
1047
|
+
Processing by ExampleController#restricted as HTML
|
1048
|
+
Authenticating with gds_sso strategy
|
1049
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1050
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:47 +0000
|
1051
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1049
1052
|
Processing by ExampleController#restricted as HTML
|
1050
1053
|
Authenticating with gds_sso strategy
|
1051
1054
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1052
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19
|
1053
|
-
Started GET "/auth/gds/callback?code=
|
1055
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1056
|
+
Started GET "/auth/gds/callback?code=cc580a0f368a72a4ebcbb72025608f86068af9270475f95b901115159cf3f8f2&state=5220d96d9701fe227cc6f8979240d05dc630cfdf4bfcc3d6" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1054
1057
|
Processing by AuthenticationsController#callback as HTML
|
1055
|
-
Parameters: {"code"=>"
|
1058
|
+
Parameters: {"code"=>"cc580a0f368a72a4ebcbb72025608f86068af9270475f95b901115159cf3f8f2", "state"=>"5220d96d9701fe227cc6f8979240d05dc630cfdf4bfcc3d6"}
|
1056
1059
|
Authenticating with gds_sso strategy
|
1057
|
-
[1m[
|
1058
|
-
[1m[
|
1059
|
-
[1m[
|
1060
|
-
[1m[
|
1061
|
-
[1m[
|
1060
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1061
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1062
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1063
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1064
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1062
1065
|
Redirected to http://www.example-client.com/restricted
|
1063
|
-
Completed 302 Found in
|
1064
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19
|
1066
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1067
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1065
1068
|
Processing by ExampleController#restricted as HTML
|
1066
|
-
[1m[
|
1069
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1067
1070
|
Rendered text template (0.0ms)
|
1068
1071
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1069
|
-
|
1072
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
1073
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1074
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
|
1075
|
+
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
1076
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1070
1077
|
Processing by ExampleController#restricted as HTML
|
1078
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1071
1079
|
Authenticating with gds_sso strategy
|
1072
|
-
Completed in
|
1073
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
1074
|
-
Started GET "/auth/gds/callback?code=
|
1080
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
1081
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1082
|
+
Started GET "/auth/gds/callback?code=bb9e4a1274526f706447b6fa318b3560a622f09c28290d9c47c7f5173c002925&state=cc568eb11fc265c2c4a6eb6a5bca4b08923b83dca0c7fb66" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1075
1083
|
Processing by AuthenticationsController#callback as HTML
|
1076
|
-
Parameters: {"code"=>"
|
1084
|
+
Parameters: {"code"=>"bb9e4a1274526f706447b6fa318b3560a622f09c28290d9c47c7f5173c002925", "state"=>"cc568eb11fc265c2c4a6eb6a5bca4b08923b83dca0c7fb66"}
|
1077
1085
|
Authenticating with gds_sso strategy
|
1078
1086
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1079
1087
|
[1m[35m (0.1ms)[0m begin transaction
|
1080
|
-
[1m[36m (0.2ms)[0m [1mcommit transaction[0m
|
1081
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1082
1088
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1089
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1090
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
1091
|
+
[1m[35m (4.5ms)[0m commit transaction
|
1083
1092
|
Redirected to http://www.example-client.com/restricted
|
1084
|
-
Completed 302 Found in
|
1085
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1093
|
+
Completed 302 Found in 8ms (ActiveRecord: 4.9ms)
|
1094
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1086
1095
|
Processing by ExampleController#restricted as HTML
|
1087
|
-
[1m[
|
1096
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1088
1097
|
Rendered text template (0.0ms)
|
1089
1098
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1090
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19
|
1099
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1091
1100
|
Processing by ExampleController#restricted as HTML
|
1092
|
-
|
1093
|
-
|
1094
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1095
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
1096
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "user@example.com"]]
|
1101
|
+
Authenticating with gds_sso strategy
|
1102
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1097
1103
|
[1m[35m (0.1ms)[0m begin transaction
|
1098
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions"
|
1099
|
-
[1m[35m (
|
1100
|
-
[1m[
|
1101
|
-
[1m[
|
1102
|
-
[1m[36m (
|
1104
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35190"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1105
|
+
[1m[35m (5.4ms)[0m commit transaction
|
1106
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1107
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36517"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1108
|
+
[1m[36m (7.9ms)[0m [1mcommit transaction[0m
|
1109
|
+
Processing by Api::UserController#reauth as HTML
|
1110
|
+
Parameters: {"uid"=>"a1s2d35190"}
|
1111
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35190"]]
|
1112
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1113
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
|
1114
|
+
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
1115
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.4ms)
|
1116
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1117
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1118
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39409"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1119
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
1103
1120
|
[1m[35m (0.0ms)[0m begin transaction
|
1104
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
1105
|
-
[1m[35m (
|
1106
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1107
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34711"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1108
|
-
[1m[36m (16.5ms)[0m [1mcommit transaction[0m
|
1121
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d37934"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1122
|
+
[1m[35m (3.6ms)[0m commit transaction
|
1109
1123
|
Processing by Api::UserController#reauth as HTML
|
1110
|
-
Parameters: {"uid"=>"
|
1124
|
+
Parameters: {"uid"=>"a1s2d39409"}
|
1111
1125
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1112
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master
|
1126
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1113
1127
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1114
|
-
Completed 403 Forbidden in
|
1115
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1116
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d33429"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1117
|
-
[1m[35m (42.8ms)[0m commit transaction
|
1128
|
+
Completed 403 Forbidden in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
1118
1129
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1119
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
1120
|
-
[1m[36m (
|
1121
|
-
|
1122
|
-
|
1123
|
-
[1m[
|
1124
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1125
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
|
1126
|
-
[1m[36m (5.7ms)[0m [1mcommit transaction[0m
|
1127
|
-
Completed 200 OK in 8ms (ActiveRecord: 6.0ms)
|
1128
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
1129
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1130
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38152"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1131
|
-
[1m[36m (4.4ms)[0m [1mcommit transaction[0m
|
1132
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1133
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34363"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1134
|
-
[1m[35m (5.1ms)[0m commit transaction
|
1130
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34378"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1131
|
+
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
1132
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1133
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34681"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1134
|
+
[1m[35m (4.2ms)[0m commit transaction
|
1135
1135
|
Processing by Api::UserController#reauth as HTML
|
1136
1136
|
Parameters: {"uid"=>"nonexistent-user"}
|
1137
1137
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
1138
1138
|
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1139
1139
|
[1m[35m (0.0ms)[0m begin transaction
|
1140
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
1141
|
-
[1m[35m (
|
1140
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38945"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1141
|
+
[1m[35m (4.5ms)[0m commit transaction
|
1142
1142
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1143
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
1144
|
-
[1m[36m (3.
|
1143
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31389"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1144
|
+
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
1145
1145
|
Processing by Api::UserController#update as HTML
|
1146
|
-
Parameters: {"uid"=>"
|
1146
|
+
Parameters: {"uid"=>"a1s2d38945"}
|
1147
1147
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1148
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master
|
1148
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1149
1149
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1150
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
1151
|
-
[1m[35m (0.
|
1152
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
1153
|
-
[1m[35m (
|
1150
|
+
Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
1151
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1152
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31593"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1153
|
+
[1m[35m (3.6ms)[0m commit transaction
|
1154
1154
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1155
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
1156
|
-
[1m[36m (4.
|
1155
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35797"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1156
|
+
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
1157
1157
|
Processing by Api::UserController#update as HTML
|
1158
|
-
Parameters: {"uid"=>"
|
1159
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "
|
1160
|
-
[1m[36m (0.
|
1158
|
+
Parameters: {"uid"=>"a1s2d31593"}
|
1159
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d31593"]]
|
1160
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1161
1161
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 11]]
|
1162
|
-
[1m[36m (
|
1163
|
-
Completed 200 OK in
|
1162
|
+
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
1163
|
+
Completed 200 OK in 6ms (ActiveRecord: 3.8ms)
|
1164
1164
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 11]]
|
1165
|
-
[1m[36mUser Load (0.
|
1166
|
-
[1m[35m (0.
|
1167
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["email", "dummyapiuser@domain.com"], ["uid", "
|
1168
|
-
[1m[35m (
|
1165
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "dummyapiuser@domain.com"]]
|
1166
|
+
[1m[35m (0.3ms)[0m begin transaction
|
1167
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["email", "dummyapiuser@domain.com"], ["uid", "3224"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
1168
|
+
[1m[35m (3.9ms)[0m commit transaction
|
1169
1169
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1170
1170
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
|
1171
|
-
[1m[36m (
|
1171
|
+
[1m[36m (4.5ms)[0m [1mcommit transaction[0m
|
1172
1172
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1173
|
-
[1m[35m (1.
|
1174
|
-
[1m[35m (
|
1175
|
-
[1m[35m (
|
1173
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1174
|
+
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
1175
|
+
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1176
1176
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1177
1177
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1178
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
1179
|
-
[1m[35m (
|
1180
|
-
[1m[35m (
|
1178
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-07-19 11:26:54.144424"], ["updated_at", "2019-07-19 11:26:54.144424"]]
|
1179
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
1180
|
+
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1181
1181
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1182
1182
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1183
1183
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1184
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
1185
1184
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1186
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
1187
|
-
[1m[35m (
|
1185
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37605"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1186
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1188
1187
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1189
|
-
[1m[36mUser
|
1190
|
-
[1m[35m (3.
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
[1m[
|
1188
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31300"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1189
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
1190
|
+
Processing by Api::UserController#update as HTML
|
1191
|
+
Parameters: {"uid"=>"a1s2d37605"}
|
1192
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1193
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1194
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1195
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1196
|
+
Completed 403 Forbidden in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
|
1197
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1198
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39703"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1199
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
1200
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1201
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33001"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1202
|
+
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
1203
|
+
Processing by Api::UserController#update as HTML
|
1204
|
+
Parameters: {"uid"=>"a1s2d39703"}
|
1205
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d39703"], ["LIMIT", 1]]
|
1199
1206
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1200
|
-
[1m[36mUser
|
1201
|
-
[1m[35m (
|
1202
|
-
|
1207
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 3]]
|
1208
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1209
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.2ms)
|
1210
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
1203
1211
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1204
|
-
[1m[
|
1205
|
-
[1m[
|
1212
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37686"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1213
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
1214
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1215
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34277"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1216
|
+
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
1217
|
+
Processing by Api::UserController#reauth as HTML
|
1218
|
+
Parameters: {"uid"=>"a1s2d37686"}
|
1219
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d37686"], ["LIMIT", 1]]
|
1206
1220
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1207
|
-
[1m[
|
1208
|
-
[1m[
|
1221
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 5]]
|
1222
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1223
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.1ms)
|
1224
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1209
1225
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1210
|
-
[1m[
|
1226
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37925"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1227
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1211
1228
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1212
|
-
[1m[36mUser
|
1213
|
-
[1m[35m (
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
Processing by ExampleController#restricted as JSON
|
1222
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1229
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34651"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1230
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
1231
|
+
Processing by Api::UserController#reauth as HTML
|
1232
|
+
Parameters: {"uid"=>"a1s2d37925"}
|
1233
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1234
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1235
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.8ms)
|
1236
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1237
|
+
Completed 403 Forbidden in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
1223
1238
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1224
|
-
[1m[
|
1225
|
-
[1m[
|
1239
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34735"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1240
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1241
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1242
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38075"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1243
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
1244
|
+
Processing by Api::UserController#reauth as HTML
|
1245
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1246
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
1247
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1248
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
1226
1249
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1227
|
-
[1m[
|
1228
|
-
[1m[
|
1250
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "8130"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1251
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1229
1252
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1230
|
-
[1m[
|
1231
|
-
[1m[
|
1253
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 11]]
|
1254
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
1255
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1256
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
1257
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1258
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1259
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
1260
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1232
1261
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1233
1262
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1263
|
+
Started GET "/" for 127.0.0.1 at 2019-07-19 11:26:54 +0000
|
1264
|
+
Processing by ExampleController#index as HTML
|
1265
|
+
Rendering text template
|
1266
|
+
Rendered text template (0.0ms)
|
1267
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
1268
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:54 +0000
|
1269
|
+
Processing by ExampleController#restricted as HTML
|
1270
|
+
Authenticating with gds_sso strategy
|
1271
|
+
Completed in 4ms (ActiveRecord: 0.0ms)
|
1272
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:54 +0000
|
1273
|
+
Started GET "/auth/gds/callback?code=d91419d9d1ed524cf71a9ecab46b4ec9eb27a8a8ca600b6b585c399c4e9c9c7f&state=a6ba4a3ae92f7ea8aaf8278b6e9833f5064b46ae1aa26217" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1274
|
+
Processing by AuthenticationsController#callback as HTML
|
1275
|
+
Parameters: {"code"=>"d91419d9d1ed524cf71a9ecab46b4ec9eb27a8a8ca600b6b585c399c4e9c9c7f", "state"=>"a6ba4a3ae92f7ea8aaf8278b6e9833f5064b46ae1aa26217"}
|
1276
|
+
Authenticating with gds_sso strategy
|
1277
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1278
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1279
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1280
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
1281
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
1234
1282
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1235
|
-
[1m[
|
1283
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
1284
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
1285
|
+
Redirected to http://www.example-client.com/restricted
|
1286
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.3ms)
|
1287
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1288
|
+
Processing by ExampleController#restricted as HTML
|
1289
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1236
1290
|
Rendering text template
|
1237
1291
|
Rendered text template (0.0ms)
|
1238
|
-
Completed 200 OK in
|
1239
|
-
Started GET "/
|
1240
|
-
Processing by ExampleController#restricted as JSON
|
1241
|
-
Completed in 13ms (ActiveRecord: 0.0ms)
|
1242
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
|
1292
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1293
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1243
1294
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1244
1295
|
Authenticating with gds_sso strategy
|
1245
1296
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1246
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
1247
|
-
Started GET "/auth/gds/callback?code=
|
1297
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1298
|
+
Started GET "/auth/gds/callback?code=5dc889012262516e49c995500209e1100a2a9789c0ef30c2832dd509e420f9bb&state=99bcb84816bcf2a092aa87f8b1948b620e8417c3af17ad42" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1248
1299
|
Processing by AuthenticationsController#callback as HTML
|
1249
|
-
Parameters: {"code"=>"
|
1300
|
+
Parameters: {"code"=>"5dc889012262516e49c995500209e1100a2a9789c0ef30c2832dd509e420f9bb", "state"=>"99bcb84816bcf2a092aa87f8b1948b620e8417c3af17ad42"}
|
1250
1301
|
Authenticating with gds_sso strategy
|
1251
1302
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1252
1303
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1253
|
-
[1m[
|
1254
|
-
[1m[35m (7.7ms)[0m [1m[36mcommit transaction[0m
|
1304
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1255
1305
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1256
1306
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1257
1307
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1258
|
-
Completed 302 Found in
|
1259
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-
|
1308
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1309
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1260
1310
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1261
|
-
[1m[36mUser Load (0.
|
1311
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1262
1312
|
Rendering text template
|
1263
1313
|
Rendered text template (0.0ms)
|
1264
|
-
Completed 200 OK in 3ms (Views: 0.
|
1265
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-
|
1314
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.1ms)
|
1315
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1266
1316
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1267
1317
|
Authenticating with gds_sso strategy
|
1268
1318
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1269
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
1270
|
-
Started GET "/auth/gds/callback?code=
|
1319
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1320
|
+
Started GET "/auth/gds/callback?code=91c0c976c74c6be97ea3ee4de5129873b52c146817592b0bb7cc939fe716d283&state=b837df18c315ea5f940db30a0a4d4160c751ebc654148a13" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1271
1321
|
Processing by AuthenticationsController#callback as HTML
|
1272
|
-
Parameters: {"code"=>"
|
1322
|
+
Parameters: {"code"=>"91c0c976c74c6be97ea3ee4de5129873b52c146817592b0bb7cc939fe716d283", "state"=>"b837df18c315ea5f940db30a0a4d4160c751ebc654148a13"}
|
1273
1323
|
Authenticating with gds_sso strategy
|
1274
1324
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1275
1325
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1276
|
-
[1m[35m (0.
|
1326
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1277
1327
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1278
|
-
[1m[35m (0.
|
1328
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1279
1329
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1280
|
-
Completed 302 Found in
|
1281
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-
|
1330
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
1331
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1282
1332
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1283
1333
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1284
1334
|
Rendering text template
|
1285
1335
|
Rendered text template (0.0ms)
|
1286
|
-
Completed 200 OK in
|
1287
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1336
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1337
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1288
1338
|
Processing by ExampleController#restricted as HTML
|
1289
1339
|
Authenticating with gds_sso strategy
|
1290
|
-
Completed in
|
1291
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
1292
|
-
Started GET "/auth/gds/callback?code=
|
1340
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1341
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1342
|
+
Started GET "/auth/gds/callback?code=4ca028d7ee7b476394cbf8bf9ac445fbea75af04b456a5325a95ee72c4757dd6&state=2a2e2707e608c0f8fa30758bfb18eeff968f748fa37e944d" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1293
1343
|
Processing by AuthenticationsController#callback as HTML
|
1294
|
-
Parameters: {"code"=>"
|
1344
|
+
Parameters: {"code"=>"4ca028d7ee7b476394cbf8bf9ac445fbea75af04b456a5325a95ee72c4757dd6", "state"=>"2a2e2707e608c0f8fa30758bfb18eeff968f748fa37e944d"}
|
1295
1345
|
Authenticating with gds_sso strategy
|
1296
|
-
[1m[36mUser Load (0.
|
1297
|
-
[1m[35m (0.
|
1298
|
-
[1m[35m (0.
|
1299
|
-
[1m[35m (0.
|
1346
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1347
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1348
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1349
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1300
1350
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1301
1351
|
Redirected to http://www.example-client.com/restricted
|
1302
|
-
Completed 302 Found in
|
1303
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1352
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1353
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1304
1354
|
Processing by ExampleController#restricted as HTML
|
1305
1355
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1306
1356
|
Rendering text template
|
1307
1357
|
Rendered text template (0.0ms)
|
1308
|
-
Completed 200 OK in
|
1309
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1358
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1359
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1310
1360
|
Processing by ExampleController#restricted as HTML
|
1311
1361
|
Authenticating with gds_sso strategy
|
1312
1362
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1313
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
1314
|
-
Started GET "/auth/gds/callback?code=
|
1363
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1364
|
+
Started GET "/auth/gds/callback?code=d88d75aa083d9084c03adcaab9b2d4d62782d19480f8db93eb97f6df90460cc9&state=1bb6e3d5c333b4344918ce4a167186442ec76644e9cd0bdc" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1315
1365
|
Processing by AuthenticationsController#callback as HTML
|
1316
|
-
Parameters: {"code"=>"
|
1366
|
+
Parameters: {"code"=>"d88d75aa083d9084c03adcaab9b2d4d62782d19480f8db93eb97f6df90460cc9", "state"=>"1bb6e3d5c333b4344918ce4a167186442ec76644e9cd0bdc"}
|
1317
1367
|
Authenticating with gds_sso strategy
|
1318
1368
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1319
|
-
[1m[35m (0.
|
1369
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1370
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1371
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1320
1372
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1321
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1322
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1323
1373
|
Redirected to http://www.example-client.com/restricted
|
1324
|
-
Completed 302 Found in
|
1325
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1374
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1375
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1326
1376
|
Processing by ExampleController#restricted as HTML
|
1327
1377
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1328
1378
|
Rendering text template
|
1329
1379
|
Rendered text template (0.0ms)
|
1330
|
-
Completed 200 OK in
|
1331
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1380
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1381
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1332
1382
|
Processing by ExampleController#restricted as HTML
|
1333
1383
|
Authenticating with gds_sso strategy
|
1334
1384
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1335
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
1336
|
-
Started GET "/auth/gds/callback?code=
|
1385
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1386
|
+
Started GET "/auth/gds/callback?code=dcf7afaee1cf9dda09ad071b0dde16aef6f0311221c5816222b4df37dcab910c&state=1c7258e1dd0b5e5a44eded341edd52b57134b295727962dd" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
|
1337
1387
|
Processing by AuthenticationsController#callback as HTML
|
1338
|
-
Parameters: {"code"=>"
|
1388
|
+
Parameters: {"code"=>"dcf7afaee1cf9dda09ad071b0dde16aef6f0311221c5816222b4df37dcab910c", "state"=>"1c7258e1dd0b5e5a44eded341edd52b57134b295727962dd"}
|
1339
1389
|
Authenticating with gds_sso strategy
|
1340
1390
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1341
1391
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
@@ -1343,236 +1393,186 @@ Authenticating with gds_sso strategy
|
|
1343
1393
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1344
1394
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1345
1395
|
Redirected to http://www.example-client.com/restricted
|
1346
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1347
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1396
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
1397
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1348
1398
|
Processing by ExampleController#restricted as HTML
|
1349
|
-
[1m[36mUser Load (0.
|
1350
|
-
Rendering text template
|
1351
|
-
Rendered text template (0.0ms)
|
1352
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
1353
|
-
Started GET "/" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1354
|
-
Processing by ExampleController#index as HTML
|
1399
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1355
1400
|
Rendering text template
|
1356
1401
|
Rendered text template (0.0ms)
|
1357
|
-
Completed 200 OK in
|
1358
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1402
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1403
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:56 +0000
|
1359
1404
|
Processing by ExampleController#restricted as HTML
|
1360
1405
|
Authenticating with gds_sso strategy
|
1361
1406
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
1362
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
1363
|
-
Started GET "/auth/gds/callback?code=
|
1407
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:56 +0000
|
1408
|
+
Started GET "/auth/gds/callback?code=cf0e35f4d703af8d490e8d8fbf87f29d04ad1c6f031884dbaf14a94a5dd6059d&state=3729185ec81911c097e929fcf60705b07a97c37d51fad8f7" for 127.0.0.1 at 2019-07-20 07:31:56 +0000
|
1364
1409
|
Processing by AuthenticationsController#callback as HTML
|
1365
|
-
Parameters: {"code"=>"
|
1410
|
+
Parameters: {"code"=>"cf0e35f4d703af8d490e8d8fbf87f29d04ad1c6f031884dbaf14a94a5dd6059d", "state"=>"3729185ec81911c097e929fcf60705b07a97c37d51fad8f7"}
|
1366
1411
|
Authenticating with gds_sso strategy
|
1367
|
-
[1m[36mUser Load (0.
|
1368
|
-
[1m[35m (0.
|
1412
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1413
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1369
1414
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1370
1415
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1371
1416
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1372
1417
|
Redirected to http://www.example-client.com/restricted
|
1373
|
-
Completed 302 Found in
|
1374
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1418
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1419
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:56 +0000
|
1375
1420
|
Processing by ExampleController#restricted as HTML
|
1376
1421
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1377
1422
|
Rendering text template
|
1378
1423
|
Rendered text template (0.0ms)
|
1379
|
-
Completed 200 OK in
|
1380
|
-
|
1381
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1382
|
-
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
1383
|
-
[1m[35m (23.3ms)[0m [1m[36mcommit transaction[0m
|
1384
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1424
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1425
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1385
1426
|
Processing by ExampleController#restricted as HTML
|
1386
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1387
1427
|
Authenticating with gds_sso strategy
|
1388
|
-
Completed in
|
1389
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
1390
|
-
Started GET "/auth/gds/callback?code=
|
1428
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1429
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1430
|
+
Started GET "/auth/gds/callback?code=b7d5b81e4754fa04645a68efe8b0d2ed1c619937c59bf2057e6bf0a6cd90d8c1&state=81466a51d136642f1f288bb8f27337d2c4cc5c86ecfd1460" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1391
1431
|
Processing by AuthenticationsController#callback as HTML
|
1392
|
-
Parameters: {"code"=>"
|
1432
|
+
Parameters: {"code"=>"b7d5b81e4754fa04645a68efe8b0d2ed1c619937c59bf2057e6bf0a6cd90d8c1", "state"=>"81466a51d136642f1f288bb8f27337d2c4cc5c86ecfd1460"}
|
1393
1433
|
Authenticating with gds_sso strategy
|
1394
|
-
[1m[36mUser Load (0.
|
1434
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1395
1435
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1396
|
-
[1m[35m (0.
|
1436
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1397
1437
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1398
|
-
[1m[
|
1399
|
-
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
1438
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1400
1439
|
Redirected to http://www.example-client.com/restricted
|
1401
|
-
Completed 302 Found in
|
1402
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1440
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1441
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1403
1442
|
Processing by ExampleController#restricted as HTML
|
1404
|
-
[1m[36mUser Load (0.
|
1443
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1405
1444
|
Rendering text template
|
1406
1445
|
Rendered text template (0.0ms)
|
1407
|
-
Completed 200 OK in
|
1408
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1446
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1447
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:56 +0000
|
1448
|
+
Processing by ExampleController#restricted as HTML
|
1449
|
+
Authenticating with gds_sso strategy
|
1450
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1451
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:56 +0000
|
1452
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1409
1453
|
Processing by ExampleController#restricted as HTML
|
1410
1454
|
Authenticating with gds_sso strategy
|
1411
1455
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1412
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
1413
|
-
Started GET "/auth/gds/callback?code=
|
1456
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1457
|
+
Started GET "/auth/gds/callback?code=32df99fa134867a69e7dff16854ace74bee9e80e91d60bd530b5e6a3e501a050&state=7ef5b5a430660affcb058778e266b0bda9b0339ef48c5e15" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1414
1458
|
Processing by AuthenticationsController#callback as HTML
|
1415
|
-
Parameters: {"code"=>"
|
1459
|
+
Parameters: {"code"=>"32df99fa134867a69e7dff16854ace74bee9e80e91d60bd530b5e6a3e501a050", "state"=>"7ef5b5a430660affcb058778e266b0bda9b0339ef48c5e15"}
|
1416
1460
|
Authenticating with gds_sso strategy
|
1417
1461
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1418
|
-
[1m[35m (0.
|
1462
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1419
1463
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1420
1464
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1421
1465
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1422
1466
|
Redirected to http://www.example-client.com/restricted
|
1423
1467
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1424
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1468
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1425
1469
|
Processing by ExampleController#restricted as HTML
|
1426
1470
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1427
1471
|
Rendering text template
|
1428
1472
|
Rendered text template (0.0ms)
|
1429
|
-
Completed 200 OK in
|
1430
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1473
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1474
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:21:56 +0000
|
1431
1475
|
Processing by ExampleController#restricted as HTML
|
1432
1476
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1433
1477
|
Rendering text template
|
1434
1478
|
Rendered text template (0.0ms)
|
1435
1479
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1436
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1480
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1437
1481
|
Processing by ExampleController#restricted as HTML
|
1438
1482
|
Authenticating with gds_sso strategy
|
1439
1483
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1440
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
1441
|
-
Started GET "/auth/gds/callback?code=
|
1484
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1485
|
+
Started GET "/auth/gds/callback?code=c0b01132a50a82493bc6e3df15541f70d8aad7723c56eaa2cfbec1e585ccdf88&state=2bcc8baf563dd7cdb8b615cecd3004a3cc865f6c678c965a" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1442
1486
|
Processing by AuthenticationsController#callback as HTML
|
1443
|
-
Parameters: {"code"=>"
|
1487
|
+
Parameters: {"code"=>"c0b01132a50a82493bc6e3df15541f70d8aad7723c56eaa2cfbec1e585ccdf88", "state"=>"2bcc8baf563dd7cdb8b615cecd3004a3cc865f6c678c965a"}
|
1444
1488
|
Authenticating with gds_sso strategy
|
1445
|
-
[1m[36mUser Load (0.
|
1489
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1446
1490
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1447
1491
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1448
|
-
[1m[35m (0.
|
1492
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1449
1493
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1450
1494
|
Redirected to http://www.example-client.com/restricted
|
1451
|
-
Completed 302 Found in
|
1452
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1495
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1496
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1453
1497
|
Processing by ExampleController#restricted as HTML
|
1454
1498
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1455
1499
|
Rendering text template
|
1456
1500
|
Rendered text template (0.0ms)
|
1457
|
-
Completed 200 OK in
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
Started GET "/
|
1463
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1501
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1502
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1503
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1504
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 13]]
|
1505
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
1506
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1464
1507
|
Processing by ExampleController#restricted as HTML
|
1508
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1465
1509
|
Authenticating with gds_sso strategy
|
1466
|
-
Completed in
|
1467
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-
|
1468
|
-
Started GET "/auth/gds/callback?code=
|
1510
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
1511
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1512
|
+
Started GET "/auth/gds/callback?code=d989689c488ffa44762c71b2bbe3aa26bfb11739a18d7025faf4d1341ac17c1a&state=590e39ae909689a98c4ee001cddccb689e9b825e8d10628f" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1469
1513
|
Processing by AuthenticationsController#callback as HTML
|
1470
|
-
Parameters: {"code"=>"
|
1514
|
+
Parameters: {"code"=>"d989689c488ffa44762c71b2bbe3aa26bfb11739a18d7025faf4d1341ac17c1a", "state"=>"590e39ae909689a98c4ee001cddccb689e9b825e8d10628f"}
|
1471
1515
|
Authenticating with gds_sso strategy
|
1472
|
-
[1m[36mUser Load (0.
|
1516
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1473
1517
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1474
|
-
[1m[35m (0.
|
1518
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1475
1519
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1476
|
-
[1m[
|
1520
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
1521
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1477
1522
|
Redirected to http://www.example-client.com/restricted
|
1478
|
-
Completed 302 Found in
|
1479
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-
|
1523
|
+
Completed 302 Found in 9ms (ActiveRecord: 5.8ms)
|
1524
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1480
1525
|
Processing by ExampleController#restricted as HTML
|
1481
1526
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1482
1527
|
Rendering text template
|
1483
1528
|
Rendered text template (0.0ms)
|
1484
1529
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1485
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19
|
1530
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1486
1531
|
Processing by ExampleController#restricted as HTML
|
1487
1532
|
Authenticating with gds_sso strategy
|
1488
1533
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1489
|
-
Started GET "/
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1534
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1535
|
+
Processing by ExampleController#restricted as JSON
|
1536
|
+
Completed in 22ms (ActiveRecord: 0.0ms)
|
1537
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1538
|
+
Processing by ExampleController#restricted as JSON
|
1539
|
+
Completed in 12ms (ActiveRecord: 0.0ms)
|
1540
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1541
|
+
Processing by ExampleController#restricted as JSON
|
1542
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1543
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1544
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
1545
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
1494
1546
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1495
1547
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1496
1548
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1549
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1550
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1551
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1552
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1553
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1554
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1497
1555
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1498
1556
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1499
|
-
Redirected to http://www.example-client.com/restricted
|
1500
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
1501
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:14 +0000
|
1502
|
-
Processing by ExampleController#restricted as HTML
|
1503
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1504
1557
|
Rendering text template
|
1505
1558
|
Rendered text template (0.0ms)
|
1506
|
-
Completed 200 OK in
|
1507
|
-
|
1508
|
-
|
1509
|
-
[1m[
|
1510
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1511
|
-
[1m[35m (9.2ms)[0m [1m[36mcommit transaction[0m
|
1512
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1559
|
+
Completed 200 OK in 58ms (Views: 0.3ms | ActiveRecord: 4.9ms)
|
1560
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:57 +0000
|
1561
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1562
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1513
1563
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1514
1564
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1565
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1515
1566
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1516
|
-
[1m[
|
1517
|
-
[1m[
|
1518
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1519
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36507"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1520
|
-
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
1521
|
-
Processing by Api::UserController#reauth as HTML
|
1522
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1523
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
1524
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1525
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1526
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34120"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1527
|
-
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
1528
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1529
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3562"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1530
|
-
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
1531
|
-
Processing by Api::UserController#reauth as HTML
|
1532
|
-
Parameters: {"uid"=>"a1s2d34120"}
|
1533
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1534
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1535
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1536
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1537
|
-
Completed 403 Forbidden in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
1538
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1539
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38855"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1540
|
-
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1541
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1542
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37123"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1543
|
-
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
1544
|
-
Processing by Api::UserController#reauth as HTML
|
1545
|
-
Parameters: {"uid"=>"a1s2d38855"}
|
1546
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38855"], ["LIMIT", 1]]
|
1547
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1548
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 8]]
|
1549
|
-
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1550
|
-
Completed 200 OK in 7ms (ActiveRecord: 4.9ms)
|
1551
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
|
1552
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1553
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39348"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1554
|
-
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
1555
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1556
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31812"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1557
|
-
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1558
|
-
Processing by Api::UserController#update as HTML
|
1559
|
-
Parameters: {"uid"=>"a1s2d39348"}
|
1560
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d39348"], ["LIMIT", 1]]
|
1561
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1562
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 10]]
|
1563
|
-
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1564
|
-
Completed 200 OK in 8ms (ActiveRecord: 5.3ms)
|
1565
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
1567
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1568
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1566
1569
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1567
|
-
[1m[
|
1568
|
-
[1m[
|
1570
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1571
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1572
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
1573
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1569
1574
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1570
|
-
[1m[
|
1571
|
-
|
1572
|
-
|
1573
|
-
|
1574
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1575
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1576
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1577
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1578
|
-
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1575
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1576
|
+
Rendering text template
|
1577
|
+
Rendered text template (0.0ms)
|
1578
|
+
Completed 200 OK in 53ms (Views: 0.2ms | ActiveRecord: 0.9ms)
|