gds-sso 13.2.1 → 13.3.0
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/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +891 -891
- metadata +19 -19
data/spec/internal/log/test.log
CHANGED
@@ -1,1470 +1,1470 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (8.0ms)[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 (6.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
3
3
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
-
[1m[35m (4.
|
5
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
6
|
-
Processing by ExampleController#this_requires_signin_permission as
|
7
|
-
|
8
|
-
Completed in 7ms (ActiveRecord: 0.0ms)
|
9
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:53:58 +0000
|
10
|
-
Started GET "/auth/gds/callback?code=721756f3f38c8e7498458de57756d5325b49b0cce80193d6d826e77584ac26d7&state=264150b26af237a707ad2deaf3e795ace5f3fd22bf790aac" for 127.0.0.1 at 2017-12-06 08:54:09 +0000
|
11
|
-
Processing by AuthenticationsController#callback as HTML
|
12
|
-
Parameters: {"code"=>"721756f3f38c8e7498458de57756d5325b49b0cce80193d6d826e77584ac26d7", "state"=>"264150b26af237a707ad2deaf3e795ace5f3fd22bf790aac"}
|
13
|
-
Authenticating with gds_sso strategy
|
14
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
4
|
+
[1m[35m (4.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:24 +0000
|
6
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
7
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
15
8
|
[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"]]
|
16
9
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17
|
-
[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"]]
|
18
|
-
[1m[36m (
|
19
|
-
[1m[
|
20
|
-
[1m[
|
21
|
-
[1m[35m (
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
[1m[
|
10
|
+
[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]]
|
11
|
+
[1m[36m (7.0ms)[0m [1mcommit transaction[0m
|
12
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
13
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
16
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
18
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
19
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20
|
+
[1m[35m (0.0ms)[0m commit transaction
|
21
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
|
23
|
+
[1m[36m (5.4ms)[0m [1mcommit transaction[0m
|
27
24
|
Rendered text template (0.0ms)
|
28
|
-
Completed 200 OK in
|
29
|
-
Started GET "/
|
30
|
-
Processing by ExampleController#
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
Started GET "/auth/gds/callback?code=4a10bb215984b2245f5df8a06c762731df35b803f5ff632f948e32a9f7594803&state=49b42c5b01c7b7e1743b05d10989ac472a3b86deeadc99ed" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
35
|
-
Processing by AuthenticationsController#callback as HTML
|
36
|
-
Parameters: {"code"=>"4a10bb215984b2245f5df8a06c762731df35b803f5ff632f948e32a9f7594803", "state"=>"49b42c5b01c7b7e1743b05d10989ac472a3b86deeadc99ed"}
|
37
|
-
Authenticating with gds_sso strategy
|
25
|
+
Completed 200 OK in 305ms (Views: 4.0ms | ActiveRecord: 13.9ms)
|
26
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
|
27
|
+
Processing by ExampleController#restricted as JSON
|
28
|
+
Completed in 19ms (ActiveRecord: 0.0ms)
|
29
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
|
30
|
+
Processing by ExampleController#restricted as JSON
|
38
31
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
39
32
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40
33
|
[1m[35m (0.1ms)[0m commit transaction
|
34
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
35
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
41
38
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42
39
|
[1m[35m (0.0ms)[0m commit transaction
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
[1m[
|
48
|
-
Rendered text template (0.0ms)
|
49
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
50
|
-
Started GET "/" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
51
|
-
Processing by ExampleController#index as HTML
|
40
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
41
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
52
45
|
Rendered text template (0.0ms)
|
53
|
-
Completed 200 OK in
|
54
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
46
|
+
Completed 200 OK in 59ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
47
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
|
48
|
+
Processing by ExampleController#restricted as JSON
|
49
|
+
Completed in 20ms (ActiveRecord: 0.0ms)
|
50
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
|
55
51
|
Processing by ExampleController#restricted as HTML
|
56
52
|
Authenticating with gds_sso strategy
|
57
53
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
58
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
59
|
-
Started GET "/auth/gds/callback?code=
|
54
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
|
55
|
+
Started GET "/auth/gds/callback?code=d92f84011a50094b7aed7bd36bb2dc487a6d8d8d005cc75a11943725807db0da&state=f6c8c683cebd89d812d85a1c930e391a9aab133f146668e7" for 127.0.0.1 at 2017-12-08 09:16:34 +0000
|
60
56
|
Processing by AuthenticationsController#callback as HTML
|
61
|
-
Parameters: {"code"=>"
|
57
|
+
Parameters: {"code"=>"d92f84011a50094b7aed7bd36bb2dc487a6d8d8d005cc75a11943725807db0da", "state"=>"f6c8c683cebd89d812d85a1c930e391a9aab133f146668e7"}
|
62
58
|
Authenticating with gds_sso strategy
|
63
59
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
64
60
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
65
|
-
[1m[
|
66
|
-
[1m[36m (
|
67
|
-
[1m[35m (0.0ms)[0m
|
61
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 1]]
|
62
|
+
[1m[36m (14.5ms)[0m [1mcommit transaction[0m
|
63
|
+
[1m[35m (0.0ms)[0m begin transaction
|
64
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
68
65
|
Redirected to http://www.example-client.com/restricted
|
69
|
-
Completed 302 Found in
|
70
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
66
|
+
Completed 302 Found in 19ms (ActiveRecord: 15.0ms)
|
67
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:34 +0000
|
71
68
|
Processing by ExampleController#restricted as HTML
|
72
|
-
[1m[
|
69
|
+
[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"]]
|
73
70
|
Rendered text template (0.0ms)
|
74
|
-
Completed 200 OK in
|
75
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
71
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
72
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:34 +0000
|
76
73
|
Processing by ExampleController#restricted as HTML
|
77
74
|
Authenticating with gds_sso strategy
|
78
75
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
79
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
80
|
-
Started GET "/auth/gds/callback?code=
|
76
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:34 +0000
|
77
|
+
Started GET "/auth/gds/callback?code=af47fb9789619f5fc4bcffc8416a23b28e4f54616c0101453774849c36d0c8d6&state=c0bccfcfa703158f83a203f637344f9db2dde880e71eb7f9" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
81
78
|
Processing by AuthenticationsController#callback as HTML
|
82
|
-
Parameters: {"code"=>"
|
79
|
+
Parameters: {"code"=>"af47fb9789619f5fc4bcffc8416a23b28e4f54616c0101453774849c36d0c8d6", "state"=>"c0bccfcfa703158f83a203f637344f9db2dde880e71eb7f9"}
|
83
80
|
Authenticating with gds_sso strategy
|
84
|
-
[1m[
|
85
|
-
[1m[
|
86
|
-
[1m[
|
87
|
-
[1m[
|
88
|
-
[1m[
|
81
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
82
|
+
[1m[35m (0.1ms)[0m begin transaction
|
83
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
84
|
+
[1m[35m (0.0ms)[0m begin transaction
|
85
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
89
86
|
Redirected to http://www.example-client.com/restricted
|
90
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
91
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
87
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
88
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
92
89
|
Processing by ExampleController#restricted as HTML
|
93
|
-
[1m[
|
90
|
+
[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"]]
|
94
91
|
Rendered text template (0.0ms)
|
95
|
-
Completed 200 OK in 1ms (Views: 0.
|
96
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
92
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
93
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
97
94
|
Processing by ExampleController#restricted as HTML
|
98
95
|
Authenticating with gds_sso strategy
|
99
96
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
100
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
101
|
-
Started GET "/auth/gds/callback?code=
|
97
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
98
|
+
Started GET "/auth/gds/callback?code=78cb632dba24cdf695bf02e022bfda3f65682e9c5ebcd4c7c4328553a77eb64b&state=7371ad93aa4aa519139e15f9ed044f29aa8e83de479e2013" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
102
99
|
Processing by AuthenticationsController#callback as HTML
|
103
|
-
Parameters: {"code"=>"
|
100
|
+
Parameters: {"code"=>"78cb632dba24cdf695bf02e022bfda3f65682e9c5ebcd4c7c4328553a77eb64b", "state"=>"7371ad93aa4aa519139e15f9ed044f29aa8e83de479e2013"}
|
104
101
|
Authenticating with gds_sso strategy
|
105
|
-
[1m[
|
106
|
-
[1m[
|
107
|
-
[1m[
|
108
|
-
[1m[
|
109
|
-
[1m[
|
102
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
103
|
+
[1m[35m (0.1ms)[0m begin transaction
|
104
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
105
|
+
[1m[35m (0.0ms)[0m begin transaction
|
106
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
110
107
|
Redirected to http://www.example-client.com/restricted
|
111
108
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
112
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
109
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
113
110
|
Processing by ExampleController#restricted as HTML
|
114
|
-
[1m[
|
111
|
+
[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"]]
|
115
112
|
Rendered text template (0.0ms)
|
116
113
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
117
|
-
Started GET "/
|
118
|
-
Processing by ExampleController#
|
114
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
115
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
119
116
|
Authenticating with gds_sso strategy
|
120
117
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
121
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
122
|
-
Started GET "/auth/gds/callback?code=
|
118
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
119
|
+
Started GET "/auth/gds/callback?code=f3ad2550047bcd71f432a75c3869242cc365dddc0619d99fdaf096d62c22a309&state=aa253c92054a27a7cade43eea0c68465c648def1d4c66039" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
123
120
|
Processing by AuthenticationsController#callback as HTML
|
124
|
-
Parameters: {"code"=>"
|
121
|
+
Parameters: {"code"=>"f3ad2550047bcd71f432a75c3869242cc365dddc0619d99fdaf096d62c22a309", "state"=>"aa253c92054a27a7cade43eea0c68465c648def1d4c66039"}
|
125
122
|
Authenticating with gds_sso strategy
|
126
|
-
[1m[
|
127
|
-
[1m[
|
128
|
-
[1m[
|
129
|
-
[1m[
|
130
|
-
[1m[
|
131
|
-
Redirected to http://www.example-client.com/
|
123
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
124
|
+
[1m[35m (0.1ms)[0m begin transaction
|
125
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
126
|
+
[1m[35m (0.0ms)[0m begin transaction
|
127
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
128
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
132
129
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
133
|
-
Started GET "/
|
134
|
-
Processing by ExampleController#
|
135
|
-
[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"]]
|
136
|
-
Rendered text template (0.0ms)
|
137
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
138
|
-
[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"]]
|
139
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
140
|
-
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
|
141
|
-
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
142
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
|
143
|
-
Processing by ExampleController#restricted as HTML
|
130
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
131
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
144
132
|
[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"]]
|
133
|
+
Rendered text template (0.0ms)
|
134
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
135
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
136
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
145
137
|
Authenticating with gds_sso strategy
|
146
|
-
Completed in
|
147
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
148
|
-
Started GET "/auth/gds/callback?code=
|
138
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
139
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
140
|
+
Started GET "/auth/gds/callback?code=f01dd1d5ac1fe419835f1697ce79b98eb358155d22085876aaf1a8d63f8a0436&state=d6aad2ea181e08b726c78d9ad6856ef343f9c746f2325c0d" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
149
141
|
Processing by AuthenticationsController#callback as HTML
|
150
|
-
Parameters: {"code"=>"
|
142
|
+
Parameters: {"code"=>"f01dd1d5ac1fe419835f1697ce79b98eb358155d22085876aaf1a8d63f8a0436", "state"=>"d6aad2ea181e08b726c78d9ad6856ef343f9c746f2325c0d"}
|
151
143
|
Authenticating with gds_sso strategy
|
152
|
-
[1m[36mUser Load (0.
|
153
|
-
[1m[35m (0.1ms)[0m begin transaction
|
154
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
144
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
155
145
|
[1m[35m (0.1ms)[0m begin transaction
|
156
|
-
[1m[
|
157
|
-
[1m[35m (
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
146
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
147
|
+
[1m[35m (0.0ms)[0m begin transaction
|
148
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
149
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
150
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
151
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
152
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
153
|
+
[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"]]
|
163
154
|
Rendered text template (0.0ms)
|
164
155
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
165
|
-
Started GET "/
|
156
|
+
Started GET "/" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
157
|
+
Processing by ExampleController#index as HTML
|
158
|
+
Rendered text template (0.0ms)
|
159
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
160
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
166
161
|
Processing by ExampleController#restricted as HTML
|
167
162
|
Authenticating with gds_sso strategy
|
168
163
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
169
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
170
|
-
Started GET "/auth/gds/callback?code=
|
164
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
165
|
+
Started GET "/auth/gds/callback?code=c691d9611ba30187c803f3d2f761a2e0b841967309cbb1f5a3964e933606293d&state=91c1b1597d8c03818dc1fb949c23da49e990b81f3fe4462b" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
171
166
|
Processing by AuthenticationsController#callback as HTML
|
172
|
-
Parameters: {"code"=>"
|
167
|
+
Parameters: {"code"=>"c691d9611ba30187c803f3d2f761a2e0b841967309cbb1f5a3964e933606293d", "state"=>"91c1b1597d8c03818dc1fb949c23da49e990b81f3fe4462b"}
|
173
168
|
Authenticating with gds_sso strategy
|
174
|
-
[1m[
|
175
|
-
[1m[
|
176
|
-
[1m[
|
177
|
-
[1m[
|
178
|
-
[1m[
|
169
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
170
|
+
[1m[35m (0.1ms)[0m begin transaction
|
171
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
172
|
+
[1m[35m (0.0ms)[0m begin transaction
|
173
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
179
174
|
Redirected to http://www.example-client.com/restricted
|
180
175
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
181
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
176
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
182
177
|
Processing by ExampleController#restricted as HTML
|
183
|
-
[1m[
|
178
|
+
[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"]]
|
184
179
|
Rendered text template (0.0ms)
|
185
180
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
186
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
181
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:35 +0000
|
187
182
|
Processing by ExampleController#restricted as HTML
|
188
183
|
Authenticating with gds_sso strategy
|
189
|
-
Completed in
|
190
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
191
|
-
Started GET "/
|
184
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
185
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:21:35 +0000
|
186
|
+
Started GET "/auth/gds/callback?code=05aeadc5aa44d6406fc554a6343d9872bbeae0feea9d34ed1df59d17aa1d512d&state=682f93024676f2802e2975bfb17885410678cf7c1ce42674" for 127.0.0.1 at 2017-12-09 05:21:35 +0000
|
187
|
+
Processing by AuthenticationsController#callback as HTML
|
188
|
+
Parameters: {"code"=>"05aeadc5aa44d6406fc554a6343d9872bbeae0feea9d34ed1df59d17aa1d512d", "state"=>"682f93024676f2802e2975bfb17885410678cf7c1ce42674"}
|
189
|
+
Authenticating with gds_sso strategy
|
190
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
191
|
+
[1m[35m (0.0ms)[0m begin transaction
|
192
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
193
|
+
[1m[35m (0.0ms)[0m begin transaction
|
194
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
195
|
+
Redirected to http://www.example-client.com/restricted
|
196
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
197
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:35 +0000
|
198
|
+
Processing by ExampleController#restricted as HTML
|
199
|
+
[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"]]
|
200
|
+
Rendered text template (0.0ms)
|
201
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
202
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
192
203
|
Processing by ExampleController#restricted as HTML
|
193
204
|
Authenticating with gds_sso strategy
|
194
205
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
195
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
196
|
-
Started GET "/auth/gds/callback?code=
|
206
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
207
|
+
Started GET "/auth/gds/callback?code=1a6cfec97fe11e2461a71ee8bdbf57aea3765d824dd4652fa8357e958b885ec4&state=6f5d43549f09de07fa0c7bfa6d61f40398e8f4cb21674d78" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
|
197
208
|
Processing by AuthenticationsController#callback as HTML
|
198
|
-
Parameters: {"code"=>"
|
209
|
+
Parameters: {"code"=>"1a6cfec97fe11e2461a71ee8bdbf57aea3765d824dd4652fa8357e958b885ec4", "state"=>"6f5d43549f09de07fa0c7bfa6d61f40398e8f4cb21674d78"}
|
199
210
|
Authenticating with gds_sso strategy
|
200
|
-
[1m[
|
201
|
-
[1m[
|
202
|
-
[1m[
|
203
|
-
[1m[
|
204
|
-
[1m[
|
211
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
212
|
+
[1m[35m (0.1ms)[0m begin transaction
|
213
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
214
|
+
[1m[35m (0.0ms)[0m begin transaction
|
215
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
205
216
|
Redirected to http://www.example-client.com/restricted
|
206
|
-
Completed 302 Found in
|
207
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
217
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
218
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
|
208
219
|
Processing by ExampleController#restricted as HTML
|
209
|
-
[1m[
|
220
|
+
[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"]]
|
210
221
|
Rendered text template (0.0ms)
|
211
222
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
212
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
223
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:11:36 +0000
|
224
|
+
Processing by ExampleController#restricted as HTML
|
225
|
+
[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"]]
|
226
|
+
Rendered text template (0.0ms)
|
227
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
228
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
|
213
229
|
Processing by ExampleController#restricted as HTML
|
214
230
|
Authenticating with gds_sso strategy
|
215
231
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
216
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
217
|
-
Started GET "/auth/gds/callback?code=
|
232
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
|
233
|
+
Started GET "/auth/gds/callback?code=d27c2026d4977688b3481a6299783fbb7e5f5dfe7fa10530c6af91d59200deaf&state=bf5cebd4bda79ef168638e74ba840749c0a3e34e5a08ec17" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
|
218
234
|
Processing by AuthenticationsController#callback as HTML
|
219
|
-
Parameters: {"code"=>"
|
235
|
+
Parameters: {"code"=>"d27c2026d4977688b3481a6299783fbb7e5f5dfe7fa10530c6af91d59200deaf", "state"=>"bf5cebd4bda79ef168638e74ba840749c0a3e34e5a08ec17"}
|
220
236
|
Authenticating with gds_sso strategy
|
221
237
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
222
238
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
223
239
|
[1m[35m (0.1ms)[0m commit transaction
|
224
|
-
[1m[36m (0.
|
240
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
225
241
|
[1m[35m (0.1ms)[0m commit transaction
|
226
242
|
Redirected to http://www.example-client.com/restricted
|
227
243
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
228
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
244
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
|
229
245
|
Processing by ExampleController#restricted as HTML
|
230
246
|
[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"]]
|
231
247
|
Rendered text template (0.0ms)
|
232
|
-
Completed 200 OK in 1ms (Views: 0.
|
233
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
248
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
249
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:36 +0000
|
234
250
|
Processing by ExampleController#restricted as HTML
|
235
251
|
Authenticating with gds_sso strategy
|
236
252
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
237
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
238
|
-
Started GET "/
|
253
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:21:36 +0000
|
254
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
|
255
|
+
Processing by ExampleController#restricted as HTML
|
256
|
+
Authenticating with gds_sso strategy
|
257
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
258
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
|
259
|
+
Started GET "/auth/gds/callback?code=898f4ce3a736f6e2010ff4ff80658592debe844c05212d499a23fdde59359d28&state=38e017ec36bb74ebb64d287aead6899b070a94442f6e9328" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
|
239
260
|
Processing by AuthenticationsController#callback as HTML
|
240
|
-
Parameters: {"code"=>"
|
261
|
+
Parameters: {"code"=>"898f4ce3a736f6e2010ff4ff80658592debe844c05212d499a23fdde59359d28", "state"=>"38e017ec36bb74ebb64d287aead6899b070a94442f6e9328"}
|
241
262
|
Authenticating with gds_sso strategy
|
242
263
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
243
264
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
244
265
|
[1m[35m (0.0ms)[0m commit transaction
|
245
266
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
246
|
-
[1m[35m (0.
|
267
|
+
[1m[35m (0.0ms)[0m commit transaction
|
247
268
|
Redirected to http://www.example-client.com/restricted
|
248
269
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
249
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
270
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
|
250
271
|
Processing by ExampleController#restricted as HTML
|
251
272
|
[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"]]
|
252
273
|
Rendered text template (0.0ms)
|
253
274
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
254
|
-
|
275
|
+
[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"]]
|
276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
277
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
|
278
|
+
[1m[36m (6.4ms)[0m [1mcommit transaction[0m
|
279
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
|
255
280
|
Processing by ExampleController#restricted as HTML
|
256
281
|
[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"]]
|
257
|
-
|
258
|
-
Completed
|
259
|
-
Started GET "/
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
Completed in 12ms (ActiveRecord: 0.0ms)
|
265
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
|
266
|
-
Processing by ExampleController#restricted as JSON
|
267
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
268
|
-
[1m[35m (0.1ms)[0m begin transaction
|
269
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 1]]
|
270
|
-
[1m[35m (8.2ms)[0m commit transaction
|
282
|
+
Authenticating with gds_sso strategy
|
283
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
284
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
|
285
|
+
Started GET "/auth/gds/callback?code=1536f0c355d3e69ab067eb9b277ca8a1e55a994f351cdd0a4000216ec8b9373d&state=a5a7bdcf03de4298f063b99dd9af9f9dc38e55c46e1250af" for 127.0.0.1 at 2017-12-08 09:16:37 +0000
|
286
|
+
Processing by AuthenticationsController#callback as HTML
|
287
|
+
Parameters: {"code"=>"1536f0c355d3e69ab067eb9b277ca8a1e55a994f351cdd0a4000216ec8b9373d", "state"=>"a5a7bdcf03de4298f063b99dd9af9f9dc38e55c46e1250af"}
|
288
|
+
Authenticating with gds_sso strategy
|
271
289
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
272
290
|
[1m[35m (0.1ms)[0m begin transaction
|
273
291
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
274
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
275
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
276
|
-
[1m[35m (0.0ms)[0m commit transaction
|
277
|
-
[1m[36mCACHE (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
278
|
-
[1m[35m (0.0ms)[0m begin transaction
|
279
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
280
292
|
[1m[35m (0.0ms)[0m begin transaction
|
281
|
-
[1m[
|
293
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
294
|
+
[1m[35m (4.9ms)[0m commit transaction
|
295
|
+
Redirected to http://www.example-client.com/restricted
|
296
|
+
Completed 302 Found in 9ms (ActiveRecord: 5.3ms)
|
297
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:37 +0000
|
298
|
+
Processing by ExampleController#restricted as HTML
|
299
|
+
[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"]]
|
282
300
|
Rendered text template (0.0ms)
|
283
|
-
Completed 200 OK in
|
284
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
|
285
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
286
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
287
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
288
|
-
[1m[35m (0.0ms)[0m commit transaction
|
289
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
290
|
-
[1m[35m (0.1ms)[0m begin transaction
|
291
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
292
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
293
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
294
|
-
[1m[35m (0.0ms)[0m commit transaction
|
295
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
296
|
-
[1m[35m (0.1ms)[0m begin transaction
|
297
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
298
|
-
[1m[35m (0.0ms)[0m begin transaction
|
299
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
300
|
-
Rendered text template (0.1ms)
|
301
|
-
Completed 200 OK in 65ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
301
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
302
302
|
[1m[35m (0.1ms)[0m begin transaction
|
303
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
304
|
-
[1m[35m (
|
305
|
-
[1m[36m (0.
|
306
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
307
|
-
[1m[36m (
|
303
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38537"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
304
|
+
[1m[35m (4.2ms)[0m commit transaction
|
305
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
306
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39615"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
307
|
+
[1m[36m (4.8ms)[0m [1mcommit transaction[0m
|
308
308
|
Processing by Api::UserController#update as HTML
|
309
|
-
Parameters: {"uid"=>"
|
310
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
311
|
-
Completed 403 Forbidden in 7ms (Views:
|
312
|
-
[1m[35m (0.
|
313
|
-
[1m[36mSQL (0.
|
314
|
-
[1m[35m (5.
|
315
|
-
[1m[36m (0.
|
316
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
317
|
-
[1m[36m (4.
|
309
|
+
Parameters: {"uid"=>"a1s2d38537"}
|
310
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
311
|
+
Completed 403 Forbidden in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
312
|
+
[1m[35m (0.0ms)[0m begin transaction
|
313
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35045"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
314
|
+
[1m[35m (5.4ms)[0m commit transaction
|
315
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
316
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38178"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
317
|
+
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
318
318
|
Processing by Api::UserController#update as HTML
|
319
|
-
Parameters: {"uid"=>"
|
320
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "
|
321
|
-
[1m[36m (0.
|
319
|
+
Parameters: {"uid"=>"a1s2d35045"}
|
320
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35045"]]
|
321
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
322
322
|
[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", 4]]
|
323
|
-
[1m[36m (
|
324
|
-
Completed 200 OK in
|
325
|
-
[1m[35mUser Load (0.
|
323
|
+
[1m[36m (5.6ms)[0m [1mcommit transaction[0m
|
324
|
+
Completed 200 OK in 9ms (ActiveRecord: 5.9ms)
|
325
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
326
326
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
327
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
328
|
-
[1m[36m (
|
327
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3648"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
328
|
+
[1m[36m (8.7ms)[0m [1mcommit transaction[0m
|
329
329
|
[1m[35m (0.0ms)[0m begin transaction
|
330
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
330
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d336"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
331
331
|
[1m[35m (5.1ms)[0m commit transaction
|
332
332
|
Processing by Api::UserController#reauth as HTML
|
333
333
|
Parameters: {"uid"=>"nonexistent-user"}
|
334
334
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
335
335
|
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
336
|
-
[1m[35m (0.
|
337
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
336
|
+
[1m[35m (0.1ms)[0m begin transaction
|
337
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35314"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
338
338
|
[1m[35m (4.1ms)[0m commit transaction
|
339
339
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
341
|
-
[1m[36m (5.
|
340
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34145"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
341
|
+
[1m[36m (5.1ms)[0m [1mcommit transaction[0m
|
342
342
|
Processing by Api::UserController#reauth as HTML
|
343
|
-
Parameters: {"uid"=>"
|
344
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "
|
345
|
-
[1m[36m (0.
|
343
|
+
Parameters: {"uid"=>"a1s2d35314"}
|
344
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35314"]]
|
345
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
346
346
|
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 8]]
|
347
|
-
[1m[36m (4.
|
348
|
-
Completed 200 OK in 7ms (ActiveRecord:
|
347
|
+
[1m[36m (4.8ms)[0m [1mcommit transaction[0m
|
348
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.1ms)
|
349
349
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
|
350
350
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
351
|
-
[1m[35mSQL (0.
|
352
|
-
[1m[36m (
|
353
|
-
[1m[35m (0.
|
354
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
355
|
-
[1m[35m (
|
351
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3145"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
352
|
+
[1m[36m (7.6ms)[0m [1mcommit transaction[0m
|
353
|
+
[1m[35m (0.0ms)[0m begin transaction
|
354
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38931"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
355
|
+
[1m[35m (4.2ms)[0m commit transaction
|
356
356
|
Processing by Api::UserController#reauth as HTML
|
357
|
-
Parameters: {"uid"=>"
|
357
|
+
Parameters: {"uid"=>"a1s2d3145"}
|
358
358
|
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
359
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
359
|
+
Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
360
360
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
361
361
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
362
362
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
363
363
|
[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]]
|
364
|
-
[1m[36m (
|
364
|
+
[1m[36m (5.3ms)[0m [1mcommit transaction[0m
|
365
365
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
366
|
-
[1m[36m (0.
|
366
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
367
367
|
[1m[35m (0.0ms)[0m commit transaction
|
368
|
-
[1m[35m (
|
369
|
-
[1m[35m (
|
368
|
+
[1m[35m (7.9ms)[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
|
369
|
+
[1m[35m (6.3ms)[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
|
370
370
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
371
|
-
[1m[35m (0.
|
372
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2017-12-
|
373
|
-
[1m[35m (
|
374
|
-
[1m[35m (
|
371
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
372
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2017-12-08 09:16:47 UTC], ["updated_at", 2017-12-08 09:16:47 UTC]]
|
373
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
374
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
375
375
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
376
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
377
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
378
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
379
|
-
Processing by ExampleController#restricted as JSON
|
380
|
-
Completed in 36ms (ActiveRecord: 0.0ms)
|
381
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
382
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
383
|
-
[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]]
|
384
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
385
376
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
386
|
-
[1m[35mSQL (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]]
|
387
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
388
|
-
[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]]
|
389
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
390
377
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
391
|
-
[1m[
|
378
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
379
|
+
[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]]
|
380
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
381
|
+
[1m[35mSQL (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]]
|
382
|
+
[1m[35m (8.4ms)[0m [1m[36mcommit transaction[0m
|
383
|
+
[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]]
|
392
384
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
393
385
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
394
|
-
[1m[
|
386
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
387
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34536"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
388
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
389
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
390
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36440"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
391
|
+
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
392
|
+
Processing by Api::UserController#update as HTML
|
393
|
+
Parameters: {"uid"=>"a1s2d34536"}
|
394
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
395
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
396
|
+
Completed 403 Forbidden in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
|
395
397
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
396
|
-
[1m[
|
398
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32239"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
399
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
397
400
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
398
|
-
[1m[35mSQL (0.2ms)[0m [1m[
|
399
|
-
[1m[35m (4.
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
404
|
-
Processing by ExampleController#restricted as JSON
|
405
|
-
[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]]
|
401
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31177"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
402
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
403
|
+
Processing by Api::UserController#update as HTML
|
404
|
+
Parameters: {"uid"=>"a1s2d32239"}
|
405
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d32239"], ["LIMIT", 1]]
|
406
406
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
407
|
-
[1m[
|
408
|
-
[1m[
|
407
|
+
[1m[35mSQL (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", 4]]
|
408
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
409
|
+
Completed 200 OK in 10ms (ActiveRecord: 6.6ms)
|
410
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
409
411
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
410
|
-
[1m[
|
411
|
-
[1m[
|
412
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34143"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
413
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
414
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
415
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31147"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
416
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
417
|
+
Processing by Api::UserController#reauth as HTML
|
418
|
+
Parameters: {"uid"=>"a1s2d34143"}
|
419
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34143"], ["LIMIT", 1]]
|
420
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
421
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 6]]
|
422
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
423
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.5ms)
|
424
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
412
425
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
413
|
-
[1m[
|
414
|
-
[1m[
|
426
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37829"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
427
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
428
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
429
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37721"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
430
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
431
|
+
Processing by Api::UserController#reauth as HTML
|
432
|
+
Parameters: {"uid"=>"a1s2d37829"}
|
433
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
434
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
435
|
+
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
415
436
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
416
|
-
[1m[
|
437
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33038"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
438
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
439
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
440
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33797"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
441
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
442
|
+
Processing by Api::UserController#reauth as HTML
|
443
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
444
|
+
[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]]
|
445
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
446
|
+
Started GET "/" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
447
|
+
Processing by ExampleController#index as HTML
|
417
448
|
Rendering text template
|
418
449
|
Rendered text template (0.0ms)
|
419
|
-
Completed 200 OK in
|
420
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
421
|
-
Processing by ExampleController#restricted as
|
422
|
-
Completed in 13ms (ActiveRecord: 0.0ms)
|
423
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
424
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
450
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
451
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
452
|
+
Processing by ExampleController#restricted as HTML
|
425
453
|
Authenticating with gds_sso strategy
|
426
|
-
Completed in
|
427
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
428
|
-
Started GET "/auth/gds/callback?code=
|
454
|
+
Completed in 7ms (ActiveRecord: 0.0ms)
|
455
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
456
|
+
Started GET "/auth/gds/callback?code=a540b134e03a1cf4285c1aeedbdd48127f6b4f7783e9e5d98f9831c66a39d908&state=ab157cfff8d5c2d7e5437d5181384eebe5b4bac526386278" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
429
457
|
Processing by AuthenticationsController#callback as HTML
|
430
|
-
Parameters: {"code"=>"
|
458
|
+
Parameters: {"code"=>"a540b134e03a1cf4285c1aeedbdd48127f6b4f7783e9e5d98f9831c66a39d908", "state"=>"ab157cfff8d5c2d7e5437d5181384eebe5b4bac526386278"}
|
431
459
|
Authenticating with gds_sso strategy
|
432
|
-
[1m[36mUser Load (0.
|
460
|
+
[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]]
|
461
|
+
[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]]
|
433
462
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
434
|
-
[1m[35mSQL (0.2ms)[0m [1m[
|
435
|
-
[1m[35m (
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
463
|
+
[1m[35mSQL (0.2ms)[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"]]
|
464
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
465
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
466
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 12]]
|
467
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
468
|
+
Redirected to http://www.example-client.com/restricted
|
469
|
+
Completed 302 Found in 15ms (ActiveRecord: 10.8ms)
|
470
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
471
|
+
Processing by ExampleController#restricted as HTML
|
440
472
|
[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", false], ["LIMIT", 1]]
|
441
473
|
Rendering text template
|
442
474
|
Rendered text template (0.0ms)
|
443
475
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
444
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
476
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
445
477
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
446
478
|
Authenticating with gds_sso strategy
|
447
479
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
448
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
449
|
-
Started GET "/auth/gds/callback?code=
|
480
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
481
|
+
Started GET "/auth/gds/callback?code=926668ccbab6eded785b4638585f1c4a8a8b5f2856f6b35fc11508f4daa9bb4b&state=8de071844bdac351ed218a4c4eaf9e6348cfb58f51358fc3" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
450
482
|
Processing by AuthenticationsController#callback as HTML
|
451
|
-
Parameters: {"code"=>"
|
483
|
+
Parameters: {"code"=>"926668ccbab6eded785b4638585f1c4a8a8b5f2856f6b35fc11508f4daa9bb4b", "state"=>"8de071844bdac351ed218a4c4eaf9e6348cfb58f51358fc3"}
|
452
484
|
Authenticating with gds_sso strategy
|
453
485
|
[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]]
|
454
486
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
455
487
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
456
488
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
457
489
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
458
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
490
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
459
491
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
460
|
-
[1m[36mUser Load (0.
|
461
|
-
Rendering text template
|
462
|
-
Rendered text template (0.0ms)
|
463
|
-
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms)
|
464
|
-
Started GET "/" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
465
|
-
Processing by ExampleController#index as HTML
|
492
|
+
[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", false], ["LIMIT", 1]]
|
466
493
|
Rendering text template
|
467
494
|
Rendered text template (0.0ms)
|
468
|
-
Completed 200 OK in
|
469
|
-
Started GET "/
|
470
|
-
Processing by ExampleController#
|
495
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
496
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
497
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
471
498
|
Authenticating with gds_sso strategy
|
472
499
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
473
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
474
|
-
Started GET "/auth/gds/callback?code=
|
500
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
501
|
+
Started GET "/auth/gds/callback?code=08640100dab3990aa91c70de73b834800ed7c557848f9e8be3687a55b16026c4&state=231c81ff35e4db84ac997834586691c6a1c0fd829c0ca8f6" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
475
502
|
Processing by AuthenticationsController#callback as HTML
|
476
|
-
Parameters: {"code"=>"
|
503
|
+
Parameters: {"code"=>"08640100dab3990aa91c70de73b834800ed7c557848f9e8be3687a55b16026c4", "state"=>"231c81ff35e4db84ac997834586691c6a1c0fd829c0ca8f6"}
|
477
504
|
Authenticating with gds_sso strategy
|
478
505
|
[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]]
|
479
506
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
480
|
-
[1m[35m (0.
|
481
|
-
Redirected to http://www.example-client.com/
|
482
|
-
Completed 302 Found in
|
483
|
-
Started GET "/
|
484
|
-
Processing by ExampleController#
|
507
|
+
[1m[35m (0.0ms)[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 2017-12-08 09:16:48 +0000
|
511
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
485
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", false], ["LIMIT", 1]]
|
486
513
|
Rendering text template
|
487
514
|
Rendered text template (0.0ms)
|
488
515
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
489
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
516
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
490
517
|
Processing by ExampleController#restricted as HTML
|
491
518
|
Authenticating with gds_sso strategy
|
492
519
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
493
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
494
|
-
Started GET "/auth/gds/callback?code=
|
520
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
521
|
+
Started GET "/auth/gds/callback?code=6cbb7ec7ec3bfd123e1f313ae0298209695c81fcf92137be4878bea828cf451f&state=4d9441cb36807b4262d29e06c7b3d0844eb6fa83533ae93e" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
495
522
|
Processing by AuthenticationsController#callback as HTML
|
496
|
-
Parameters: {"code"=>"
|
523
|
+
Parameters: {"code"=>"6cbb7ec7ec3bfd123e1f313ae0298209695c81fcf92137be4878bea828cf451f", "state"=>"4d9441cb36807b4262d29e06c7b3d0844eb6fa83533ae93e"}
|
497
524
|
Authenticating with gds_sso strategy
|
498
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]]
|
499
|
-
[1m[35m (0.
|
526
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
500
527
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
501
528
|
Redirected to http://www.example-client.com/restricted
|
502
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.
|
503
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
529
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
530
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
504
531
|
Processing by ExampleController#restricted as HTML
|
505
|
-
[1m[36mUser Load (0.
|
532
|
+
[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", false], ["LIMIT", 1]]
|
506
533
|
Rendering text template
|
507
534
|
Rendered text template (0.0ms)
|
508
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
509
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
535
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
536
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
510
537
|
Processing by ExampleController#restricted as HTML
|
511
538
|
Authenticating with gds_sso strategy
|
512
539
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
513
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
514
|
-
Started GET "/auth/gds/callback?code=
|
540
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
541
|
+
Started GET "/auth/gds/callback?code=31fb37a8b21c9b4eb7ed9da0f1506596c06eadb989970646e07a829aeaccae5b&state=250b7a8cb4dc7606b675902a52934a61b84a11d6899a5af1" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
515
542
|
Processing by AuthenticationsController#callback as HTML
|
516
|
-
Parameters: {"code"=>"
|
543
|
+
Parameters: {"code"=>"31fb37a8b21c9b4eb7ed9da0f1506596c06eadb989970646e07a829aeaccae5b", "state"=>"250b7a8cb4dc7606b675902a52934a61b84a11d6899a5af1"}
|
517
544
|
Authenticating with gds_sso strategy
|
518
545
|
[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]]
|
519
546
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
520
547
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
521
548
|
Redirected to http://www.example-client.com/restricted
|
522
|
-
Completed 302 Found in
|
523
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
549
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
550
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
524
551
|
Processing by ExampleController#restricted as HTML
|
525
552
|
[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", false], ["LIMIT", 1]]
|
526
553
|
Rendering text template
|
527
554
|
Rendered text template (0.0ms)
|
528
555
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
529
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
556
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
530
557
|
Processing by ExampleController#restricted as HTML
|
531
558
|
Authenticating with gds_sso strategy
|
532
559
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
533
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
534
|
-
Started GET "/auth/gds/callback?code=
|
560
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
561
|
+
Started GET "/auth/gds/callback?code=74b45cc5555a6a5bfb276496136711730ea7978d709105ddf78d9cae1b544f90&state=7598ab70da1d47b340827175ef1cf7788873f28d8923b8e9" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
535
562
|
Processing by AuthenticationsController#callback as HTML
|
536
|
-
Parameters: {"code"=>"
|
563
|
+
Parameters: {"code"=>"74b45cc5555a6a5bfb276496136711730ea7978d709105ddf78d9cae1b544f90", "state"=>"7598ab70da1d47b340827175ef1cf7788873f28d8923b8e9"}
|
537
564
|
Authenticating with gds_sso strategy
|
538
565
|
[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]]
|
539
566
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
540
567
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
541
568
|
Redirected to http://www.example-client.com/restricted
|
542
569
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
543
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
544
|
-
Processing by ExampleController#restricted as HTML
|
545
|
-
[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", false], ["LIMIT", 1]]
|
546
|
-
Rendering text template
|
547
|
-
Rendered text template (0.0ms)
|
548
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
549
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:49:21 +0000
|
570
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
550
571
|
Processing by ExampleController#restricted as HTML
|
551
572
|
[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", false], ["LIMIT", 1]]
|
552
573
|
Rendering text template
|
553
574
|
Rendered text template (0.0ms)
|
554
575
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
555
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
576
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
|
556
577
|
Processing by ExampleController#restricted as HTML
|
557
578
|
Authenticating with gds_sso strategy
|
558
579
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
559
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
560
|
-
Started GET "/auth/gds/callback?code=
|
580
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
|
581
|
+
Started GET "/auth/gds/callback?code=da18ce32aec1c829161714064fa31f815aa8933ca7d8a83a77ab55e3d9b60868&state=e1207a673bcef09649729d9a6666e4312b15e161bfec7953" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
|
561
582
|
Processing by AuthenticationsController#callback as HTML
|
562
|
-
Parameters: {"code"=>"
|
583
|
+
Parameters: {"code"=>"da18ce32aec1c829161714064fa31f815aa8933ca7d8a83a77ab55e3d9b60868", "state"=>"e1207a673bcef09649729d9a6666e4312b15e161bfec7953"}
|
563
584
|
Authenticating with gds_sso strategy
|
564
585
|
[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]]
|
565
|
-
[1m[35m (0.
|
586
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
566
587
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
567
588
|
Redirected to http://www.example-client.com/restricted
|
568
589
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
569
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
590
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
|
570
591
|
Processing by ExampleController#restricted as HTML
|
571
592
|
[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", false], ["LIMIT", 1]]
|
572
593
|
Rendering text template
|
573
594
|
Rendered text template (0.0ms)
|
574
|
-
Completed 200 OK in 2ms (Views: 0.
|
575
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
595
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
596
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
576
597
|
Processing by ExampleController#restricted as HTML
|
577
598
|
Authenticating with gds_sso strategy
|
578
599
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
579
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
580
|
-
Started GET "/auth/gds/callback?code=
|
600
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
601
|
+
Started GET "/auth/gds/callback?code=58c7e11d1ae291f9c591783f4c71f4af516dbb4146d02898b0f912e139e777a1&state=7e72609b30d7d1d70ea74c63d41181d8c19a00f5bba20732" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
581
602
|
Processing by AuthenticationsController#callback as HTML
|
582
|
-
Parameters: {"code"=>"
|
603
|
+
Parameters: {"code"=>"58c7e11d1ae291f9c591783f4c71f4af516dbb4146d02898b0f912e139e777a1", "state"=>"7e72609b30d7d1d70ea74c63d41181d8c19a00f5bba20732"}
|
583
604
|
Authenticating with gds_sso strategy
|
584
605
|
[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]]
|
585
|
-
[1m[35m (0.
|
586
|
-
[1m[35m (0.
|
606
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
607
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
587
608
|
Redirected to http://www.example-client.com/restricted
|
588
609
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
589
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
610
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
590
611
|
Processing by ExampleController#restricted as HTML
|
591
612
|
[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", false], ["LIMIT", 1]]
|
592
613
|
Rendering text template
|
593
614
|
Rendered text template (0.0ms)
|
594
615
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
595
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
616
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
|
596
617
|
Processing by ExampleController#restricted as HTML
|
597
618
|
Authenticating with gds_sso strategy
|
598
619
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
599
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
600
|
-
Started GET "/
|
620
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
|
621
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
622
|
+
Processing by ExampleController#restricted as HTML
|
623
|
+
Authenticating with gds_sso strategy
|
624
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
625
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
626
|
+
Started GET "/auth/gds/callback?code=3aa6475c92e4417d0fa1a2fdb9869fa10b99ddf699dbbb2d52eca04fecf51a08&state=77551c720e4670a1b2115632ab1cad15b2f55159342b032c" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
601
627
|
Processing by AuthenticationsController#callback as HTML
|
602
|
-
Parameters: {"code"=>"
|
628
|
+
Parameters: {"code"=>"3aa6475c92e4417d0fa1a2fdb9869fa10b99ddf699dbbb2d52eca04fecf51a08", "state"=>"77551c720e4670a1b2115632ab1cad15b2f55159342b032c"}
|
603
629
|
Authenticating with gds_sso strategy
|
604
630
|
[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]]
|
605
|
-
[1m[35m (0.
|
631
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
606
632
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
607
633
|
Redirected to http://www.example-client.com/restricted
|
608
634
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
609
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
635
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
610
636
|
Processing by ExampleController#restricted as HTML
|
611
637
|
[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", false], ["LIMIT", 1]]
|
612
638
|
Rendering text template
|
613
639
|
Rendered text template (0.0ms)
|
614
640
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
615
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
641
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:11:50 +0000
|
616
642
|
Processing by ExampleController#restricted as HTML
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
643
|
+
[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", false], ["LIMIT", 1]]
|
644
|
+
Rendering text template
|
645
|
+
Rendered text template (0.0ms)
|
646
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
647
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
621
648
|
Processing by ExampleController#restricted as HTML
|
622
649
|
Authenticating with gds_sso strategy
|
623
650
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
624
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
625
|
-
Started GET "/auth/gds/callback?code=
|
651
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
652
|
+
Started GET "/auth/gds/callback?code=f8c8576c9d5afde443e07373373e97002818174408070e8c3340dbde30b84bb6&state=40c040b0446ea9419c144c0543ac5b0adf75822aa21cb2d2" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
626
653
|
Processing by AuthenticationsController#callback as HTML
|
627
|
-
Parameters: {"code"=>"
|
654
|
+
Parameters: {"code"=>"f8c8576c9d5afde443e07373373e97002818174408070e8c3340dbde30b84bb6", "state"=>"40c040b0446ea9419c144c0543ac5b0adf75822aa21cb2d2"}
|
628
655
|
Authenticating with gds_sso strategy
|
629
656
|
[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]]
|
630
|
-
[1m[35m (0.
|
631
|
-
[1m[35m (0.
|
657
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
658
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
632
659
|
Redirected to http://www.example-client.com/restricted
|
633
660
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
634
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
661
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
635
662
|
Processing by ExampleController#restricted as HTML
|
636
|
-
[1m[36mUser Load (0.
|
663
|
+
[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", false], ["LIMIT", 1]]
|
637
664
|
Rendering text template
|
638
665
|
Rendered text template (0.0ms)
|
639
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
640
|
-
[1m[36mUser Load (0.
|
666
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
667
|
+
[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]]
|
641
668
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
642
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id",
|
643
|
-
[1m[35m (
|
644
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
669
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 12]]
|
670
|
+
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
671
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
645
672
|
Processing by ExampleController#restricted as HTML
|
646
|
-
[1m[36mUser Load (0.
|
673
|
+
[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", false], ["LIMIT", 1]]
|
647
674
|
Authenticating with gds_sso strategy
|
648
|
-
Completed in 1ms (ActiveRecord: 0.
|
649
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
650
|
-
Started GET "/auth/gds/callback?code=
|
675
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
676
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
677
|
+
Started GET "/auth/gds/callback?code=c8a34750a48051b788fb570b3f5556df02b0fe9f76023902b25a3680a7454daf&state=68b7074a255aa3deadba4630549a3d420bdbab8d21a4aaf8" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
651
678
|
Processing by AuthenticationsController#callback as HTML
|
652
|
-
Parameters: {"code"=>"
|
679
|
+
Parameters: {"code"=>"c8a34750a48051b788fb570b3f5556df02b0fe9f76023902b25a3680a7454daf", "state"=>"68b7074a255aa3deadba4630549a3d420bdbab8d21a4aaf8"}
|
653
680
|
Authenticating with gds_sso strategy
|
654
681
|
[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]]
|
655
|
-
[1m[35m (0.
|
682
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
656
683
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
657
|
-
[1m[35m (0.
|
658
|
-
[1m[35mSQL (0.
|
659
|
-
[1m[35m (4.
|
684
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
685
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 12]]
|
686
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
660
687
|
Redirected to http://www.example-client.com/restricted
|
661
|
-
Completed 302 Found in 9ms (ActiveRecord:
|
662
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
688
|
+
Completed 302 Found in 9ms (ActiveRecord: 5.4ms)
|
689
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
663
690
|
Processing by ExampleController#restricted as HTML
|
664
691
|
[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", false], ["LIMIT", 1]]
|
665
692
|
Rendering text template
|
666
693
|
Rendered text template (0.0ms)
|
667
|
-
Completed 200 OK in
|
668
|
-
|
669
|
-
|
694
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
695
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
696
|
+
Processing by ExampleController#restricted as JSON
|
697
|
+
[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
698
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
671
|
-
[1m[35mSQL (0.2ms)[0m [1m[
|
672
|
-
[1m[35m (
|
673
|
-
[1m[36mUser Load (0.
|
699
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 12]]
|
700
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
701
|
+
[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]]
|
702
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
703
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
704
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
674
705
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
675
706
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
707
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
676
708
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
677
|
-
[1m[
|
678
|
-
|
709
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
710
|
+
Rendering text template
|
711
|
+
Rendered text template (0.0ms)
|
712
|
+
Completed 200 OK in 72ms (Views: 0.3ms | ActiveRecord: 5.6ms)
|
713
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
714
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
715
|
+
[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]]
|
679
716
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
680
|
-
[1m[
|
681
|
-
[1m[
|
682
|
-
Processing by Api::UserController#reauth as HTML
|
683
|
-
Parameters: {"uid"=>"a1s2d31362"}
|
684
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
685
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
686
|
-
Completed 403 Forbidden in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
|
717
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
718
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
687
719
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
688
|
-
[1m[
|
689
|
-
[1m[
|
690
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
691
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33241"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
692
|
-
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
693
|
-
Processing by Api::UserController#reauth as HTML
|
694
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
695
|
-
[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]]
|
696
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
697
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
698
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31404"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
699
|
-
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
700
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
701
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33047"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
702
|
-
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
703
|
-
Processing by Api::UserController#reauth as HTML
|
704
|
-
Parameters: {"uid"=>"a1s2d31404"}
|
705
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31404"], ["LIMIT", 1]]
|
706
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
707
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 7]]
|
708
|
-
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
709
|
-
Completed 200 OK in 6ms (ActiveRecord: 4.4ms)
|
710
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
711
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
712
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35292"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
713
|
-
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
714
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
715
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32724"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
716
|
-
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
717
|
-
Processing by Api::UserController#update as HTML
|
718
|
-
Parameters: {"uid"=>"a1s2d35292"}
|
719
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35292"], ["LIMIT", 1]]
|
720
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
721
|
-
[1m[35mSQL (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", 9]]
|
722
|
-
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
723
|
-
Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
|
724
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
720
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
721
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
725
722
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
726
|
-
[1m[
|
727
|
-
[1m[
|
723
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
724
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
728
725
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
729
|
-
[1m[
|
730
|
-
|
731
|
-
Processing by Api::UserController#update as HTML
|
732
|
-
Parameters: {"uid"=>"a1s2d38157"}
|
733
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
734
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
735
|
-
Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
736
|
-
[1m[36m (8.0ms)[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
|
737
|
-
[1m[35m (9.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
738
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
739
|
-
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
740
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
741
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36466"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
742
|
-
[1m[36m (6.8ms)[0m [1mcommit transaction[0m
|
743
|
-
[1m[35m (0.1ms)[0m begin transaction
|
744
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35543"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
745
|
-
[1m[35m (4.7ms)[0m commit transaction
|
746
|
-
Processing by Api::UserController#reauth as HTML
|
747
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
748
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
749
|
-
Completed 200 OK in 6ms (ActiveRecord: 0.2ms)
|
750
|
-
[1m[35m (0.1ms)[0m begin transaction
|
751
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39240"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
752
|
-
[1m[35m (5.4ms)[0m commit transaction
|
753
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
754
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39347"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
755
|
-
[1m[36m (4.7ms)[0m [1mcommit transaction[0m
|
756
|
-
Processing by Api::UserController#reauth as HTML
|
757
|
-
Parameters: {"uid"=>"a1s2d39240"}
|
758
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
759
|
-
Completed 403 Forbidden in 9ms (Views: 9.2ms | ActiveRecord: 0.0ms)
|
760
|
-
[1m[35m (0.1ms)[0m begin transaction
|
761
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38374"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
762
|
-
[1m[35m (4.1ms)[0m commit transaction
|
763
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
764
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35852"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
765
|
-
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
766
|
-
Processing by Api::UserController#reauth as HTML
|
767
|
-
Parameters: {"uid"=>"a1s2d38374"}
|
768
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d38374"]]
|
769
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
770
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
|
771
|
-
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
772
|
-
Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
|
773
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
774
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
775
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32362"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
776
|
-
[1m[36m (5.0ms)[0m [1mcommit transaction[0m
|
777
|
-
[1m[35m (0.0ms)[0m begin transaction
|
778
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35488"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
779
|
-
[1m[35m (6.3ms)[0m commit transaction
|
780
|
-
Processing by Api::UserController#update as HTML
|
781
|
-
Parameters: {"uid"=>"a1s2d32362"}
|
782
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
783
|
-
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
784
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
785
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39861"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
786
|
-
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
787
|
-
[1m[35m (0.1ms)[0m begin transaction
|
788
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38847"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
789
|
-
[1m[35m (3.9ms)[0m commit transaction
|
790
|
-
Processing by Api::UserController#update as HTML
|
791
|
-
Parameters: {"uid"=>"a1s2d39861"}
|
792
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d39861"]]
|
793
|
-
[1m[35m (0.0ms)[0m begin transaction
|
794
|
-
[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", 9]]
|
795
|
-
[1m[35m (4.6ms)[0m commit transaction
|
796
|
-
Completed 200 OK in 8ms (ActiveRecord: 4.9ms)
|
797
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 9]]
|
798
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
799
|
-
[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"]]
|
800
|
-
[1m[35m (0.1ms)[0m begin transaction
|
801
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
|
802
|
-
[1m[35m (4.0ms)[0m commit transaction
|
803
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
804
|
-
[1m[35m (0.0ms)[0m begin transaction
|
805
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
806
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
|
807
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
808
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
809
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "test@example-client.com"]]
|
810
|
-
[1m[35m (0.1ms)[0m begin transaction
|
811
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
812
|
-
[1m[35m (6.6ms)[0m commit transaction
|
813
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
814
|
-
[1m[35m (0.0ms)[0m begin transaction
|
815
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
816
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
817
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
818
|
-
[1m[35m (0.0ms)[0m commit transaction
|
819
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
820
|
-
[1m[35m (0.0ms)[0m begin transaction
|
821
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
822
|
-
[1m[35m (0.0ms)[0m begin transaction
|
823
|
-
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
824
|
-
[1m[35m (7.3ms)[0m commit transaction
|
825
|
-
Rendered text template (0.0ms)
|
826
|
-
Completed 200 OK in 96ms (Views: 1.1ms | ActiveRecord: 15.0ms)
|
827
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
|
828
|
-
Processing by ExampleController#restricted as JSON
|
829
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
830
|
-
[1m[35m (0.1ms)[0m begin transaction
|
831
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
832
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
833
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
834
|
-
[1m[35m (0.0ms)[0m commit transaction
|
835
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
836
|
-
[1m[35m (0.1ms)[0m begin transaction
|
837
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
838
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
839
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
840
|
-
[1m[35m (0.0ms)[0m commit transaction
|
841
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
842
|
-
[1m[35m (0.1ms)[0m commit transaction
|
726
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
727
|
+
Rendering text template
|
843
728
|
Rendered text template (0.0ms)
|
844
|
-
Completed 200 OK in
|
845
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
729
|
+
Completed 200 OK in 61ms (Views: 0.4ms | ActiveRecord: 0.7ms)
|
730
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
846
731
|
Processing by ExampleController#restricted as JSON
|
847
|
-
Completed in
|
848
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
732
|
+
Completed in 22ms (ActiveRecord: 0.0ms)
|
733
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
849
734
|
Processing by ExampleController#restricted as JSON
|
850
|
-
Completed in
|
851
|
-
|
852
|
-
|
735
|
+
Completed in 11ms (ActiveRecord: 0.0ms)
|
736
|
+
[1m[36m (10.3ms)[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
|
737
|
+
[1m[35m (9.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
738
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
739
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
740
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
741
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
853
742
|
Authenticating with gds_sso strategy
|
854
|
-
Completed in
|
855
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
856
|
-
Started GET "/auth/gds/callback?code=
|
743
|
+
Completed in 7ms (ActiveRecord: 0.0ms)
|
744
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
745
|
+
Started GET "/auth/gds/callback?code=a0bb939fa177185880182d0d43f2f0da9a15cc571e9d33d183ddd5db005f89ec&state=1cdec6ea848f871b8a6eb9701259fa58a5a39f48669980c6" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
857
746
|
Processing by AuthenticationsController#callback as HTML
|
858
|
-
Parameters: {"code"=>"
|
747
|
+
Parameters: {"code"=>"a0bb939fa177185880182d0d43f2f0da9a15cc571e9d33d183ddd5db005f89ec", "state"=>"1cdec6ea848f871b8a6eb9701259fa58a5a39f48669980c6"}
|
859
748
|
Authenticating with gds_sso strategy
|
860
749
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
861
|
-
[1m[
|
862
|
-
[1m[
|
863
|
-
[1m[
|
864
|
-
[1m[36m (
|
865
|
-
[1m[35m (0.0ms)[0m
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
750
|
+
[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"]]
|
751
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
752
|
+
[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"]]
|
753
|
+
[1m[36m (6.5ms)[0m [1mcommit transaction[0m
|
754
|
+
[1m[35m (0.0ms)[0m begin transaction
|
755
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
756
|
+
[1m[35m (4.7ms)[0m commit transaction
|
757
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
758
|
+
Completed 302 Found in 31ms (ActiveRecord: 12.4ms)
|
759
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
760
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
761
|
+
[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"]]
|
871
762
|
Rendered text template (0.0ms)
|
872
|
-
Completed 200 OK in
|
873
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
763
|
+
Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.1ms)
|
764
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
874
765
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
875
766
|
Authenticating with gds_sso strategy
|
876
767
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
877
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
878
|
-
Started GET "/auth/gds/callback?code=
|
768
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
769
|
+
Started GET "/auth/gds/callback?code=d7169f0667be1e98222c2e42da39fd2e422d90100b37b523c69546b65cda27cd&state=0f1c18bb5fb347ee0138172a92f3d93b6058d74bcd3371e2" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
879
770
|
Processing by AuthenticationsController#callback as HTML
|
880
|
-
Parameters: {"code"=>"
|
771
|
+
Parameters: {"code"=>"d7169f0667be1e98222c2e42da39fd2e422d90100b37b523c69546b65cda27cd", "state"=>"0f1c18bb5fb347ee0138172a92f3d93b6058d74bcd3371e2"}
|
881
772
|
Authenticating with gds_sso strategy
|
882
773
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
883
774
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
884
775
|
[1m[35m (0.0ms)[0m commit transaction
|
885
|
-
[1m[36m (0.
|
776
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
886
777
|
[1m[35m (0.0ms)[0m commit transaction
|
887
778
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
888
779
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
889
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
780
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
890
781
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
891
782
|
[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"]]
|
892
783
|
Rendered text template (0.0ms)
|
893
|
-
Completed 200 OK in
|
894
|
-
Started GET "/
|
895
|
-
Processing by ExampleController#
|
784
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
785
|
+
Started GET "/" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
786
|
+
Processing by ExampleController#index as HTML
|
787
|
+
Rendered text template (0.0ms)
|
788
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
789
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
790
|
+
Processing by ExampleController#restricted as HTML
|
896
791
|
Authenticating with gds_sso strategy
|
897
792
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
898
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
899
|
-
Started GET "/auth/gds/callback?code=
|
793
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
794
|
+
Started GET "/auth/gds/callback?code=8ca2448fd6723932527823757aa0ec35553a6481644d3cb98526931b9de53dc7&state=a54747189e06216ea5482b16110d13c9d4ff2d7f81e4cf98" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
900
795
|
Processing by AuthenticationsController#callback as HTML
|
901
|
-
Parameters: {"code"=>"
|
796
|
+
Parameters: {"code"=>"8ca2448fd6723932527823757aa0ec35553a6481644d3cb98526931b9de53dc7", "state"=>"a54747189e06216ea5482b16110d13c9d4ff2d7f81e4cf98"}
|
902
797
|
Authenticating with gds_sso strategy
|
903
798
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
904
799
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
905
800
|
[1m[35m (0.0ms)[0m commit transaction
|
906
801
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
907
|
-
[1m[35m (0.
|
908
|
-
Redirected to http://www.example-client.com/
|
802
|
+
[1m[35m (0.1ms)[0m commit transaction
|
803
|
+
Redirected to http://www.example-client.com/restricted
|
909
804
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
910
|
-
Started GET "/
|
911
|
-
Processing by ExampleController#
|
805
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
806
|
+
Processing by ExampleController#restricted as HTML
|
912
807
|
[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"]]
|
913
808
|
Rendered text template (0.0ms)
|
914
|
-
Completed 200 OK in
|
915
|
-
Started GET "/" for 127.0.0.1 at 2017-12-
|
916
|
-
Processing by ExampleController#index as HTML
|
917
|
-
Rendered text template (0.0ms)
|
918
|
-
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
919
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
809
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
810
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
920
811
|
Processing by ExampleController#restricted as HTML
|
921
812
|
Authenticating with gds_sso strategy
|
922
813
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
923
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
924
|
-
Started GET "/auth/gds/callback?code=
|
814
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
815
|
+
Started GET "/auth/gds/callback?code=b2df58a55f63a216a25b4a426b10d339600fc0d92b221bf0d0399a094ebb3987&state=1c464472d1e1f36f327090ec8558e0368ac9923d2f49702c" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
925
816
|
Processing by AuthenticationsController#callback as HTML
|
926
|
-
Parameters: {"code"=>"
|
817
|
+
Parameters: {"code"=>"b2df58a55f63a216a25b4a426b10d339600fc0d92b221bf0d0399a094ebb3987", "state"=>"1c464472d1e1f36f327090ec8558e0368ac9923d2f49702c"}
|
927
818
|
Authenticating with gds_sso strategy
|
928
819
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
929
820
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
930
821
|
[1m[35m (0.0ms)[0m commit transaction
|
931
822
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
932
|
-
[1m[35m (0.
|
823
|
+
[1m[35m (0.1ms)[0m commit transaction
|
933
824
|
Redirected to http://www.example-client.com/restricted
|
934
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
935
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
825
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
826
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
936
827
|
Processing by ExampleController#restricted as HTML
|
937
828
|
[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"]]
|
938
829
|
Rendered text template (0.0ms)
|
939
|
-
Completed 200 OK in 1ms (Views: 0.
|
940
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
830
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
831
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
941
832
|
Processing by ExampleController#restricted as HTML
|
942
833
|
Authenticating with gds_sso strategy
|
943
834
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
944
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
945
|
-
Started GET "/auth/gds/callback?code=
|
835
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
836
|
+
Started GET "/auth/gds/callback?code=3e721ef987ddff6e720dc56d4f31d0ce6094361a6bcd042a6c55a1a98ac9e2ed&state=0ee6cae582dfc1131c58ba413cf54c5f830415f4cedd909e" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
946
837
|
Processing by AuthenticationsController#callback as HTML
|
947
|
-
Parameters: {"code"=>"
|
838
|
+
Parameters: {"code"=>"3e721ef987ddff6e720dc56d4f31d0ce6094361a6bcd042a6c55a1a98ac9e2ed", "state"=>"0ee6cae582dfc1131c58ba413cf54c5f830415f4cedd909e"}
|
948
839
|
Authenticating with gds_sso strategy
|
949
840
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
950
841
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
951
842
|
[1m[35m (0.0ms)[0m commit transaction
|
952
843
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
953
|
-
[1m[35m (0.
|
844
|
+
[1m[35m (0.1ms)[0m commit transaction
|
954
845
|
Redirected to http://www.example-client.com/restricted
|
955
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
956
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
846
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
847
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
957
848
|
Processing by ExampleController#restricted as HTML
|
958
849
|
[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"]]
|
959
850
|
Rendered text template (0.0ms)
|
960
851
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
961
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
852
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
962
853
|
Processing by ExampleController#restricted as HTML
|
963
854
|
Authenticating with gds_sso strategy
|
964
855
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
965
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
966
|
-
Started GET "/auth/gds/callback?code=
|
856
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
857
|
+
Started GET "/auth/gds/callback?code=c2f18f2dfecc5450d1b6193c01132aa0462b9d9afe48d502e97658010c778b67&state=646fedba10beaedfe3100d6dd91e88ed23ad2bd8e6f455d7" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
967
858
|
Processing by AuthenticationsController#callback as HTML
|
968
|
-
Parameters: {"code"=>"
|
859
|
+
Parameters: {"code"=>"c2f18f2dfecc5450d1b6193c01132aa0462b9d9afe48d502e97658010c778b67", "state"=>"646fedba10beaedfe3100d6dd91e88ed23ad2bd8e6f455d7"}
|
969
860
|
Authenticating with gds_sso strategy
|
970
861
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
971
862
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
972
|
-
[1m[35m (0.
|
973
|
-
[1m[36m (0.
|
863
|
+
[1m[35m (0.0ms)[0m commit transaction
|
864
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
974
865
|
[1m[35m (0.0ms)[0m commit transaction
|
975
866
|
Redirected to http://www.example-client.com/restricted
|
976
867
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
977
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
868
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
978
869
|
Processing by ExampleController#restricted as HTML
|
979
870
|
[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"]]
|
980
871
|
Rendered text template (0.0ms)
|
981
872
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
982
873
|
[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"]]
|
983
|
-
[1m[36m (0.
|
984
|
-
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id",
|
985
|
-
[1m[36m (
|
986
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
874
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
875
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
|
876
|
+
[1m[36m (5.6ms)[0m [1mcommit transaction[0m
|
877
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
987
878
|
Processing by ExampleController#restricted as HTML
|
988
879
|
[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"]]
|
989
880
|
Authenticating with gds_sso strategy
|
990
881
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
991
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
992
|
-
Started GET "/auth/gds/callback?code=
|
882
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
883
|
+
Started GET "/auth/gds/callback?code=e3f8312a7cd2a30482279235f9746f314c3f81f158be73be48673f93ed843f46&state=e454f96b7bf27192f655c3faa1ba2e41dbfa614a7d5d7aa1" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
993
884
|
Processing by AuthenticationsController#callback as HTML
|
994
|
-
Parameters: {"code"=>"
|
885
|
+
Parameters: {"code"=>"e3f8312a7cd2a30482279235f9746f314c3f81f158be73be48673f93ed843f46", "state"=>"e454f96b7bf27192f655c3faa1ba2e41dbfa614a7d5d7aa1"}
|
995
886
|
Authenticating with gds_sso strategy
|
996
887
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
997
888
|
[1m[35m (0.1ms)[0m begin transaction
|
998
889
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
999
|
-
[1m[35m (0.
|
1000
|
-
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id",
|
1001
|
-
[1m[35m (5.
|
890
|
+
[1m[35m (0.1ms)[0m begin transaction
|
891
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
892
|
+
[1m[35m (5.9ms)[0m commit transaction
|
1002
893
|
Redirected to http://www.example-client.com/restricted
|
1003
|
-
Completed 302 Found in 10ms (ActiveRecord: 6.
|
1004
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
894
|
+
Completed 302 Found in 10ms (ActiveRecord: 6.3ms)
|
895
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
1005
896
|
Processing by ExampleController#restricted as HTML
|
1006
897
|
[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"]]
|
1007
898
|
Rendered text template (0.0ms)
|
1008
|
-
Completed 200 OK in 1ms (Views: 0.
|
1009
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
899
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
900
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
1010
901
|
Processing by ExampleController#restricted as HTML
|
1011
902
|
Authenticating with gds_sso strategy
|
1012
903
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1013
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1014
|
-
Started GET "/auth/gds/callback?code=
|
904
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
|
905
|
+
Started GET "/auth/gds/callback?code=60356317240338bc7b4a9f9f78b34ac1e664ad4f8154a193f8f6b94efb44f9eb&state=1b443d8b1ae9416f629b7fb6f82fcdc2bd490062a1bc7858" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
1015
906
|
Processing by AuthenticationsController#callback as HTML
|
1016
|
-
Parameters: {"code"=>"
|
907
|
+
Parameters: {"code"=>"60356317240338bc7b4a9f9f78b34ac1e664ad4f8154a193f8f6b94efb44f9eb", "state"=>"1b443d8b1ae9416f629b7fb6f82fcdc2bd490062a1bc7858"}
|
1017
908
|
Authenticating with gds_sso strategy
|
1018
909
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1019
910
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1020
|
-
[1m[35m (0.
|
911
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1021
912
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1022
|
-
[1m[35m (0.
|
913
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1023
914
|
Redirected to http://www.example-client.com/restricted
|
1024
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1025
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
915
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
916
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
1026
917
|
Processing by ExampleController#restricted as HTML
|
1027
918
|
[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"]]
|
1028
919
|
Rendered text template (0.0ms)
|
1029
|
-
Completed 200 OK in 1ms (Views: 0.
|
1030
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
920
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
921
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:12:06 +0000
|
1031
922
|
Processing by ExampleController#restricted as HTML
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
923
|
+
[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"]]
|
924
|
+
Rendered text template (0.0ms)
|
925
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
926
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
1036
927
|
Processing by ExampleController#restricted as HTML
|
1037
928
|
Authenticating with gds_sso strategy
|
1038
929
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1039
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1040
|
-
Started GET "/auth/gds/callback?code=
|
930
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
931
|
+
Started GET "/auth/gds/callback?code=92ca5975be3bd33149ea4a4a20bca4a196829b2346c084ccb97c530a71c7eea7&state=7c3d5656db2ae7501506441aa07fda6f97379cd54ee26605" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
1041
932
|
Processing by AuthenticationsController#callback as HTML
|
1042
|
-
Parameters: {"code"=>"
|
933
|
+
Parameters: {"code"=>"92ca5975be3bd33149ea4a4a20bca4a196829b2346c084ccb97c530a71c7eea7", "state"=>"7c3d5656db2ae7501506441aa07fda6f97379cd54ee26605"}
|
1043
934
|
Authenticating with gds_sso strategy
|
1044
|
-
[1m[
|
1045
|
-
[1m[
|
1046
|
-
[1m[
|
1047
|
-
[1m[
|
1048
|
-
[1m[
|
935
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
936
|
+
[1m[35m (0.1ms)[0m begin transaction
|
937
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
938
|
+
[1m[35m (0.0ms)[0m begin transaction
|
939
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
940
|
+
Redirected to http://www.example-client.com/restricted
|
941
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
942
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
943
|
+
Processing by ExampleController#restricted as HTML
|
944
|
+
[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"]]
|
945
|
+
Rendered text template (0.0ms)
|
946
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
947
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
|
948
|
+
Processing by ExampleController#restricted as HTML
|
949
|
+
Authenticating with gds_sso strategy
|
950
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
951
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
|
952
|
+
Started GET "/auth/gds/callback?code=452a43c6724a91466805dac7948ac2c6e7f565fefae52aea7ccd9171d42163bb&state=6560c6a842a8f24f856c46dd59291474dfcdc384594121b9" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
|
953
|
+
Processing by AuthenticationsController#callback as HTML
|
954
|
+
Parameters: {"code"=>"452a43c6724a91466805dac7948ac2c6e7f565fefae52aea7ccd9171d42163bb", "state"=>"6560c6a842a8f24f856c46dd59291474dfcdc384594121b9"}
|
955
|
+
Authenticating with gds_sso strategy
|
956
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
957
|
+
[1m[35m (0.1ms)[0m begin transaction
|
958
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
959
|
+
[1m[35m (0.1ms)[0m begin transaction
|
960
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1049
961
|
Redirected to http://www.example-client.com/restricted
|
1050
962
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1051
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
963
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
|
1052
964
|
Processing by ExampleController#restricted as HTML
|
1053
|
-
[1m[
|
965
|
+
[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"]]
|
1054
966
|
Rendered text template (0.0ms)
|
1055
967
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1056
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
968
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
1057
969
|
Processing by ExampleController#restricted as HTML
|
1058
970
|
Authenticating with gds_sso strategy
|
1059
|
-
Completed in
|
1060
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1061
|
-
Started GET "/auth/gds/callback?code=
|
971
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
972
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
973
|
+
Started GET "/auth/gds/callback?code=c8277e7236338bbd9169657daa908ff7c608c11ae2976ce08fed4bef75d9883f&state=52479bdbd91ad10bdaee20749b1c5409b001398c13ce0716" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
1062
974
|
Processing by AuthenticationsController#callback as HTML
|
1063
|
-
Parameters: {"code"=>"
|
975
|
+
Parameters: {"code"=>"c8277e7236338bbd9169657daa908ff7c608c11ae2976ce08fed4bef75d9883f", "state"=>"52479bdbd91ad10bdaee20749b1c5409b001398c13ce0716"}
|
1064
976
|
Authenticating with gds_sso strategy
|
1065
|
-
[1m[
|
1066
|
-
[1m[
|
1067
|
-
[1m[
|
1068
|
-
[1m[
|
1069
|
-
[1m[
|
977
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
978
|
+
[1m[35m (0.1ms)[0m begin transaction
|
979
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
980
|
+
[1m[35m (0.0ms)[0m begin transaction
|
981
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1070
982
|
Redirected to http://www.example-client.com/restricted
|
1071
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.
|
1072
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
983
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
984
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
1073
985
|
Processing by ExampleController#restricted as HTML
|
1074
|
-
[1m[
|
986
|
+
[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"]]
|
987
|
+
Rendered text template (0.0ms)
|
988
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
989
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
|
990
|
+
Processing by ExampleController#restricted as HTML
|
991
|
+
Authenticating with gds_sso strategy
|
992
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
993
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
|
994
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
995
|
+
Processing by ExampleController#restricted as JSON
|
996
|
+
Completed in 15ms (ActiveRecord: 0.0ms)
|
997
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
998
|
+
Processing by ExampleController#restricted as JSON
|
999
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1000
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1001
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 1]]
|
1002
|
+
[1m[35m (5.5ms)[0m commit transaction
|
1003
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1004
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1005
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1006
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1007
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1008
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1009
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1010
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1011
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1012
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1013
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1075
1014
|
Rendered text template (0.0ms)
|
1076
|
-
Completed 200 OK in
|
1077
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1078
|
-
Processing by ExampleController#restricted as
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
Started GET "/auth/gds/callback?code=4ed177f109a09e5246d60c5382a239599bea253b0761b0612cc00d5abf35b5d3&state=55b1087d0480f5946bd16d642f95cf6cf4580fa732eed4c8" for 127.0.0.1 at 2017-12-06 08:54:32 +0000
|
1083
|
-
Processing by AuthenticationsController#callback as HTML
|
1084
|
-
Parameters: {"code"=>"4ed177f109a09e5246d60c5382a239599bea253b0761b0612cc00d5abf35b5d3", "state"=>"55b1087d0480f5946bd16d642f95cf6cf4580fa732eed4c8"}
|
1085
|
-
Authenticating with gds_sso strategy
|
1015
|
+
Completed 200 OK in 70ms (Views: 0.3ms | ActiveRecord: 6.6ms)
|
1016
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
1017
|
+
Processing by ExampleController#restricted as JSON
|
1018
|
+
Completed in 23ms (ActiveRecord: 0.0ms)
|
1019
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
1020
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1086
1021
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1087
1022
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1088
1023
|
[1m[35m (0.1ms)[0m commit transaction
|
1024
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1025
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1026
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1027
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1089
1028
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1090
|
-
[1m[35m (0.
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
[1m[
|
1096
|
-
Rendered text template (0.0ms)
|
1097
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1098
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:49:32 +0000
|
1099
|
-
Processing by ExampleController#restricted as HTML
|
1100
|
-
[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"]]
|
1029
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1030
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1031
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1032
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1033
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1034
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1101
1035
|
Rendered text template (0.0ms)
|
1102
|
-
Completed 200 OK in
|
1103
|
-
[1m[
|
1104
|
-
[1m[
|
1036
|
+
Completed 200 OK in 63ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
1037
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
1038
|
+
[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"]]
|
1039
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1040
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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]]
|
1041
|
+
[1m[35m (4.3ms)[0m commit transaction
|
1042
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
1043
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1044
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1045
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1046
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d33176"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1047
|
+
[1m[35m (4.0ms)[0m commit transaction
|
1048
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1049
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31421"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1050
|
+
[1m[36m (5.2ms)[0m [1mcommit transaction[0m
|
1051
|
+
Processing by Api::UserController#reauth as HTML
|
1052
|
+
Parameters: {"uid"=>"a1s2d33176"}
|
1053
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1054
|
+
Completed 403 Forbidden in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
|
1055
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1056
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d36988"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1057
|
+
[1m[35m (4.0ms)[0m commit transaction
|
1058
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1059
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33638"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1060
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
1061
|
+
Processing by Api::UserController#reauth as HTML
|
1062
|
+
Parameters: {"uid"=>"a1s2d36988"}
|
1063
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d36988"]]
|
1064
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1065
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
|
1066
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
1067
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.3ms)
|
1068
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
1069
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1070
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34986"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1071
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
1072
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1073
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39939"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1074
|
+
[1m[35m (3.8ms)[0m commit transaction
|
1075
|
+
Processing by Api::UserController#reauth as HTML
|
1076
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1077
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
1078
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1079
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1080
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34377"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1081
|
+
[1m[35m (5.0ms)[0m commit transaction
|
1082
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1083
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38245"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1084
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
1085
|
+
Processing by Api::UserController#update as HTML
|
1086
|
+
Parameters: {"uid"=>"a1s2d34377"}
|
1087
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d34377"]]
|
1088
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1089
|
+
[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", 9]]
|
1090
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
1091
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
|
1092
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
|
1093
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1094
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37090"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1095
|
+
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
1096
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1097
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32452"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1098
|
+
[1m[35m (5.2ms)[0m commit transaction
|
1099
|
+
Processing by Api::UserController#update as HTML
|
1100
|
+
Parameters: {"uid"=>"a1s2d37090"}
|
1101
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
1102
|
+
Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1103
|
+
[1m[35m (6.6ms)[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
|
1104
|
+
[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
|
1105
1105
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
1106
1106
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1107
|
-
[1m[35mSQL (0.
|
1108
|
-
[1m[35m (
|
1109
|
-
[1m[35m (5.
|
1107
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2017-12-08 09:17:17 UTC], ["updated_at", 2017-12-08 09:17:17 UTC]]
|
1108
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1109
|
+
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1110
1110
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
1111
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1112
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1113
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:17 +0000
|
1114
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1115
|
+
[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]]
|
1116
|
+
[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]]
|
1117
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1118
|
+
[1m[35mSQL (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]]
|
1119
|
+
[1m[35m (8.9ms)[0m [1m[36mcommit transaction[0m
|
1120
|
+
[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]]
|
1121
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1122
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1123
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1124
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1125
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1126
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1127
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1128
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1129
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1130
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 1]]
|
1131
|
+
[1m[35m (7.2ms)[0m [1m[36mcommit transaction[0m
|
1132
|
+
Rendering text template
|
1133
|
+
Rendered text template (0.0ms)
|
1134
|
+
Completed 200 OK in 111ms (Views: 3.4ms | ActiveRecord: 18.1ms)
|
1135
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1136
|
+
Processing by ExampleController#restricted as JSON
|
1137
|
+
Completed in 26ms (ActiveRecord: 0.0ms)
|
1138
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1139
|
+
Processing by ExampleController#restricted as JSON
|
1140
|
+
Completed in 14ms (ActiveRecord: 0.0ms)
|
1141
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1142
|
+
Processing by ExampleController#restricted as JSON
|
1143
|
+
[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]]
|
1111
1144
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1112
1145
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1113
|
-
|
1114
|
-
|
1146
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1147
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1148
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1149
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1150
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1151
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1152
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1153
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1154
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1115
1155
|
Rendering text template
|
1116
1156
|
Rendered text template (0.0ms)
|
1117
|
-
Completed 200 OK in
|
1118
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
1157
|
+
Completed 200 OK in 64ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
1158
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1119
1159
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1120
1160
|
Authenticating with gds_sso strategy
|
1121
|
-
Completed in
|
1122
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1123
|
-
Started GET "/auth/gds/callback?code=
|
1161
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1162
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1163
|
+
Started GET "/auth/gds/callback?code=b6c285330f7d7aa4479fe6886516bdf3677fa3e3c2d5a34ada606fb3ae6d9c40&state=e3fff9e95e31722aa25220048f1ccde86b18718e17155c2a" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1124
1164
|
Processing by AuthenticationsController#callback as HTML
|
1125
|
-
Parameters: {"code"=>"
|
1165
|
+
Parameters: {"code"=>"b6c285330f7d7aa4479fe6886516bdf3677fa3e3c2d5a34ada606fb3ae6d9c40", "state"=>"e3fff9e95e31722aa25220048f1ccde86b18718e17155c2a"}
|
1126
1166
|
Authenticating with gds_sso strategy
|
1127
1167
|
[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]]
|
1128
|
-
[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]]
|
1129
1168
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1130
|
-
[1m[35mSQL (0.2ms)[0m [1m[
|
1131
|
-
[1m[35m (5.
|
1132
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1133
|
-
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 1]]
|
1134
|
-
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
1169
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", false], ["id", 1]]
|
1170
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
1135
1171
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1136
|
-
Completed 302 Found in
|
1137
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
1172
|
+
Completed 302 Found in 10ms (ActiveRecord: 6.3ms)
|
1173
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1138
1174
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1139
|
-
[1m[36mUser Load (0.
|
1175
|
+
[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", false], ["LIMIT", 1]]
|
1140
1176
|
Rendering text template
|
1141
1177
|
Rendered text template (0.0ms)
|
1142
|
-
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.
|
1143
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
1178
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1179
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1144
1180
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1145
1181
|
Authenticating with gds_sso strategy
|
1146
1182
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1147
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1148
|
-
Started GET "/auth/gds/callback?code=
|
1183
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1184
|
+
Started GET "/auth/gds/callback?code=d06de1284eb7ed2d0cd68b0360a20683aae6391d242a06ac48d1e752acac15a2&state=2b6a0eb982c0145fcadfa51d3e5c2c68534e2a62a13c2d81" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1149
1185
|
Processing by AuthenticationsController#callback as HTML
|
1150
|
-
Parameters: {"code"=>"
|
1186
|
+
Parameters: {"code"=>"d06de1284eb7ed2d0cd68b0360a20683aae6391d242a06ac48d1e752acac15a2", "state"=>"2b6a0eb982c0145fcadfa51d3e5c2c68534e2a62a13c2d81"}
|
1151
1187
|
Authenticating with gds_sso strategy
|
1152
1188
|
[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]]
|
1153
|
-
[1m[35m (0.
|
1154
|
-
[1m[35m (0.
|
1189
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1190
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1155
1191
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1156
1192
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1157
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
1193
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1158
1194
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1159
1195
|
[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", false], ["LIMIT", 1]]
|
1160
1196
|
Rendering text template
|
1161
1197
|
Rendered text template (0.0ms)
|
1162
1198
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1163
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1199
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1164
1200
|
Processing by ExampleController#restricted as HTML
|
1165
1201
|
Authenticating with gds_sso strategy
|
1166
1202
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1167
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1168
|
-
Started GET "/auth/gds/callback?code=
|
1203
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1204
|
+
Started GET "/auth/gds/callback?code=9f11c347d968ef4b5b53bc35aec59477e6306323de1b2703947cf700b1d1a130&state=6e4134fbd2d2dc49e9da7cf3210e135beb9647022dacf4f6" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1169
1205
|
Processing by AuthenticationsController#callback as HTML
|
1170
|
-
Parameters: {"code"=>"
|
1206
|
+
Parameters: {"code"=>"9f11c347d968ef4b5b53bc35aec59477e6306323de1b2703947cf700b1d1a130", "state"=>"6e4134fbd2d2dc49e9da7cf3210e135beb9647022dacf4f6"}
|
1171
1207
|
Authenticating with gds_sso strategy
|
1172
1208
|
[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]]
|
1173
|
-
[1m[35m (0.
|
1174
|
-
[1m[35m (0.
|
1209
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1210
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1175
1211
|
Redirected to http://www.example-client.com/restricted
|
1176
1212
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1177
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1213
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1178
1214
|
Processing by ExampleController#restricted as HTML
|
1179
|
-
[1m[36mUser Load (0.
|
1215
|
+
[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", false], ["LIMIT", 1]]
|
1180
1216
|
Rendering text template
|
1181
1217
|
Rendered text template (0.0ms)
|
1182
|
-
Completed 200 OK in
|
1183
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1218
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1219
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1184
1220
|
Processing by ExampleController#restricted as HTML
|
1185
1221
|
Authenticating with gds_sso strategy
|
1186
1222
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1187
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1188
|
-
Started GET "/auth/gds/callback?code=
|
1223
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1224
|
+
Started GET "/auth/gds/callback?code=4ab451f7918f92e11632dc5576b608925c7001af8934429ede61439ed0928708&state=96dbe154f60af4d0e5cc90e5cabaca9cfc8dc633fde8f0f6" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1189
1225
|
Processing by AuthenticationsController#callback as HTML
|
1190
|
-
Parameters: {"code"=>"
|
1226
|
+
Parameters: {"code"=>"4ab451f7918f92e11632dc5576b608925c7001af8934429ede61439ed0928708", "state"=>"96dbe154f60af4d0e5cc90e5cabaca9cfc8dc633fde8f0f6"}
|
1191
1227
|
Authenticating with gds_sso strategy
|
1192
1228
|
[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]]
|
1193
1229
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1194
1230
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1195
1231
|
Redirected to http://www.example-client.com/restricted
|
1196
1232
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1197
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1233
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1198
1234
|
Processing by ExampleController#restricted as HTML
|
1199
|
-
[1m[36mUser Load (0.
|
1235
|
+
[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", false], ["LIMIT", 1]]
|
1200
1236
|
Rendering text template
|
1201
1237
|
Rendered text template (0.0ms)
|
1202
|
-
Completed 200 OK in
|
1203
|
-
Started GET "/
|
1238
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1239
|
+
Started GET "/" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1240
|
+
Processing by ExampleController#index as HTML
|
1241
|
+
Rendering text template
|
1242
|
+
Rendered text template (0.0ms)
|
1243
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1244
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1204
1245
|
Processing by ExampleController#restricted as HTML
|
1205
1246
|
Authenticating with gds_sso strategy
|
1206
1247
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1207
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1208
|
-
Started GET "/auth/gds/callback?code=
|
1248
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1249
|
+
Started GET "/auth/gds/callback?code=1f141bb76e0021d4d8d3e98609e78e21dffc6a0e5236f82301c2cb1e96b7181f&state=d44608a1842cba5ee47a9dfaa5149dfb8bf6b05cce879b6e" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1209
1250
|
Processing by AuthenticationsController#callback as HTML
|
1210
|
-
Parameters: {"code"=>"
|
1251
|
+
Parameters: {"code"=>"1f141bb76e0021d4d8d3e98609e78e21dffc6a0e5236f82301c2cb1e96b7181f", "state"=>"d44608a1842cba5ee47a9dfaa5149dfb8bf6b05cce879b6e"}
|
1211
1252
|
Authenticating with gds_sso strategy
|
1212
|
-
[1m[36mUser Load (0.
|
1253
|
+
[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]]
|
1213
1254
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1214
|
-
[1m[35m (0.
|
1255
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1215
1256
|
Redirected to http://www.example-client.com/restricted
|
1216
|
-
Completed 302 Found in
|
1217
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1257
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1258
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1218
1259
|
Processing by ExampleController#restricted as HTML
|
1219
1260
|
[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", false], ["LIMIT", 1]]
|
1220
1261
|
Rendering text template
|
1221
1262
|
Rendered text template (0.0ms)
|
1222
|
-
Completed 200 OK in 2ms (Views: 0.
|
1223
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1263
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1264
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1224
1265
|
Processing by ExampleController#restricted as HTML
|
1225
1266
|
Authenticating with gds_sso strategy
|
1226
1267
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1227
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1228
|
-
Started GET "/auth/gds/callback?code=
|
1268
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1269
|
+
Started GET "/auth/gds/callback?code=c853a93efe549f49ea16b0dd9be991b7a72222e8eff69ab81c09a96b82bcde30&state=4c75ae3fcd60644e360c01ed31bf718f7ca906185dba0a10" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1229
1270
|
Processing by AuthenticationsController#callback as HTML
|
1230
|
-
Parameters: {"code"=>"
|
1271
|
+
Parameters: {"code"=>"c853a93efe549f49ea16b0dd9be991b7a72222e8eff69ab81c09a96b82bcde30", "state"=>"4c75ae3fcd60644e360c01ed31bf718f7ca906185dba0a10"}
|
1231
1272
|
Authenticating with gds_sso strategy
|
1232
1273
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1233
1274
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1234
1275
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1235
1276
|
Redirected to http://www.example-client.com/restricted
|
1236
1277
|
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1237
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1278
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1238
1279
|
Processing by ExampleController#restricted as HTML
|
1239
1280
|
[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", false], ["LIMIT", 1]]
|
1240
1281
|
Rendering text template
|
1241
1282
|
Rendered text template (0.0ms)
|
1242
|
-
Completed 200 OK in
|
1283
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1243
1284
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1244
|
-
[1m[35m (0.
|
1285
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1245
1286
|
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 1]]
|
1246
|
-
[1m[35m (
|
1247
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1287
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1288
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1248
1289
|
Processing by ExampleController#restricted as HTML
|
1249
1290
|
[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", false], ["LIMIT", 1]]
|
1250
1291
|
Authenticating with gds_sso strategy
|
1251
1292
|
Completed in 1ms (ActiveRecord: 0.2ms)
|
1252
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1253
|
-
Started GET "/auth/gds/callback?code=
|
1293
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1294
|
+
Started GET "/auth/gds/callback?code=3051cd86e0c5c80c80ad2b5d7ff85f916ca42cc17174bb338bb97be21972c1ba&state=ff8ab90e60f71a6b01bd9a3587edc804104ea2b498836926" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1254
1295
|
Processing by AuthenticationsController#callback as HTML
|
1255
|
-
Parameters: {"code"=>"
|
1296
|
+
Parameters: {"code"=>"3051cd86e0c5c80c80ad2b5d7ff85f916ca42cc17174bb338bb97be21972c1ba", "state"=>"ff8ab90e60f71a6b01bd9a3587edc804104ea2b498836926"}
|
1256
1297
|
Authenticating with gds_sso strategy
|
1257
|
-
[1m[36mUser Load (0.
|
1258
|
-
[1m[35m (0.
|
1259
|
-
[1m[35m (0.
|
1298
|
+
[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]]
|
1299
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1300
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1260
1301
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1261
1302
|
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 1]]
|
1262
|
-
[1m[35m (6.
|
1303
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
1263
1304
|
Redirected to http://www.example-client.com/restricted
|
1264
|
-
Completed 302 Found in
|
1265
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1305
|
+
Completed 302 Found in 11ms (ActiveRecord: 6.8ms)
|
1306
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1266
1307
|
Processing by ExampleController#restricted as HTML
|
1267
1308
|
[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", false], ["LIMIT", 1]]
|
1268
1309
|
Rendering text template
|
1269
1310
|
Rendered text template (0.0ms)
|
1270
1311
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1271
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1312
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1272
1313
|
Processing by ExampleController#restricted as HTML
|
1273
1314
|
Authenticating with gds_sso strategy
|
1274
1315
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1275
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1276
|
-
Started GET "/auth/gds/callback?code=
|
1316
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1317
|
+
Started GET "/auth/gds/callback?code=e8e93eacd2cfd06665dc343aed1a0b89b0ba609be336b99159cf58d9e0f000c8&state=453d14f4e3327c6132f8bc5ce231d3cc7c4e1b5a6d335669" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
|
1277
1318
|
Processing by AuthenticationsController#callback as HTML
|
1278
|
-
Parameters: {"code"=>"
|
1319
|
+
Parameters: {"code"=>"e8e93eacd2cfd06665dc343aed1a0b89b0ba609be336b99159cf58d9e0f000c8", "state"=>"453d14f4e3327c6132f8bc5ce231d3cc7c4e1b5a6d335669"}
|
1279
1320
|
Authenticating with gds_sso strategy
|
1280
1321
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1281
1322
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1282
1323
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1283
1324
|
Redirected to http://www.example-client.com/restricted
|
1284
1325
|
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1285
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1326
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
|
1286
1327
|
Processing by ExampleController#restricted as HTML
|
1287
1328
|
[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", false], ["LIMIT", 1]]
|
1288
1329
|
Rendering text template
|
1289
1330
|
Rendered text template (0.0ms)
|
1290
1331
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1291
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1292
|
-
Processing by ExampleController#restricted as HTML
|
1293
|
-
[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", false], ["LIMIT", 1]]
|
1294
|
-
Rendering text template
|
1295
|
-
Rendered text template (0.0ms)
|
1296
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1297
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1332
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
|
1298
1333
|
Processing by ExampleController#restricted as HTML
|
1299
1334
|
Authenticating with gds_sso strategy
|
1300
1335
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1301
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1302
|
-
Started GET "/auth/gds/callback?code=
|
1336
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
|
1337
|
+
Started GET "/auth/gds/callback?code=110078bd2324d66ccdb485fb5e843adf07b264085fb986f8a3263b4e9f85267b&state=9941d26bd73d4ad1e52c3a0fcb54a94f185c6f6dbf77fcb9" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
|
1303
1338
|
Processing by AuthenticationsController#callback as HTML
|
1304
|
-
Parameters: {"code"=>"
|
1339
|
+
Parameters: {"code"=>"110078bd2324d66ccdb485fb5e843adf07b264085fb986f8a3263b4e9f85267b", "state"=>"9941d26bd73d4ad1e52c3a0fcb54a94f185c6f6dbf77fcb9"}
|
1305
1340
|
Authenticating with gds_sso strategy
|
1306
|
-
[1m[36mUser Load (0.
|
1341
|
+
[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]]
|
1307
1342
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1308
|
-
[1m[35m (0.
|
1343
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1309
1344
|
Redirected to http://www.example-client.com/restricted
|
1310
1345
|
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1311
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1346
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
|
1312
1347
|
Processing by ExampleController#restricted as HTML
|
1313
1348
|
[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", false], ["LIMIT", 1]]
|
1314
1349
|
Rendering text template
|
1315
1350
|
Rendered text template (0.0ms)
|
1316
|
-
Completed 200 OK in 2ms (Views: 0.
|
1317
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1351
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1352
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
|
1318
1353
|
Processing by ExampleController#restricted as HTML
|
1319
1354
|
Authenticating with gds_sso strategy
|
1320
1355
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1321
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1322
|
-
Started GET "/auth/gds/callback?code=
|
1356
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
|
1357
|
+
Started GET "/auth/gds/callback?code=459f1919bbce1a6fddb01cb06c645e16466d233dca1e006079d856f3ea72834a&state=51a3299c4bc40a81a9de747eccea3cd2e3f656016b5cc6b0" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
|
1323
1358
|
Processing by AuthenticationsController#callback as HTML
|
1324
|
-
Parameters: {"code"=>"
|
1359
|
+
Parameters: {"code"=>"459f1919bbce1a6fddb01cb06c645e16466d233dca1e006079d856f3ea72834a", "state"=>"51a3299c4bc40a81a9de747eccea3cd2e3f656016b5cc6b0"}
|
1325
1360
|
Authenticating with gds_sso strategy
|
1326
|
-
[1m[36mUser Load (0.
|
1361
|
+
[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]]
|
1327
1362
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1328
|
-
[1m[35m (0.
|
1363
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1329
1364
|
Redirected to http://www.example-client.com/restricted
|
1330
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1331
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1365
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1366
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
|
1332
1367
|
Processing by ExampleController#restricted as HTML
|
1333
1368
|
[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", false], ["LIMIT", 1]]
|
1334
1369
|
Rendering text template
|
1335
1370
|
Rendered text template (0.0ms)
|
1336
|
-
Completed 200 OK in 2ms (Views: 0.
|
1337
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1371
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1372
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
|
1373
|
+
Processing by ExampleController#restricted as HTML
|
1374
|
+
Authenticating with gds_sso strategy
|
1375
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1376
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
|
1377
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
|
1338
1378
|
Processing by ExampleController#restricted as HTML
|
1339
1379
|
Authenticating with gds_sso strategy
|
1340
1380
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1341
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1342
|
-
Started GET "/auth/gds/callback?code=
|
1381
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
|
1382
|
+
Started GET "/auth/gds/callback?code=ff39b5d2bc1d38ea11f69c668156fc9119772a163fa8186e9a245717b1f70211&state=45d5479b2a870b9f5838f7645c3be3cd6da1ed6e8b0b475a" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
|
1343
1383
|
Processing by AuthenticationsController#callback as HTML
|
1344
|
-
Parameters: {"code"=>"
|
1384
|
+
Parameters: {"code"=>"ff39b5d2bc1d38ea11f69c668156fc9119772a163fa8186e9a245717b1f70211", "state"=>"45d5479b2a870b9f5838f7645c3be3cd6da1ed6e8b0b475a"}
|
1345
1385
|
Authenticating with gds_sso strategy
|
1346
|
-
[1m[36mUser Load (0.
|
1386
|
+
[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]]
|
1347
1387
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1348
1388
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1349
1389
|
Redirected to http://www.example-client.com/restricted
|
1350
|
-
Completed 302 Found in
|
1351
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1390
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1391
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
|
1352
1392
|
Processing by ExampleController#restricted as HTML
|
1353
|
-
[1m[36mUser Load (0.
|
1393
|
+
[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", false], ["LIMIT", 1]]
|
1354
1394
|
Rendering text template
|
1355
1395
|
Rendered text template (0.0ms)
|
1356
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
1357
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1396
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1397
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:12:20 +0000
|
1358
1398
|
Processing by ExampleController#restricted as HTML
|
1359
|
-
|
1360
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
1361
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:40 +0000
|
1362
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
|
1363
|
-
Processing by ExampleController#restricted as JSON
|
1364
|
-
Completed in 27ms (ActiveRecord: 0.0ms)
|
1365
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
|
1366
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
1367
|
-
[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]]
|
1368
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1369
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 1]]
|
1370
|
-
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
1371
|
-
[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]]
|
1372
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1373
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1374
|
-
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1375
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1376
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1377
|
-
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1378
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1379
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
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", false], ["LIMIT", 1]]
|
1380
1400
|
Rendering text template
|
1381
1401
|
Rendered text template (0.0ms)
|
1382
|
-
Completed 200 OK in
|
1383
|
-
|
1384
|
-
|
1385
|
-
[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]]
|
1386
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1387
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1388
|
-
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1402
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1403
|
+
[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]]
|
1404
|
+
[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]]
|
1389
1405
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1390
|
-
[1m[
|
1391
|
-
[1m[
|
1406
|
+
[1m[35mSQL (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]]
|
1407
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
1408
|
+
[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]]
|
1392
1409
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1393
|
-
[1m[35m (0.
|
1394
|
-
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1410
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1395
1411
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1396
|
-
[1m[
|
1397
|
-
|
1398
|
-
Rendered text template (0.0ms)
|
1399
|
-
Completed 200 OK in 69ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
1400
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
|
1401
|
-
Processing by ExampleController#restricted as JSON
|
1402
|
-
Completed in 13ms (ActiveRecord: 0.0ms)
|
1403
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1404
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33464"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1405
|
-
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
1412
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34992"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1413
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1406
1414
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1407
|
-
[1m[35mSQL (0.
|
1408
|
-
[1m[35m (
|
1415
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34920"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1416
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
1409
1417
|
Processing by Api::UserController#update as HTML
|
1410
|
-
Parameters: {"uid"=>"
|
1411
|
-
[1m[36mUser Load (0.
|
1412
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1413
|
-
[1m[35mSQL (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", 2]]
|
1414
|
-
[1m[35m (5.5ms)[0m [1m[36mcommit transaction[0m
|
1415
|
-
Completed 200 OK in 10ms (ActiveRecord: 5.9ms)
|
1416
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
1417
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1418
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37396"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1419
|
-
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
1418
|
+
Parameters: {"uid"=>"a1s2d34992"}
|
1419
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34992"], ["LIMIT", 1]]
|
1420
1420
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1421
|
-
[1m[35mSQL (0.
|
1422
|
-
[1m[35m (
|
1423
|
-
|
1424
|
-
|
1425
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1426
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1427
|
-
Completed 403 Forbidden in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
|
1421
|
+
[1m[35mSQL (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]]
|
1422
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1423
|
+
Completed 200 OK in 9ms (ActiveRecord: 5.6ms)
|
1424
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
1428
1425
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1429
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
1430
|
-
[1m[35m (
|
1426
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36717"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1427
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1431
1428
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1432
|
-
[1m[35mSQL (0.
|
1433
|
-
[1m[35m (
|
1434
|
-
Processing by Api::UserController#
|
1435
|
-
Parameters: {"uid"=>"
|
1429
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34089"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1430
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1431
|
+
Processing by Api::UserController#update as HTML
|
1432
|
+
Parameters: {"uid"=>"a1s2d36717"}
|
1436
1433
|
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1437
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
1438
|
-
Completed 403 Forbidden in
|
1439
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1440
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32935"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1441
|
-
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
1434
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1435
|
+
Completed 403 Forbidden in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
|
1442
1436
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1443
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
1444
|
-
[1m[35m (5.
|
1437
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35029"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1438
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1439
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1440
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33609"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1441
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1445
1442
|
Processing by Api::UserController#reauth as HTML
|
1446
1443
|
Parameters: {"uid"=>"nonexistent-user"}
|
1447
1444
|
[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]]
|
1448
1445
|
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1449
|
-
[1m[35m (0.
|
1450
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
1451
|
-
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1452
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1453
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33244"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1446
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1447
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38184"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1454
1448
|
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1449
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1450
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38755"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1451
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1455
1452
|
Processing by Api::UserController#reauth as HTML
|
1456
|
-
Parameters: {"uid"=>"
|
1457
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
1453
|
+
Parameters: {"uid"=>"a1s2d38184"}
|
1454
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38184"], ["LIMIT", 1]]
|
1458
1455
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1459
|
-
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id",
|
1456
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 9]]
|
1460
1457
|
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1461
1458
|
Completed 200 OK in 8ms (ActiveRecord: 5.5ms)
|
1462
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id",
|
1463
|
-
[1m[
|
1464
|
-
[1m[
|
1465
|
-
[1m[35m (
|
1466
|
-
[1m[35mSQL (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]]
|
1467
|
-
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
1468
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1459
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
1460
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1461
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31951"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1462
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
1469
1463
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1470
|
-
[1m[
|
1464
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32948"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1465
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1466
|
+
Processing by Api::UserController#reauth as HTML
|
1467
|
+
Parameters: {"uid"=>"a1s2d31951"}
|
1468
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1469
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
1470
|
+
Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|