gds-sso 16.0.2 → 16.1.0
Sign up to get free protection for your applications and to get access to all the features.
data/spec/internal/log/test.log
CHANGED
@@ -1,168 +1,102 @@
|
|
1
1
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
2
|
-
[1m[35m (
|
3
|
-
[1m[35m (
|
4
|
-
[1m[35m (
|
2
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3
|
+
[1m[35m (9.2ms)[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
|
4
|
+
[1m[35m (7.4ms)[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
|
5
5
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
6
6
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
8
|
-
[1m[35m (
|
9
|
-
[1m[35m (
|
7
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2022-04-07 15:43:10.901473"], ["updated_at", "2022-04-07 15:43:10.901473"]]
|
8
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
9
|
+
[1m[35m (6.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
10
10
|
[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]]
|
11
11
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
12
12
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
13
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:11 +0000
|
14
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
15
|
+
[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]]
|
16
|
+
[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]]
|
13
17
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
14
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
15
|
-
[1m[35m (7.
|
16
|
-
[1m[
|
17
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33438"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
18
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
19
|
-
Processing by Api::UserController#update as HTML
|
20
|
-
Parameters: {"uid"=>"a1s2d34140"}
|
21
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34140"], ["LIMIT", 1]]
|
22
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
23
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 1]]
|
24
|
-
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
25
|
-
Completed 200 OK in 8ms (ActiveRecord: 5.7ms)
|
26
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
27
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
28
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35903"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
29
|
-
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
30
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
31
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37660"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
32
|
-
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
33
|
-
Processing by Api::UserController#update as HTML
|
34
|
-
Parameters: {"uid"=>"a1s2d35903"}
|
35
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
36
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
37
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
38
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
39
|
-
Completed 403 Forbidden in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
40
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
41
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32580"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
42
|
-
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
43
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
44
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3720"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
45
|
-
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
46
|
-
Processing by Api::UserController#reauth as HTML
|
47
|
-
Parameters: {"uid"=>"a1s2d32580"}
|
48
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
49
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
50
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
51
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
52
|
-
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
18
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
19
|
+
[1m[35m (7.9ms)[0m [1m[36mcommit transaction[0m
|
20
|
+
[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]]
|
53
21
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
54
|
-
[1m[
|
55
|
-
[1m[
|
22
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
23
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
56
24
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
57
|
-
[1m[
|
58
|
-
[1m[
|
59
|
-
Processing by Api::UserController#reauth as HTML
|
60
|
-
Parameters: {"uid"=>"a1s2d36052"}
|
61
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36052"], ["LIMIT", 1]]
|
25
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
26
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
62
27
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
63
|
-
[1m[
|
64
|
-
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
65
|
-
Completed 200 OK in 7ms (ActiveRecord: 5.8ms)
|
66
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
28
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
67
29
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
68
|
-
[1m[36mUser
|
69
|
-
[1m[35m (5.
|
30
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
31
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
32
|
+
Rendering text template
|
33
|
+
Rendered text template (0.0ms)
|
34
|
+
Completed 200 OK in 198ms (Views: 2.5ms | ActiveRecord: 14.8ms)
|
35
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:11 +0000
|
36
|
+
Processing by ExampleController#restricted as JSON
|
37
|
+
Completed in 169ms (ActiveRecord: 0.0ms)
|
38
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:11 +0000
|
39
|
+
Processing by ExampleController#restricted as JSON
|
40
|
+
Completed in 13ms (ActiveRecord: 0.0ms)
|
41
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:11 +0000
|
42
|
+
Processing by ExampleController#restricted as JSON
|
43
|
+
[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]]
|
70
44
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
71
|
-
[1m[
|
72
|
-
[1m[
|
73
|
-
Processing by Api::UserController#reauth as HTML
|
74
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
75
|
-
[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]]
|
76
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
77
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
45
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
46
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
78
47
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
79
|
-
[1m[
|
80
|
-
[1m[
|
48
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
49
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
81
50
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
82
|
-
[1m[
|
83
|
-
[1m[
|
84
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
85
|
-
Processing by ExampleController#restricted as HTML
|
86
|
-
Authenticating with gds_sso strategy
|
87
|
-
Completed in 4ms (ActiveRecord: 0.0ms)
|
88
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
89
|
-
Started GET "/auth/gds/callback?code=hS54I-syiSt6cTUJlW_JPmtwB3CHImteLUO8RpWSyLg&state=33bd83f95c9e0413080a3a48934234773209ea349da1dab0" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
90
|
-
Processing by AuthenticationsController#callback as HTML
|
91
|
-
Parameters: {"code"=>"hS54I-syiSt6cTUJlW_JPmtwB3CHImteLUO8RpWSyLg", "state"=>"33bd83f95c9e0413080a3a48934234773209ea349da1dab0"}
|
92
|
-
Authenticating with gds_sso strategy
|
93
|
-
[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]]
|
94
|
-
[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]]
|
51
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
52
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
95
53
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
96
|
-
[1m[
|
97
|
-
[1m[35m (8.8ms)[0m [1m[36mcommit transaction[0m
|
54
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
98
55
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
99
|
-
[1m[
|
100
|
-
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
101
|
-
Redirected to http://www.example-client.com/restricted
|
102
|
-
Completed 302 Found in 19ms (ActiveRecord: 15.9ms)
|
103
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
104
|
-
Processing by ExampleController#restricted as HTML
|
105
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
56
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
106
57
|
Rendering text template
|
107
58
|
Rendered text template (0.0ms)
|
108
|
-
Completed 200 OK in
|
109
|
-
Started GET "/restricted" for 127.0.0.1 at
|
59
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
60
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
110
61
|
Processing by ExampleController#restricted as HTML
|
111
62
|
Authenticating with gds_sso strategy
|
112
63
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
113
|
-
Started GET "/
|
114
|
-
|
115
|
-
Processing by AuthenticationsController#callback as HTML
|
116
|
-
Parameters: {"code"=>"iI9yA-NJQE8Jeix0k9L51l1OUnBdo8ppBZxs2WuPoxI", "state"=>"374306e1b514a61e5d1b460852b53437b7290d8f83a0f560"}
|
117
|
-
Authenticating with gds_sso strategy
|
118
|
-
[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]]
|
119
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
120
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
121
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
122
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
123
|
-
Redirected to http://www.example-client.com/restricted
|
124
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
125
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
126
|
-
Processing by ExampleController#restricted as HTML
|
127
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
64
|
+
Started GET "/" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
65
|
+
Processing by ExampleController#index as HTML
|
128
66
|
Rendering text template
|
129
67
|
Rendered text template (0.0ms)
|
130
|
-
Completed 200 OK in
|
131
|
-
Started GET "/restricted" for 127.0.0.1 at
|
68
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
69
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
132
70
|
Processing by ExampleController#restricted as HTML
|
133
71
|
Authenticating with gds_sso strategy
|
134
72
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
135
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
136
|
-
Started GET "/auth/gds/callback?code=
|
73
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
74
|
+
Started GET "/auth/gds/callback?code=5ADFxAgDutEgVitzh2zpr3eQRKwPEFAy2gB429ej-iE&state=cabf29c5fcf28465340442660c810137775aa163126080ca" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
137
75
|
Processing by AuthenticationsController#callback as HTML
|
138
|
-
Parameters: {"code"=>"
|
76
|
+
Parameters: {"code"=>"5ADFxAgDutEgVitzh2zpr3eQRKwPEFAy2gB429ej-iE", "state"=>"cabf29c5fcf28465340442660c810137775aa163126080ca"}
|
139
77
|
Authenticating with gds_sso strategy
|
140
78
|
[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]]
|
141
79
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
142
|
-
[1m[
|
80
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 1]]
|
81
|
+
[1m[35m (12.4ms)[0m [1m[36mcommit transaction[0m
|
143
82
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
144
83
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
145
84
|
Redirected to http://www.example-client.com/restricted
|
146
|
-
Completed 302 Found in
|
147
|
-
Started GET "/restricted" for 127.0.0.1 at
|
85
|
+
Completed 302 Found in 16ms (ActiveRecord: 12.9ms)
|
86
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
148
87
|
Processing by ExampleController#restricted as HTML
|
149
|
-
[1m[36mUser Load (0.
|
150
|
-
Rendering text template
|
151
|
-
Rendered text template (0.0ms)
|
152
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
153
|
-
Started GET "/" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
154
|
-
Processing by ExampleController#index as HTML
|
88
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
155
89
|
Rendering text template
|
156
90
|
Rendered text template (0.0ms)
|
157
|
-
Completed 200 OK in
|
158
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
91
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
92
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
159
93
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
160
94
|
Authenticating with gds_sso strategy
|
161
95
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
162
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
163
|
-
Started GET "/auth/gds/callback?code=
|
96
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
97
|
+
Started GET "/auth/gds/callback?code=jvlV6CffWTgMLnHOyZSWYvzD3FVm7QNOhp_OH-pyfGU&state=c71389f395feb6d1cb50042da53e2833b59dbf64b61509a9" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
164
98
|
Processing by AuthenticationsController#callback as HTML
|
165
|
-
Parameters: {"code"=>"
|
99
|
+
Parameters: {"code"=>"jvlV6CffWTgMLnHOyZSWYvzD3FVm7QNOhp_OH-pyfGU", "state"=>"c71389f395feb6d1cb50042da53e2833b59dbf64b61509a9"}
|
166
100
|
Authenticating with gds_sso strategy
|
167
101
|
[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]]
|
168
102
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -171,86 +105,86 @@ Authenticating with gds_sso strategy
|
|
171
105
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
172
106
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
173
107
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
174
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
108
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
175
109
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
176
110
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
177
111
|
Rendering text template
|
178
112
|
Rendered text template (0.0ms)
|
179
113
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
180
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
114
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
181
115
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
182
116
|
Authenticating with gds_sso strategy
|
183
117
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
184
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
185
|
-
Started GET "/auth/gds/callback?code=
|
118
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
119
|
+
Started GET "/auth/gds/callback?code=96kQX7jDBCYsiHie7KlJnLGKDj4SbIo5ONJjwCfof80&state=7cf121b6c8ffcf837b9d23b8770a3098121d55c2a6bcff33" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
186
120
|
Processing by AuthenticationsController#callback as HTML
|
187
|
-
Parameters: {"code"=>"
|
121
|
+
Parameters: {"code"=>"96kQX7jDBCYsiHie7KlJnLGKDj4SbIo5ONJjwCfof80", "state"=>"7cf121b6c8ffcf837b9d23b8770a3098121d55c2a6bcff33"}
|
188
122
|
Authenticating with gds_sso strategy
|
189
|
-
[1m[36mUser Load (0.
|
123
|
+
[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]]
|
190
124
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
191
|
-
[1m[35m (0.
|
125
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
192
126
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
193
127
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
194
128
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
195
|
-
Completed 302 Found in
|
196
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
129
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
130
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
197
131
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
198
132
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
199
133
|
Rendering text template
|
200
134
|
Rendered text template (0.0ms)
|
201
135
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
202
|
-
Started GET "/restricted" for 127.0.0.1 at
|
136
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
203
137
|
Processing by ExampleController#restricted as HTML
|
204
138
|
Authenticating with gds_sso strategy
|
205
139
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
206
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
207
|
-
Started GET "/auth/gds/callback?code=
|
140
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
141
|
+
Started GET "/auth/gds/callback?code=Vxir3g1Cn6153ffAEO7JR8oVLgRruQkCrtncJP1zpYU&state=2e1a037d215d89d8ad934ea117edc1db8989f315b1c51a38" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
208
142
|
Processing by AuthenticationsController#callback as HTML
|
209
|
-
Parameters: {"code"=>"
|
143
|
+
Parameters: {"code"=>"Vxir3g1Cn6153ffAEO7JR8oVLgRruQkCrtncJP1zpYU", "state"=>"2e1a037d215d89d8ad934ea117edc1db8989f315b1c51a38"}
|
210
144
|
Authenticating with gds_sso strategy
|
211
145
|
[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]]
|
212
|
-
[1m[35m (0.
|
146
|
+
[1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
|
213
147
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
214
148
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
215
149
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
216
150
|
Redirected to http://www.example-client.com/restricted
|
217
|
-
Completed 302 Found in
|
218
|
-
Started GET "/restricted" for 127.0.0.1 at
|
151
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.7ms)
|
152
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
219
153
|
Processing by ExampleController#restricted as HTML
|
220
154
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
221
155
|
Rendering text template
|
222
156
|
Rendered text template (0.0ms)
|
223
157
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
224
|
-
Started GET "/restricted" for 127.0.0.1 at
|
158
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
225
159
|
Processing by ExampleController#restricted as HTML
|
226
160
|
Authenticating with gds_sso strategy
|
227
161
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
228
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
229
|
-
Started GET "/auth/gds/callback?code=
|
162
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
163
|
+
Started GET "/auth/gds/callback?code=mhHa4rODrJIIaLhb3KDAf-fWjxF_RcL7Fbb3xb8enJg&state=45781057dfb4712c5a637cb9c4d19d2393eb52123f314fb1" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
230
164
|
Processing by AuthenticationsController#callback as HTML
|
231
|
-
Parameters: {"code"=>"
|
165
|
+
Parameters: {"code"=>"mhHa4rODrJIIaLhb3KDAf-fWjxF_RcL7Fbb3xb8enJg", "state"=>"45781057dfb4712c5a637cb9c4d19d2393eb52123f314fb1"}
|
232
166
|
Authenticating with gds_sso strategy
|
233
167
|
[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]]
|
234
|
-
[1m[35m (0.
|
168
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
235
169
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
236
170
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
237
171
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
238
172
|
Redirected to http://www.example-client.com/restricted
|
239
|
-
Completed 302 Found in
|
240
|
-
Started GET "/restricted" for 127.0.0.1 at
|
173
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
174
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
241
175
|
Processing by ExampleController#restricted as HTML
|
242
176
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
243
177
|
Rendering text template
|
244
178
|
Rendered text template (0.0ms)
|
245
179
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
246
|
-
Started GET "/restricted" for 127.0.0.1 at
|
180
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
247
181
|
Processing by ExampleController#restricted as HTML
|
248
182
|
Authenticating with gds_sso strategy
|
249
183
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
250
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
251
|
-
Started GET "/auth/gds/callback?code=
|
184
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
185
|
+
Started GET "/auth/gds/callback?code=vbZt-fmTatbFo3AFEAbEsSgm9LIs7rRDiQvIWRVw3xE&state=5999e4d770b3270f8526dda85ad08c7d4baaf34c5f5a7805" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
252
186
|
Processing by AuthenticationsController#callback as HTML
|
253
|
-
Parameters: {"code"=>"
|
187
|
+
Parameters: {"code"=>"vbZt-fmTatbFo3AFEAbEsSgm9LIs7rRDiQvIWRVw3xE", "state"=>"5999e4d770b3270f8526dda85ad08c7d4baaf34c5f5a7805"}
|
254
188
|
Authenticating with gds_sso strategy
|
255
189
|
[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]]
|
256
190
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -258,26 +192,26 @@ Authenticating with gds_sso strategy
|
|
258
192
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
259
193
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
260
194
|
Redirected to http://www.example-client.com/restricted
|
261
|
-
Completed 302 Found in
|
262
|
-
Started GET "/restricted" for 127.0.0.1 at
|
195
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
196
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
263
197
|
Processing by ExampleController#restricted as HTML
|
264
198
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
265
199
|
Rendering text template
|
266
200
|
Rendered text template (0.0ms)
|
267
201
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
268
|
-
Started GET "/restricted" for 127.0.0.1 at
|
202
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:12 +0000
|
269
203
|
Processing by ExampleController#restricted as HTML
|
270
204
|
Authenticating with gds_sso strategy
|
271
205
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
272
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
273
|
-
Started GET "/restricted" for 127.0.0.1 at
|
206
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:12 +0000
|
207
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
274
208
|
Processing by ExampleController#restricted as HTML
|
275
209
|
Authenticating with gds_sso strategy
|
276
210
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
277
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
278
|
-
Started GET "/auth/gds/callback?code=
|
211
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
212
|
+
Started GET "/auth/gds/callback?code=8mCJQ05gvq48LChwesxfjef_ek1AOn6l2M3W93074-s&state=08046952d6542569acaaedc96c57e6599cd7e9b4bede17d0" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
279
213
|
Processing by AuthenticationsController#callback as HTML
|
280
|
-
Parameters: {"code"=>"
|
214
|
+
Parameters: {"code"=>"8mCJQ05gvq48LChwesxfjef_ek1AOn6l2M3W93074-s", "state"=>"08046952d6542569acaaedc96c57e6599cd7e9b4bede17d0"}
|
281
215
|
Authenticating with gds_sso strategy
|
282
216
|
[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]]
|
283
217
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -286,26 +220,26 @@ Authenticating with gds_sso strategy
|
|
286
220
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
287
221
|
Redirected to http://www.example-client.com/restricted
|
288
222
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
289
|
-
Started GET "/restricted" for 127.0.0.1 at
|
223
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
290
224
|
Processing by ExampleController#restricted as HTML
|
291
225
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
292
226
|
Rendering text template
|
293
227
|
Rendered text template (0.0ms)
|
294
228
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
295
|
-
Started GET "/restricted" for 127.0.0.1 at
|
229
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:38:12 +0000
|
296
230
|
Processing by ExampleController#restricted as HTML
|
297
231
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
298
232
|
Rendering text template
|
299
233
|
Rendered text template (0.0ms)
|
300
234
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
301
|
-
Started GET "/restricted" for 127.0.0.1 at
|
235
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
302
236
|
Processing by ExampleController#restricted as HTML
|
303
237
|
Authenticating with gds_sso strategy
|
304
238
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
305
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
306
|
-
Started GET "/auth/gds/callback?code=
|
239
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
240
|
+
Started GET "/auth/gds/callback?code=ms0s_Uj4Zc32MpWkr9urclHbvSg37HAlxHQVMWHJMJA&state=fa3ce9273de4d4fef8037eb36e1c9267399bbed68377d6d8" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
307
241
|
Processing by AuthenticationsController#callback as HTML
|
308
|
-
Parameters: {"code"=>"
|
242
|
+
Parameters: {"code"=>"ms0s_Uj4Zc32MpWkr9urclHbvSg37HAlxHQVMWHJMJA", "state"=>"fa3ce9273de4d4fef8037eb36e1c9267399bbed68377d6d8"}
|
309
243
|
Authenticating with gds_sso strategy
|
310
244
|
[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]]
|
311
245
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -313,415 +247,467 @@ Authenticating with gds_sso strategy
|
|
313
247
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
314
248
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
315
249
|
Redirected to http://www.example-client.com/restricted
|
316
|
-
Completed 302 Found in
|
317
|
-
Started GET "/restricted" for 127.0.0.1 at
|
250
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
251
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
318
252
|
Processing by ExampleController#restricted as HTML
|
319
253
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
320
254
|
Rendering text template
|
321
255
|
Rendered text template (0.0ms)
|
322
256
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
323
|
-
|
324
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
325
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 12]]
|
326
|
-
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
327
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
257
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:12 +0000
|
328
258
|
Processing by ExampleController#restricted as HTML
|
329
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
330
259
|
Authenticating with gds_sso strategy
|
331
|
-
Completed in
|
332
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
333
|
-
Started GET "/auth/gds/callback?code=
|
260
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
261
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:12 +0000
|
262
|
+
Started GET "/auth/gds/callback?code=kKR3WqRpqIFt5z2j4ejZYNogo9I3NkCYz_eIlJ2mXQ0&state=07416326b070c356660bcc60f7a8dea20da38e23eb73738a" for 127.0.0.1 at 2022-04-08 11:48:12 +0000
|
334
263
|
Processing by AuthenticationsController#callback as HTML
|
335
|
-
Parameters: {"code"=>"
|
264
|
+
Parameters: {"code"=>"kKR3WqRpqIFt5z2j4ejZYNogo9I3NkCYz_eIlJ2mXQ0", "state"=>"07416326b070c356660bcc60f7a8dea20da38e23eb73738a"}
|
336
265
|
Authenticating with gds_sso strategy
|
337
266
|
[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]]
|
338
267
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
339
268
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
340
269
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
341
|
-
[1m[
|
342
|
-
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
270
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
343
271
|
Redirected to http://www.example-client.com/restricted
|
344
|
-
Completed 302 Found in
|
345
|
-
Started GET "/restricted" for 127.0.0.1 at
|
272
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
273
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:12 +0000
|
346
274
|
Processing by ExampleController#restricted as HTML
|
347
275
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
348
276
|
Rendering text template
|
349
277
|
Rendered text template (0.0ms)
|
350
|
-
Completed 200 OK in 1ms (Views: 0.
|
351
|
-
Started GET "/restricted" for 127.0.0.1 at
|
278
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
279
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
352
280
|
Processing by ExampleController#restricted as HTML
|
353
281
|
Authenticating with gds_sso strategy
|
354
|
-
Completed in
|
355
|
-
Started GET "/
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
[1m[35m (11.9ms)[0m [1m[36mcommit transaction[0m
|
282
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
283
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
284
|
+
Started GET "/auth/gds/callback?code=5j2jQqGaFQKI8jSVkX_fD9VTIQ6bDgKfcHUBVLxbI1Y&state=9655ef50db802fed53baaec520f66ef566da5f5a231167e2" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
285
|
+
Processing by AuthenticationsController#callback as HTML
|
286
|
+
Parameters: {"code"=>"5j2jQqGaFQKI8jSVkX_fD9VTIQ6bDgKfcHUBVLxbI1Y", "state"=>"9655ef50db802fed53baaec520f66ef566da5f5a231167e2"}
|
287
|
+
Authenticating with gds_sso strategy
|
361
288
|
[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]]
|
362
289
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
363
290
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
364
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
365
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
366
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
367
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
368
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
369
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
370
291
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
371
292
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
293
|
+
Redirected to http://www.example-client.com/restricted
|
294
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
295
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
296
|
+
Processing by ExampleController#restricted as HTML
|
297
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
372
298
|
Rendering text template
|
373
299
|
Rendered text template (0.0ms)
|
374
|
-
Completed 200 OK in
|
375
|
-
|
376
|
-
Processing by ExampleController#restricted as JSON
|
377
|
-
Completed in 7ms (ActiveRecord: 0.0ms)
|
378
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
379
|
-
Processing by ExampleController#restricted as JSON
|
380
|
-
[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]]
|
381
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
382
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
383
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
384
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
385
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
386
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
300
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
301
|
+
[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]]
|
387
302
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
388
|
-
[1m[
|
389
|
-
[1m[
|
303
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 1]]
|
304
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
305
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
306
|
+
Processing by ExampleController#restricted as HTML
|
307
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
308
|
+
Authenticating with gds_sso strategy
|
309
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
310
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
311
|
+
Started GET "/auth/gds/callback?code=FB8y4QYZHQsR02w0L5MG6U7wupDeyY9eukxXA_Tnt7E&state=322bb75706f33a745b6a4929be809db6a8f432457241ea24" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
|
312
|
+
Processing by AuthenticationsController#callback as HTML
|
313
|
+
Parameters: {"code"=>"FB8y4QYZHQsR02w0L5MG6U7wupDeyY9eukxXA_Tnt7E", "state"=>"322bb75706f33a745b6a4929be809db6a8f432457241ea24"}
|
314
|
+
Authenticating with gds_sso strategy
|
315
|
+
[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]]
|
390
316
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
391
317
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
392
318
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
393
|
-
[1m[
|
319
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
320
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
321
|
+
Redirected to http://www.example-client.com/restricted
|
322
|
+
Completed 302 Found in 9ms (ActiveRecord: 6.6ms)
|
323
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:13 +0000
|
324
|
+
Processing by ExampleController#restricted as HTML
|
325
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
394
326
|
Rendering text template
|
395
327
|
Rendered text template (0.0ms)
|
396
|
-
Completed 200 OK in
|
397
|
-
|
398
|
-
|
399
|
-
|
328
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
329
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
330
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
331
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "2629"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
332
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
333
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
334
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 2]]
|
335
|
+
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
400
336
|
[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]]
|
401
337
|
[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]]
|
402
338
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
403
339
|
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
404
|
-
[1m[35m (4.
|
340
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
405
341
|
[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]]
|
406
342
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
407
343
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
408
|
-
[1m[35m (
|
409
|
-
[1m[
|
344
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
345
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33903"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
346
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
347
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
348
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31644"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
349
|
+
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
350
|
+
Processing by Api::UserController#update as HTML
|
351
|
+
Parameters: {"uid"=>"a1s2d33903"}
|
352
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
353
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
354
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
355
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
356
|
+
Completed 403 Forbidden in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
357
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
358
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32740"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
359
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
360
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
361
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3920"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
362
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
363
|
+
Processing by Api::UserController#update as HTML
|
364
|
+
Parameters: {"uid"=>"a1s2d32740"}
|
365
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d32740"], ["LIMIT", 1]]
|
366
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
367
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 6]]
|
368
|
+
[1m[35m (11.1ms)[0m [1m[36mcommit transaction[0m
|
369
|
+
Completed 200 OK in 13ms (ActiveRecord: 11.4ms)
|
370
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
371
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
372
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33708"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
373
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
374
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
375
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33736"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
376
|
+
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
377
|
+
Processing by Api::UserController#reauth as HTML
|
378
|
+
Parameters: {"uid"=>"a1s2d33708"}
|
379
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d33708"], ["LIMIT", 1]]
|
380
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
381
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 8]]
|
382
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
383
|
+
Completed 200 OK in 8ms (ActiveRecord: 6.3ms)
|
384
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
|
385
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
386
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33699"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
387
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
388
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
389
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33584"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
390
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
391
|
+
Processing by Api::UserController#reauth as HTML
|
392
|
+
Parameters: {"uid"=>"a1s2d33699"}
|
393
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
394
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
395
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
396
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
397
|
+
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
398
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
399
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33854"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
400
|
+
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
401
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
402
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36885"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
403
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
404
|
+
Processing by Api::UserController#reauth as HTML
|
405
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
406
|
+
[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]]
|
407
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
408
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
409
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
410
410
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
411
|
-
[1m[35m (
|
412
|
-
[1m[35m (
|
413
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
411
|
+
[1m[35m (12.4ms)[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 0)[0m
|
412
|
+
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
413
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
414
414
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
415
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "
|
416
|
-
[1m[36mTRANSACTION (
|
417
|
-
[1m[35m (
|
415
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2022-04-07 15:43:22.528368"], ["updated_at", "2022-04-07 15:43:22.528368"]]
|
416
|
+
[1m[36mTRANSACTION (6.2ms)[0m [1m[36mcommit transaction[0m
|
417
|
+
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
418
418
|
[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]]
|
419
419
|
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
420
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."
|
421
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
422
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "8757"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
423
|
-
[1m[36mTRANSACTION (5.8ms)[0m [1m[36mcommit transaction[0m
|
424
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
425
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
426
|
-
[1m[36mTRANSACTION (4.6ms)[0m [1m[36mcommit transaction[0m
|
427
|
-
[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]]
|
420
|
+
[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]]
|
428
421
|
[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]]
|
429
422
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
430
423
|
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
431
|
-
[1m[36mTRANSACTION (
|
424
|
+
[1m[36mTRANSACTION (5.4ms)[0m [1m[36mcommit transaction[0m
|
432
425
|
[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]]
|
433
|
-
|
426
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
427
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
428
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "4256"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
429
|
+
[1m[36mTRANSACTION (5.0ms)[0m [1m[36mcommit transaction[0m
|
430
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
431
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 2]]
|
432
|
+
[1m[36mTRANSACTION (5.7ms)[0m [1m[36mcommit transaction[0m
|
433
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
434
434
|
Processing by ExampleController#restricted as HTML
|
435
435
|
Authenticating with gds_sso strategy
|
436
|
-
Completed in
|
437
|
-
Started GET "/" for 127.0.0.1 at
|
438
|
-
Processing by ExampleController#
|
436
|
+
Completed in 12ms (ActiveRecord: 0.0ms | Allocations: 1332)
|
437
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
438
|
+
Processing by ExampleController#restricted as JSON
|
439
|
+
Completed in 9ms (ActiveRecord: 0.0ms | Allocations: 2365)
|
440
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
441
|
+
Processing by ExampleController#restricted as JSON
|
442
|
+
[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]]
|
443
|
+
[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]]
|
444
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
445
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
446
|
+
[1m[36mTRANSACTION (5.9ms)[0m [1m[36mcommit transaction[0m
|
447
|
+
[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]]
|
448
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
449
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
450
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
451
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 3]]
|
452
|
+
[1m[36mTRANSACTION (5.1ms)[0m [1m[36mcommit transaction[0m
|
439
453
|
Rendering text template
|
440
454
|
Rendered text template (Duration: 0.0ms | Allocations: 3)
|
441
|
-
Completed 200 OK in
|
442
|
-
Started GET "/restricted" for 127.0.0.1 at
|
455
|
+
Completed 200 OK in 21ms (Views: 2.3ms | ActiveRecord: 11.7ms | Allocations: 5015)
|
456
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
457
|
+
Processing by ExampleController#restricted as JSON
|
458
|
+
Completed in 14ms (ActiveRecord: 0.0ms | Allocations: 1796)
|
459
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
460
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
461
|
+
[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]]
|
462
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
463
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
464
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
465
|
+
Rendering text template
|
466
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
467
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.2ms | Allocations: 3265)
|
468
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
443
469
|
Processing by ExampleController#restricted as HTML
|
444
470
|
Authenticating with gds_sso strategy
|
445
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
446
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
447
|
-
Started GET "/auth/gds/callback?code=
|
471
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
472
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
473
|
+
Started GET "/auth/gds/callback?code=fPdMInhLkqWixXhDjLlY83ZPaIIuHcL0098oKLWiCug&state=b5b9e48317f9172a9d856c31c6a7f3c06e8821d9c8279b72" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
448
474
|
Processing by AuthenticationsController#callback as HTML
|
449
|
-
Parameters: {"code"=>"
|
475
|
+
Parameters: {"code"=>"fPdMInhLkqWixXhDjLlY83ZPaIIuHcL0098oKLWiCug", "state"=>"b5b9e48317f9172a9d856c31c6a7f3c06e8821d9c8279b72"}
|
450
476
|
Authenticating with gds_sso strategy
|
451
477
|
[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]]
|
452
|
-
[1m[
|
453
|
-
[1m[
|
454
|
-
[1m[
|
455
|
-
[1m[36mTRANSACTION (4.5ms)[0m [1m[36mcommit transaction[0m
|
456
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
457
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 3]]
|
458
|
-
[1m[36mTRANSACTION (5.2ms)[0m [1m[36mcommit transaction[0m
|
478
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
479
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", 0], ["id", 3]]
|
480
|
+
[1m[36mTRANSACTION (6.3ms)[0m [1m[36mcommit transaction[0m
|
459
481
|
Redirected to http://www.example-client.com/restricted
|
460
|
-
Completed 302 Found in
|
461
|
-
Started GET "/restricted" for 127.0.0.1 at
|
482
|
+
Completed 302 Found in 9ms (ActiveRecord: 6.7ms | Allocations: 1208)
|
483
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
462
484
|
Processing by ExampleController#restricted as HTML
|
463
485
|
[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", 0], ["LIMIT", 1]]
|
464
486
|
Rendering text template
|
465
487
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
466
|
-
Completed 200 OK in
|
467
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
488
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms | Allocations: 781)
|
489
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
468
490
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
469
491
|
Authenticating with gds_sso strategy
|
470
492
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
471
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
472
|
-
Started GET "/auth/gds/callback?code=
|
493
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
494
|
+
Started GET "/auth/gds/callback?code=bxkbkldT_qdAblag9ZnIZzoz4S7i14n63646n3AlNyA&state=e5d73fe833dae62fb7485bf41620a7c31b0e635c1ac22eaf" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
473
495
|
Processing by AuthenticationsController#callback as HTML
|
474
|
-
Parameters: {"code"=>"
|
496
|
+
Parameters: {"code"=>"bxkbkldT_qdAblag9ZnIZzoz4S7i14n63646n3AlNyA", "state"=>"e5d73fe833dae62fb7485bf41620a7c31b0e635c1ac22eaf"}
|
475
497
|
Authenticating with gds_sso strategy
|
476
498
|
[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]]
|
477
499
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
478
500
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
479
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
501
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
480
502
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
481
503
|
[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", 0], ["LIMIT", 1]]
|
482
504
|
Rendering text template
|
483
505
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
484
506
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 708)
|
485
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
507
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
486
508
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
487
509
|
Authenticating with gds_sso strategy
|
488
510
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
489
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
490
|
-
Started GET "/auth/gds/callback?code=
|
511
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
512
|
+
Started GET "/auth/gds/callback?code=THVjCXfZZgnntsSIlZLKcH3NWkAZl3lCgU3WmqcxQRU&state=7ac20b212eaf8674272bc13d878cbcfefed36d0485f474f5" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
491
513
|
Processing by AuthenticationsController#callback as HTML
|
492
|
-
Parameters: {"code"=>"
|
514
|
+
Parameters: {"code"=>"THVjCXfZZgnntsSIlZLKcH3NWkAZl3lCgU3WmqcxQRU", "state"=>"7ac20b212eaf8674272bc13d878cbcfefed36d0485f474f5"}
|
493
515
|
Authenticating with gds_sso strategy
|
494
516
|
[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]]
|
495
517
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
496
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
497
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
518
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
519
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
498
520
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
499
521
|
[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", 0], ["LIMIT", 1]]
|
500
522
|
Rendering text template
|
501
523
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
502
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
503
|
-
Started GET "/restricted" for 127.0.0.1 at
|
524
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 708)
|
525
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
504
526
|
Processing by ExampleController#restricted as HTML
|
505
527
|
Authenticating with gds_sso strategy
|
506
528
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
507
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
508
|
-
Started GET "/auth/gds/callback?code=
|
529
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
530
|
+
Started GET "/auth/gds/callback?code=jv4TgJlxMcwiLifNMtBu029ScKJFZzU9dfl_uyqFrq0&state=f1c0f2a6063c529456c689e0a3f93602ae3588feda6be63e" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
509
531
|
Processing by AuthenticationsController#callback as HTML
|
510
|
-
Parameters: {"code"=>"
|
532
|
+
Parameters: {"code"=>"jv4TgJlxMcwiLifNMtBu029ScKJFZzU9dfl_uyqFrq0", "state"=>"f1c0f2a6063c529456c689e0a3f93602ae3588feda6be63e"}
|
511
533
|
Authenticating with gds_sso strategy
|
512
534
|
[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]]
|
513
535
|
Redirected to http://www.example-client.com/restricted
|
514
536
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
515
|
-
Started GET "/restricted" for 127.0.0.1 at
|
537
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
516
538
|
Processing by ExampleController#restricted as HTML
|
517
539
|
[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", 0], ["LIMIT", 1]]
|
518
540
|
Rendering text template
|
519
541
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
520
542
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
|
521
|
-
Started GET "/restricted" for 127.0.0.1 at
|
543
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
522
544
|
Processing by ExampleController#restricted as HTML
|
523
545
|
Authenticating with gds_sso strategy
|
524
546
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
525
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
526
|
-
Started GET "/auth/gds/callback?code=
|
547
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
548
|
+
Started GET "/auth/gds/callback?code=eOKGN4E8cSxDXn0_z7harwECDB5F6ItVXdGX-GG4YoQ&state=a1e786068ab4b806f078d8e914cbca96becdc2e9613db6c7" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
527
549
|
Processing by AuthenticationsController#callback as HTML
|
528
|
-
Parameters: {"code"=>"
|
550
|
+
Parameters: {"code"=>"eOKGN4E8cSxDXn0_z7harwECDB5F6ItVXdGX-GG4YoQ", "state"=>"a1e786068ab4b806f078d8e914cbca96becdc2e9613db6c7"}
|
529
551
|
Authenticating with gds_sso strategy
|
530
552
|
[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]]
|
531
553
|
Redirected to http://www.example-client.com/restricted
|
532
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
533
|
-
Started GET "/restricted" for 127.0.0.1 at
|
554
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 956)
|
555
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
534
556
|
Processing by ExampleController#restricted as HTML
|
535
557
|
[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", 0], ["LIMIT", 1]]
|
536
558
|
Rendering text template
|
537
559
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
538
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
539
|
-
Started GET "/
|
560
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 715)
|
561
|
+
Started GET "/" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
562
|
+
Processing by ExampleController#index as HTML
|
563
|
+
Rendering text template
|
564
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
565
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 152)
|
566
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
540
567
|
Processing by ExampleController#restricted as HTML
|
541
568
|
Authenticating with gds_sso strategy
|
542
569
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
543
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
544
|
-
Started GET "/auth/gds/callback?code=
|
570
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
571
|
+
Started GET "/auth/gds/callback?code=piy16tP_BiKIvtYW_crMFofMng-rqxNfRzlCeTImYsg&state=97e59faad6e8b583d773433085b3e8e6bf853a70174f5174" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
545
572
|
Processing by AuthenticationsController#callback as HTML
|
546
|
-
Parameters: {"code"=>"
|
573
|
+
Parameters: {"code"=>"piy16tP_BiKIvtYW_crMFofMng-rqxNfRzlCeTImYsg", "state"=>"97e59faad6e8b583d773433085b3e8e6bf853a70174f5174"}
|
547
574
|
Authenticating with gds_sso strategy
|
548
575
|
[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]]
|
549
576
|
Redirected to http://www.example-client.com/restricted
|
550
|
-
Completed 302 Found in
|
551
|
-
Started GET "/restricted" for 127.0.0.1 at
|
577
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
578
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
552
579
|
Processing by ExampleController#restricted as HTML
|
553
580
|
[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", 0], ["LIMIT", 1]]
|
554
581
|
Rendering text template
|
555
582
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
556
|
-
Completed 200 OK in
|
557
|
-
|
583
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
|
584
|
+
[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]]
|
585
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
586
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 3]]
|
587
|
+
[1m[36mTRANSACTION (5.9ms)[0m [1m[36mcommit transaction[0m
|
588
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
558
589
|
Processing by ExampleController#restricted as HTML
|
590
|
+
[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", 0], ["LIMIT", 1]]
|
559
591
|
Authenticating with gds_sso strategy
|
560
|
-
Completed in
|
561
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
562
|
-
Started GET "/auth/gds/callback?code=
|
592
|
+
Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 582)
|
593
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
594
|
+
Started GET "/auth/gds/callback?code=Lc4_o1KgdMiXESW-A0RDqln1_SkyX-1nPKqWTqkCJmk&state=a89a9ce81a71b30c9b1a80511738ec571863b457f02651bd" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
563
595
|
Processing by AuthenticationsController#callback as HTML
|
564
|
-
Parameters: {"code"=>"
|
596
|
+
Parameters: {"code"=>"Lc4_o1KgdMiXESW-A0RDqln1_SkyX-1nPKqWTqkCJmk", "state"=>"a89a9ce81a71b30c9b1a80511738ec571863b457f02651bd"}
|
565
597
|
Authenticating with gds_sso strategy
|
566
598
|
[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]]
|
599
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
600
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 3]]
|
601
|
+
[1m[36mTRANSACTION (6.5ms)[0m [1m[36mcommit transaction[0m
|
567
602
|
Redirected to http://www.example-client.com/restricted
|
568
|
-
Completed 302 Found in
|
569
|
-
Started GET "/restricted" for 127.0.0.1 at
|
603
|
+
Completed 302 Found in 10ms (ActiveRecord: 6.9ms | Allocations: 1162)
|
604
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
570
605
|
Processing by ExampleController#restricted as HTML
|
571
606
|
[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", 0], ["LIMIT", 1]]
|
572
607
|
Rendering text template
|
573
608
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
574
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
575
|
-
Started GET "/restricted" for 127.0.0.1 at
|
609
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 710)
|
610
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
576
611
|
Processing by ExampleController#restricted as HTML
|
577
612
|
Authenticating with gds_sso strategy
|
578
613
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
579
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
580
|
-
Started GET "/auth/gds/callback?code=
|
614
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
615
|
+
Started GET "/auth/gds/callback?code=hzkw2vvNRiHYNdlpwVm9r0okjXLzrlop4Ombj0ohOL0&state=7d6a02b796758a4c9a1f3207e61ec1c715d936d96b643425" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
581
616
|
Processing by AuthenticationsController#callback as HTML
|
582
|
-
Parameters: {"code"=>"
|
617
|
+
Parameters: {"code"=>"hzkw2vvNRiHYNdlpwVm9r0okjXLzrlop4Ombj0ohOL0", "state"=>"7d6a02b796758a4c9a1f3207e61ec1c715d936d96b643425"}
|
583
618
|
Authenticating with gds_sso strategy
|
584
619
|
[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]]
|
585
620
|
Redirected to http://www.example-client.com/restricted
|
586
621
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
587
|
-
Started GET "/restricted" for 127.0.0.1 at
|
622
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
588
623
|
Processing by ExampleController#restricted as HTML
|
589
624
|
[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", 0], ["LIMIT", 1]]
|
590
625
|
Rendering text template
|
591
626
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
592
627
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
|
593
|
-
Started GET "/restricted" for 127.0.0.1 at
|
628
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:38:23 +0000
|
594
629
|
Processing by ExampleController#restricted as HTML
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
630
|
+
[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", 0], ["LIMIT", 1]]
|
631
|
+
Rendering text template
|
632
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
633
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 935)
|
634
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
599
635
|
Processing by ExampleController#restricted as HTML
|
600
636
|
Authenticating with gds_sso strategy
|
601
637
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
602
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
603
|
-
Started GET "/auth/gds/callback?code=
|
638
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
639
|
+
Started GET "/auth/gds/callback?code=7LBDtAWN59UAki7aeW2rGqj0toMKB4GpurNbNajRaZ4&state=0dbf3aa0185002434ecfd4b23e83c53fbdfc8a582e75cc42" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
604
640
|
Processing by AuthenticationsController#callback as HTML
|
605
|
-
Parameters: {"code"=>"
|
641
|
+
Parameters: {"code"=>"7LBDtAWN59UAki7aeW2rGqj0toMKB4GpurNbNajRaZ4", "state"=>"0dbf3aa0185002434ecfd4b23e83c53fbdfc8a582e75cc42"}
|
606
642
|
Authenticating with gds_sso strategy
|
607
643
|
[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]]
|
608
644
|
Redirected to http://www.example-client.com/restricted
|
609
|
-
Completed 302 Found in
|
610
|
-
Started GET "/restricted" for 127.0.0.1 at
|
611
|
-
Processing by ExampleController#restricted as HTML
|
612
|
-
[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", 0], ["LIMIT", 1]]
|
613
|
-
Rendering text template
|
614
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
615
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
|
616
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:02:19 +0000
|
645
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms | Allocations: 954)
|
646
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
617
647
|
Processing by ExampleController#restricted as HTML
|
618
648
|
[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", 0], ["LIMIT", 1]]
|
619
649
|
Rendering text template
|
620
650
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
621
|
-
Completed 200 OK in
|
622
|
-
Started GET "/restricted" for 127.0.0.1 at
|
651
|
+
Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 713)
|
652
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:23 +0000
|
623
653
|
Processing by ExampleController#restricted as HTML
|
624
654
|
Authenticating with gds_sso strategy
|
625
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
626
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
627
|
-
Started GET "/auth/gds/callback?code=
|
655
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 520)
|
656
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:23 +0000
|
657
|
+
Started GET "/auth/gds/callback?code=oDc4xJYHslkN8tcXYtq-8EeC6G2SC7G8cVmzz39gZuc&state=13c62ba4d48daf7ec707179659c2e6206ad4d61d4340d3a5" for 127.0.0.1 at 2022-04-08 11:48:23 +0000
|
628
658
|
Processing by AuthenticationsController#callback as HTML
|
629
|
-
Parameters: {"code"=>"
|
659
|
+
Parameters: {"code"=>"oDc4xJYHslkN8tcXYtq-8EeC6G2SC7G8cVmzz39gZuc", "state"=>"13c62ba4d48daf7ec707179659c2e6206ad4d61d4340d3a5"}
|
630
660
|
Authenticating with gds_sso strategy
|
631
661
|
[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]]
|
632
662
|
Redirected to http://www.example-client.com/restricted
|
633
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
634
|
-
Started GET "/restricted" for 127.0.0.1 at
|
663
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1158)
|
664
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:23 +0000
|
635
665
|
Processing by ExampleController#restricted as HTML
|
636
666
|
[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", 0], ["LIMIT", 1]]
|
637
667
|
Rendering text template
|
638
668
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
639
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
640
|
-
|
641
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
642
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 3]]
|
643
|
-
[1m[36mTRANSACTION (3.5ms)[0m [1m[36mcommit transaction[0m
|
644
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
669
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 937)
|
670
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
645
671
|
Processing by ExampleController#restricted as HTML
|
646
|
-
[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", 0], ["LIMIT", 1]]
|
647
672
|
Authenticating with gds_sso strategy
|
648
|
-
Completed in
|
649
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
650
|
-
Started GET "/auth/gds/callback?code=
|
673
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
674
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
|
675
|
+
Started GET "/auth/gds/callback?code=Gfs7vuokTY1s97Bry7_4fvYpvMClib0pxBW8Y5y0TXo&state=7aa55d99320cd967d27b42b94d9f48065dc530ce33c8bde2" for 127.0.0.1 at 2022-04-07 15:43:24 +0000
|
651
676
|
Processing by AuthenticationsController#callback as HTML
|
652
|
-
Parameters: {"code"=>"
|
677
|
+
Parameters: {"code"=>"Gfs7vuokTY1s97Bry7_4fvYpvMClib0pxBW8Y5y0TXo", "state"=>"7aa55d99320cd967d27b42b94d9f48065dc530ce33c8bde2"}
|
653
678
|
Authenticating with gds_sso strategy
|
654
679
|
[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]]
|
655
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
656
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 3]]
|
657
|
-
[1m[36mTRANSACTION (4.4ms)[0m [1m[36mcommit transaction[0m
|
658
680
|
Redirected to http://www.example-client.com/restricted
|
659
|
-
Completed 302 Found in
|
660
|
-
Started GET "/restricted" for 127.0.0.1 at
|
681
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
682
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:24 +0000
|
661
683
|
Processing by ExampleController#restricted as HTML
|
662
684
|
[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", 0], ["LIMIT", 1]]
|
663
685
|
Rendering text template
|
664
686
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
665
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
666
|
-
Started GET "/restricted" for 127.0.0.1 at
|
667
|
-
Processing by ExampleController#restricted as
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
[1m[
|
672
|
-
[1m[
|
673
|
-
[1m[
|
674
|
-
[1m[36mTRANSACTION (3.8ms)[0m [1m[36mcommit transaction[0m
|
675
|
-
[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]]
|
676
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
677
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
678
|
-
Rendering text template
|
679
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
680
|
-
Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 4.2ms | Allocations: 3566)
|
681
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
682
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
683
|
-
[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]]
|
684
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
685
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
686
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
687
|
-
Rendering text template
|
688
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
689
|
-
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 3267)
|
690
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
691
|
-
Processing by ExampleController#restricted as JSON
|
692
|
-
Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1912)
|
693
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
694
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31638"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
695
|
-
[1m[36mTRANSACTION (3.6ms)[0m [1m[36mcommit transaction[0m
|
687
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
|
688
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:24 +0000
|
689
|
+
Processing by ExampleController#restricted as HTML
|
690
|
+
Authenticating with gds_sso strategy
|
691
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 518)
|
692
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:24 +0000
|
693
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
694
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34481"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
695
|
+
[1m[36mTRANSACTION (4.8ms)[0m [1m[36mcommit transaction[0m
|
696
696
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
697
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
698
|
-
[1m[36mTRANSACTION (
|
697
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34942"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
698
|
+
[1m[36mTRANSACTION (6.3ms)[0m [1m[36mcommit transaction[0m
|
699
699
|
Processing by Api::UserController#reauth as HTML
|
700
700
|
Parameters: {"uid"=>"nonexistent-user"}
|
701
701
|
[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]]
|
702
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations:
|
703
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
704
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35732"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
705
|
-
[1m[36mTRANSACTION (3.8ms)[0m [1m[36mcommit transaction[0m
|
706
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
707
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37370"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
708
|
-
[1m[36mTRANSACTION (4.9ms)[0m [1m[36mcommit transaction[0m
|
709
|
-
Processing by Api::UserController#reauth as HTML
|
710
|
-
Parameters: {"uid"=>"a1s2d35732"}
|
711
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35732"], ["LIMIT", 1]]
|
702
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 550)
|
712
703
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
713
|
-
[1m[36mUser
|
714
|
-
[1m[36mTRANSACTION (
|
715
|
-
Completed 200 OK in 5ms (ActiveRecord: 3.5ms | Allocations: 888)
|
716
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
704
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32881"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
705
|
+
[1m[36mTRANSACTION (6.6ms)[0m [1m[36mcommit transaction[0m
|
717
706
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
718
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
719
|
-
[1m[36mTRANSACTION (5.
|
720
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
721
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37559"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
722
|
-
[1m[36mTRANSACTION (3.7ms)[0m [1m[36mcommit transaction[0m
|
707
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39754"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
708
|
+
[1m[36mTRANSACTION (5.7ms)[0m [1m[36mcommit transaction[0m
|
723
709
|
Processing by Api::UserController#reauth as HTML
|
724
|
-
Parameters: {"uid"=>"
|
710
|
+
Parameters: {"uid"=>"a1s2d32881"}
|
725
711
|
Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
|
726
712
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
727
713
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
@@ -730,179 +716,198 @@ Processing by Api::UserController#reauth as HTML
|
|
730
716
|
Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.6ms | Allocations: 356)
|
731
717
|
Completed 403 Forbidden in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms | Allocations: 1595)
|
732
718
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
733
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
719
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37418"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
720
|
+
[1m[36mTRANSACTION (6.4ms)[0m [1m[36mcommit transaction[0m
|
721
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
722
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37338"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
734
723
|
[1m[36mTRANSACTION (4.6ms)[0m [1m[36mcommit transaction[0m
|
724
|
+
Processing by Api::UserController#reauth as HTML
|
725
|
+
Parameters: {"uid"=>"a1s2d37418"}
|
726
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d37418"], ["LIMIT", 1]]
|
735
727
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
736
|
-
[1m[36mUser
|
737
|
-
[1m[36mTRANSACTION (4.
|
728
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 8]]
|
729
|
+
[1m[36mTRANSACTION (4.4ms)[0m [1m[36mcommit transaction[0m
|
730
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.7ms | Allocations: 893)
|
731
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
|
732
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
733
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34065"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
734
|
+
[1m[36mTRANSACTION (4.5ms)[0m [1m[36mcommit transaction[0m
|
735
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
736
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36707"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
737
|
+
[1m[36mTRANSACTION (6.3ms)[0m [1m[36mcommit transaction[0m
|
738
738
|
Processing by Api::UserController#update as HTML
|
739
|
-
Parameters: {"uid"=>"
|
740
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
739
|
+
Parameters: {"uid"=>"a1s2d34065"}
|
740
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34065"], ["LIMIT", 1]]
|
741
741
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
742
742
|
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "email" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["name", "Joshua Marshall"], ["email", "user@domain.com"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 10]]
|
743
|
-
[1m[36mTRANSACTION (
|
744
|
-
Completed 200 OK in
|
743
|
+
[1m[36mTRANSACTION (5.6ms)[0m [1m[36mcommit transaction[0m
|
744
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.9ms | Allocations: 1235)
|
745
745
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
746
746
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
747
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
748
|
-
[1m[36mTRANSACTION (
|
749
|
-
[1m[36mTRANSACTION (0.
|
750
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
751
|
-
[1m[36mTRANSACTION (
|
747
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35930"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
748
|
+
[1m[36mTRANSACTION (6.2ms)[0m [1m[36mcommit transaction[0m
|
749
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
750
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32304"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
751
|
+
[1m[36mTRANSACTION (6.5ms)[0m [1m[36mcommit transaction[0m
|
752
752
|
Processing by Api::UserController#update as HTML
|
753
|
-
Parameters: {"uid"=>"
|
753
|
+
Parameters: {"uid"=>"a1s2d35930"}
|
754
754
|
Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
|
755
755
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
756
756
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
757
757
|
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 55)
|
758
758
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
759
759
|
Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.2ms | Allocations: 146)
|
760
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
760
|
+
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 527)
|
761
761
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
762
|
-
[1m[35m (
|
763
|
-
[1m[35m (
|
764
|
-
[1m[35m (
|
762
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
763
|
+
[1m[35m (11.7ms)[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
|
764
|
+
[1m[35m (6.1ms)[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
|
765
765
|
[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]]
|
766
766
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
767
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "
|
768
|
-
[1m[35m (
|
769
|
-
[1m[35m (
|
767
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2022-04-07 15:43:29.159409"], ["updated_at", "2022-04-07 15:43:29.159409"]]
|
768
|
+
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
769
|
+
[1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
770
770
|
[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]]
|
771
771
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
772
772
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
773
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
774
773
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
775
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
776
|
-
[1m[35m (
|
774
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3513"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
775
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
777
776
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
778
|
-
[1m[36mUser
|
779
|
-
[1m[35m (
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
Completed
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
791
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
792
|
-
[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]]
|
793
|
-
[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]]
|
777
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32033"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
778
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
779
|
+
Processing by Api::UserController#reauth as HTML
|
780
|
+
Parameters: {"uid"=>"a1s2d3513"}
|
781
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
782
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
783
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
784
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
785
|
+
Completed 403 Forbidden in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
786
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
787
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3745"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
788
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
794
789
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
795
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions"
|
796
|
-
[1m[35m (
|
797
|
-
|
790
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39020"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
791
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
792
|
+
Processing by Api::UserController#reauth as HTML
|
793
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
794
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
795
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
798
796
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
799
|
-
[1m[
|
800
|
-
[1m[
|
797
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33120"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
798
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
801
799
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
802
|
-
[1m[
|
803
|
-
[1m[
|
800
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3586"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
801
|
+
[1m[35m (6.7ms)[0m [1m[36mcommit transaction[0m
|
802
|
+
Processing by Api::UserController#reauth as HTML
|
803
|
+
Parameters: {"uid"=>"a1s2d33120"}
|
804
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d33120"], ["LIMIT", 1]]
|
804
805
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
805
|
-
[1m[
|
806
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 5]]
|
807
|
+
[1m[35m (7.2ms)[0m [1m[36mcommit transaction[0m
|
808
|
+
Completed 200 OK in 9ms (ActiveRecord: 7.5ms)
|
809
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
806
810
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
807
|
-
[1m[36mUser
|
808
|
-
[1m[35m (
|
809
|
-
Rendering text template
|
810
|
-
Rendered text template (0.0ms)
|
811
|
-
Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 8.7ms)
|
812
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
813
|
-
Processing by ExampleController#restricted as JSON
|
814
|
-
[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]]
|
811
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39842"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
812
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
815
813
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
816
|
-
[1m[
|
817
|
-
[1m[
|
814
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32860"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
815
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
816
|
+
Processing by Api::UserController#update as HTML
|
817
|
+
Parameters: {"uid"=>"a1s2d39842"}
|
818
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d39842"], ["LIMIT", 1]]
|
818
819
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
819
|
-
[1m[
|
820
|
-
[1m[
|
820
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 7]]
|
821
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
822
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.3ms)
|
823
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
824
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
825
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39605"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
826
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
821
827
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
822
|
-
[1m[
|
823
|
-
[1m[
|
828
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39195"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
829
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
830
|
+
Processing by Api::UserController#update as HTML
|
831
|
+
Parameters: {"uid"=>"a1s2d39605"}
|
832
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
833
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
834
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
835
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
836
|
+
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
837
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
824
838
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
825
|
-
[1m[
|
839
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "453"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
840
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
826
841
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
827
|
-
[1m[
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
832
|
-
Processing by ExampleController#restricted as HTML
|
833
|
-
Authenticating with gds_sso strategy
|
834
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
835
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
836
|
-
Started GET "/auth/gds/callback?code=hWxTwmxDoE_djU24rcIQcLtp4pHI346HfrcrPGV3sX0&state=90fb5ee9023a6d52162c420629fff5987b7e6c68040a042a" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
837
|
-
Processing by AuthenticationsController#callback as HTML
|
838
|
-
Parameters: {"code"=>"hWxTwmxDoE_djU24rcIQcLtp4pHI346HfrcrPGV3sX0", "state"=>"90fb5ee9023a6d52162c420629fff5987b7e6c68040a042a"}
|
839
|
-
Authenticating with gds_sso strategy
|
840
|
-
[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]]
|
842
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 11]]
|
843
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
844
|
+
[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]]
|
845
|
+
[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]]
|
841
846
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
842
|
-
[1m[36mUser
|
843
|
-
[1m[35m (
|
847
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
848
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
849
|
+
[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]]
|
844
850
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
845
851
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
846
|
-
|
847
|
-
Completed 302 Found in 6ms (ActiveRecord: 4.2ms)
|
848
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
852
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:29 +0000
|
849
853
|
Processing by ExampleController#restricted as HTML
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
854
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
854
|
+
Authenticating with gds_sso strategy
|
855
|
+
Completed in 4ms (ActiveRecord: 0.0ms)
|
856
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:29 +0000
|
855
857
|
Processing by ExampleController#restricted as HTML
|
856
858
|
Authenticating with gds_sso strategy
|
857
859
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
858
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
859
|
-
Started GET "/auth/gds/callback?code=
|
860
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:29 +0000
|
861
|
+
Started GET "/auth/gds/callback?code=PGfn16Qed134BuRsnvD-TiUZOUpwZ5QR7QcoJDERgvw&state=79a8db3e2876232243b38c31e5391a3fae0411b4d9a01c77" for 127.0.0.1 at 2022-04-07 15:43:29 +0000
|
860
862
|
Processing by AuthenticationsController#callback as HTML
|
861
|
-
Parameters: {"code"=>"
|
863
|
+
Parameters: {"code"=>"PGfn16Qed134BuRsnvD-TiUZOUpwZ5QR7QcoJDERgvw", "state"=>"79a8db3e2876232243b38c31e5391a3fae0411b4d9a01c77"}
|
862
864
|
Authenticating with gds_sso strategy
|
863
865
|
[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]]
|
866
|
+
[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]]
|
864
867
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
865
|
-
[1m[
|
866
|
-
[1m[35m (
|
867
|
-
[1m[35m (0.
|
868
|
+
[1m[36mUser Create (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"]]
|
869
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
870
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
871
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
872
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
868
873
|
Redirected to http://www.example-client.com/restricted
|
869
|
-
Completed 302 Found in
|
870
|
-
Started GET "/restricted" for 127.0.0.1 at
|
874
|
+
Completed 302 Found in 15ms (ActiveRecord: 11.5ms)
|
875
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
871
876
|
Processing by ExampleController#restricted as HTML
|
872
|
-
[1m[36mUser Load (0.
|
877
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
873
878
|
Rendering text template
|
874
879
|
Rendered text template (0.0ms)
|
875
|
-
Completed 200 OK in
|
876
|
-
Started GET "/restricted" for 127.0.0.1 at
|
880
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)
|
881
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
877
882
|
Processing by ExampleController#restricted as HTML
|
878
883
|
Authenticating with gds_sso strategy
|
879
884
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
880
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
881
|
-
Started GET "/auth/gds/callback?code=
|
885
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
886
|
+
Started GET "/auth/gds/callback?code=nceK6P0WpxNtgxegKb8lVb603BfSaGHdN2GnIjF43Mo&state=261ac050fe92c470c5c796c31ecb81e44ef26c9c4842c28f" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
882
887
|
Processing by AuthenticationsController#callback as HTML
|
883
|
-
Parameters: {"code"=>"
|
888
|
+
Parameters: {"code"=>"nceK6P0WpxNtgxegKb8lVb603BfSaGHdN2GnIjF43Mo", "state"=>"261ac050fe92c470c5c796c31ecb81e44ef26c9c4842c28f"}
|
884
889
|
Authenticating with gds_sso strategy
|
885
890
|
[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]]
|
886
|
-
[1m[35m (0.
|
891
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
887
892
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
888
893
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
889
894
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
890
895
|
Redirected to http://www.example-client.com/restricted
|
891
|
-
Completed 302 Found in
|
892
|
-
Started GET "/restricted" for 127.0.0.1 at
|
896
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
897
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
893
898
|
Processing by ExampleController#restricted as HTML
|
894
899
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
895
900
|
Rendering text template
|
896
901
|
Rendered text template (0.0ms)
|
897
902
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
898
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
903
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
899
904
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
900
905
|
Authenticating with gds_sso strategy
|
901
906
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
902
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
903
|
-
Started GET "/auth/gds/callback?code=
|
907
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
908
|
+
Started GET "/auth/gds/callback?code=9vpamau4zBOXG31N9Dz8ii5uHBcUZvJZfeKE70na6-s&state=cc94f6a0fdce4883db27cb0caf0ee5125e17752eb9d80cdc" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
904
909
|
Processing by AuthenticationsController#callback as HTML
|
905
|
-
Parameters: {"code"=>"
|
910
|
+
Parameters: {"code"=>"9vpamau4zBOXG31N9Dz8ii5uHBcUZvJZfeKE70na6-s", "state"=>"cc94f6a0fdce4883db27cb0caf0ee5125e17752eb9d80cdc"}
|
906
911
|
Authenticating with gds_sso strategy
|
907
912
|
[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]]
|
908
913
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -911,20 +916,20 @@ Authenticating with gds_sso strategy
|
|
911
916
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
912
917
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
913
918
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
914
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
919
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
915
920
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
916
921
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
917
922
|
Rendering text template
|
918
923
|
Rendered text template (0.0ms)
|
919
924
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
920
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
925
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
921
926
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
922
927
|
Authenticating with gds_sso strategy
|
923
928
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
924
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
925
|
-
Started GET "/auth/gds/callback?code
|
929
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
930
|
+
Started GET "/auth/gds/callback?code=-CNvY9UIhtxl8EPPnPzFma6oHepKmVJ4lcCZoTiC_rA&state=65e4c93d20e51de4a2701bc7a6144b02e0e63ba0e03deced" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
926
931
|
Processing by AuthenticationsController#callback as HTML
|
927
|
-
Parameters: {"code"=>"
|
932
|
+
Parameters: {"code"=>"-CNvY9UIhtxl8EPPnPzFma6oHepKmVJ4lcCZoTiC_rA", "state"=>"65e4c93d20e51de4a2701bc7a6144b02e0e63ba0e03deced"}
|
928
933
|
Authenticating with gds_sso strategy
|
929
934
|
[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]]
|
930
935
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -932,98 +937,119 @@ Authenticating with gds_sso strategy
|
|
932
937
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
933
938
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
934
939
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
935
|
-
Completed 302 Found in
|
936
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
940
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
941
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
937
942
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
938
943
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
939
944
|
Rendering text template
|
940
945
|
Rendered text template (0.0ms)
|
941
|
-
Completed 200 OK in 1ms (Views: 0.
|
942
|
-
Started GET "/" for 127.0.0.1 at
|
946
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
947
|
+
Started GET "/" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
943
948
|
Processing by ExampleController#index as HTML
|
944
949
|
Rendering text template
|
945
950
|
Rendered text template (0.0ms)
|
946
|
-
Completed 200 OK in 0ms (Views: 0.
|
947
|
-
Started GET "/restricted" for 127.0.0.1 at
|
951
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
952
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
948
953
|
Processing by ExampleController#restricted as HTML
|
949
954
|
Authenticating with gds_sso strategy
|
950
955
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
951
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
952
|
-
Started GET "/auth/gds/callback?code=
|
956
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
957
|
+
Started GET "/auth/gds/callback?code=7D4S2DVJC0pZOMqR1R3SQ7xGgf6SaMSQdmVQZudh19I&state=929889846ba3a8ebc9acafc5b5c745ca09f6d540cd4c2f91" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
953
958
|
Processing by AuthenticationsController#callback as HTML
|
954
|
-
Parameters: {"code"=>"
|
959
|
+
Parameters: {"code"=>"7D4S2DVJC0pZOMqR1R3SQ7xGgf6SaMSQdmVQZudh19I", "state"=>"929889846ba3a8ebc9acafc5b5c745ca09f6d540cd4c2f91"}
|
955
960
|
Authenticating with gds_sso strategy
|
956
961
|
[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]]
|
957
962
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
958
963
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
959
|
-
[1m[35m (0.
|
964
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
960
965
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
961
966
|
Redirected to http://www.example-client.com/restricted
|
962
|
-
Completed 302 Found in
|
963
|
-
Started GET "/restricted" for 127.0.0.1 at
|
967
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
968
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
964
969
|
Processing by ExampleController#restricted as HTML
|
965
970
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
966
971
|
Rendering text template
|
967
972
|
Rendered text template (0.0ms)
|
968
973
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
969
|
-
Started GET "/restricted" for 127.0.0.1 at
|
974
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
975
|
+
Processing by ExampleController#restricted as HTML
|
976
|
+
Authenticating with gds_sso strategy
|
977
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
978
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
979
|
+
Started GET "/auth/gds/callback?code=bmIEQFp2VI5xk9M86QCNQY25Zm_QMQ5w9Md86z9UbSo&state=84387210347731d6377ac8f0c3ff199898e23c5396a0b785" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
980
|
+
Processing by AuthenticationsController#callback as HTML
|
981
|
+
Parameters: {"code"=>"bmIEQFp2VI5xk9M86QCNQY25Zm_QMQ5w9Md86z9UbSo", "state"=>"84387210347731d6377ac8f0c3ff199898e23c5396a0b785"}
|
982
|
+
Authenticating with gds_sso strategy
|
983
|
+
[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]]
|
984
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
985
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
986
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
987
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
988
|
+
Redirected to http://www.example-client.com/restricted
|
989
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
990
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
970
991
|
Processing by ExampleController#restricted as HTML
|
971
992
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
972
993
|
Rendering text template
|
973
994
|
Rendered text template (0.0ms)
|
974
|
-
Completed 200 OK in
|
975
|
-
Started GET "/restricted" for 127.0.0.1 at
|
995
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
996
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:30 +0000
|
997
|
+
Processing by ExampleController#restricted as HTML
|
998
|
+
Authenticating with gds_sso strategy
|
999
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1000
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:30 +0000
|
1001
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
976
1002
|
Processing by ExampleController#restricted as HTML
|
977
1003
|
Authenticating with gds_sso strategy
|
978
1004
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
979
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
980
|
-
Started GET "/auth/gds/callback?code=
|
1005
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1006
|
+
Started GET "/auth/gds/callback?code=WZAHtlN02nzLyzIADXdVXsPV7lF-oOz-aTAOr0z4gMg&state=65941c2445116a2f6a2196103016b56b3149d29ab04f5a84" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
981
1007
|
Processing by AuthenticationsController#callback as HTML
|
982
|
-
Parameters: {"code"=>"
|
1008
|
+
Parameters: {"code"=>"WZAHtlN02nzLyzIADXdVXsPV7lF-oOz-aTAOr0z4gMg", "state"=>"65941c2445116a2f6a2196103016b56b3149d29ab04f5a84"}
|
983
1009
|
Authenticating with gds_sso strategy
|
984
1010
|
[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]]
|
985
|
-
[1m[35m (0.
|
1011
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
986
1012
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
987
1013
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
988
1014
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
989
1015
|
Redirected to http://www.example-client.com/restricted
|
990
|
-
Completed 302 Found in
|
991
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1016
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1017
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
992
1018
|
Processing by ExampleController#restricted as HTML
|
993
1019
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
994
1020
|
Rendering text template
|
995
1021
|
Rendered text template (0.0ms)
|
996
1022
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
997
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1023
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:30 +0000
|
998
1024
|
Processing by ExampleController#restricted as HTML
|
999
1025
|
Authenticating with gds_sso strategy
|
1000
1026
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1001
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1002
|
-
Started GET "/auth/gds/callback?code=
|
1027
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:30 +0000
|
1028
|
+
Started GET "/auth/gds/callback?code=chIc9vPQE6az-dfllulJQNQqGBxlxLA4FZRFeWNUdUY&state=a4c38a634a55bd30915eb32ddfc252165a5d1617ca443584" for 127.0.0.1 at 2022-04-08 11:48:30 +0000
|
1003
1029
|
Processing by AuthenticationsController#callback as HTML
|
1004
|
-
Parameters: {"code"=>"
|
1030
|
+
Parameters: {"code"=>"chIc9vPQE6az-dfllulJQNQqGBxlxLA4FZRFeWNUdUY", "state"=>"a4c38a634a55bd30915eb32ddfc252165a5d1617ca443584"}
|
1005
1031
|
Authenticating with gds_sso strategy
|
1006
1032
|
[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]]
|
1007
|
-
[1m[35m (0.
|
1033
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1008
1034
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1009
1035
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1010
1036
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1011
1037
|
Redirected to http://www.example-client.com/restricted
|
1012
|
-
Completed 302 Found in
|
1013
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1038
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1039
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:30 +0000
|
1014
1040
|
Processing by ExampleController#restricted as HTML
|
1015
1041
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1016
1042
|
Rendering text template
|
1017
1043
|
Rendered text template (0.0ms)
|
1018
1044
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1019
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1045
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1020
1046
|
Processing by ExampleController#restricted as HTML
|
1021
1047
|
Authenticating with gds_sso strategy
|
1022
1048
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1023
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1024
|
-
Started GET "/auth/gds/callback?code=
|
1049
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1050
|
+
Started GET "/auth/gds/callback?code=q0KUwHM7s7siHCeO1pBCi6rmwga-wb9C3h9RF6BAmOg&state=4f6727db8ba5ab94b469188dfe28b2b30ccf97662b34d623" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1025
1051
|
Processing by AuthenticationsController#callback as HTML
|
1026
|
-
Parameters: {"code"=>"
|
1052
|
+
Parameters: {"code"=>"q0KUwHM7s7siHCeO1pBCi6rmwga-wb9C3h9RF6BAmOg", "state"=>"4f6727db8ba5ab94b469188dfe28b2b30ccf97662b34d623"}
|
1027
1053
|
Authenticating with gds_sso strategy
|
1028
1054
|
[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]]
|
1029
1055
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -1031,26 +1057,27 @@ Authenticating with gds_sso strategy
|
|
1031
1057
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1032
1058
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1033
1059
|
Redirected to http://www.example-client.com/restricted
|
1034
|
-
Completed 302 Found in
|
1035
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1060
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1061
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1036
1062
|
Processing by ExampleController#restricted as HTML
|
1037
1063
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1038
1064
|
Rendering text template
|
1039
1065
|
Rendered text template (0.0ms)
|
1040
1066
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1041
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1067
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:38:30 +0000
|
1042
1068
|
Processing by ExampleController#restricted as HTML
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1069
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1070
|
+
Rendering text template
|
1071
|
+
Rendered text template (0.0ms)
|
1072
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1073
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1047
1074
|
Processing by ExampleController#restricted as HTML
|
1048
1075
|
Authenticating with gds_sso strategy
|
1049
1076
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1050
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1051
|
-
Started GET "/auth/gds/callback?code=
|
1077
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1078
|
+
Started GET "/auth/gds/callback?code=oPwtM9gPAvDqBgKdVc8rDhJ5yt4wqm5ygfIi32l4Z7U&state=32e84330c6f21038f9c41ad52364ca681b7bc81d792114a2" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1052
1079
|
Processing by AuthenticationsController#callback as HTML
|
1053
|
-
Parameters: {"code"=>"
|
1080
|
+
Parameters: {"code"=>"oPwtM9gPAvDqBgKdVc8rDhJ5yt4wqm5ygfIi32l4Z7U", "state"=>"32e84330c6f21038f9c41ad52364ca681b7bc81d792114a2"}
|
1054
1081
|
Authenticating with gds_sso strategy
|
1055
1082
|
[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]]
|
1056
1083
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -1058,463 +1085,436 @@ Authenticating with gds_sso strategy
|
|
1058
1085
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1059
1086
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1060
1087
|
Redirected to http://www.example-client.com/restricted
|
1061
|
-
Completed 302 Found in
|
1062
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1088
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
1089
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1063
1090
|
Processing by ExampleController#restricted as HTML
|
1064
1091
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1065
1092
|
Rendering text template
|
1066
1093
|
Rendered text template (0.0ms)
|
1067
1094
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1068
1095
|
[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]]
|
1069
|
-
[1m[35m (0.
|
1070
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id",
|
1071
|
-
[1m[35m (
|
1072
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1096
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1097
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 13]]
|
1098
|
+
[1m[35m (8.8ms)[0m [1m[36mcommit transaction[0m
|
1099
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1073
1100
|
Processing by ExampleController#restricted as HTML
|
1074
1101
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1075
1102
|
Authenticating with gds_sso strategy
|
1076
1103
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
1077
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1078
|
-
Started GET "/auth/gds/callback?code=
|
1104
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1105
|
+
Started GET "/auth/gds/callback?code=JejWzxW34k-ncNij92Tgu83-44tcO1hwiRA5IDwDgHg&state=3a4473dfc3a4f6bbf4476fce4e0cfc29d11555b2dc545feb" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1079
1106
|
Processing by AuthenticationsController#callback as HTML
|
1080
|
-
Parameters: {"code"=>"
|
1107
|
+
Parameters: {"code"=>"JejWzxW34k-ncNij92Tgu83-44tcO1hwiRA5IDwDgHg", "state"=>"3a4473dfc3a4f6bbf4476fce4e0cfc29d11555b2dc545feb"}
|
1081
1108
|
Authenticating with gds_sso strategy
|
1082
1109
|
[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]]
|
1083
1110
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1084
1111
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1085
1112
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1086
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id",
|
1087
|
-
[1m[35m (
|
1113
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
1114
|
+
[1m[35m (6.9ms)[0m [1m[36mcommit transaction[0m
|
1088
1115
|
Redirected to http://www.example-client.com/restricted
|
1089
|
-
Completed 302 Found in
|
1090
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1116
|
+
Completed 302 Found in 10ms (ActiveRecord: 7.3ms)
|
1117
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1091
1118
|
Processing by ExampleController#restricted as HTML
|
1092
1119
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1093
1120
|
Rendering text template
|
1094
1121
|
Rendered text template (0.0ms)
|
1095
1122
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1123
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1124
|
+
Processing by ExampleController#restricted as JSON
|
1125
|
+
[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]]
|
1096
1126
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1097
|
-
[1m[36mUser
|
1098
|
-
[1m[35m (
|
1099
|
-
[1m[
|
1100
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32759"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1101
|
-
[1m[35m (3.2ms)[0m [1m[36mcommit transaction[0m
|
1102
|
-
Processing by Api::UserController#update as HTML
|
1103
|
-
Parameters: {"uid"=>"a1s2d31715"}
|
1104
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31715"], ["LIMIT", 1]]
|
1105
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1106
|
-
[1m[36mUser Update (0.1ms)[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]]
|
1107
|
-
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
1108
|
-
Completed 200 OK in 5ms (ActiveRecord: 3.7ms)
|
1109
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
1110
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1111
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31207"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1112
|
-
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
1113
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1114
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33452"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1115
|
-
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1116
|
-
Processing by Api::UserController#update as HTML
|
1117
|
-
Parameters: {"uid"=>"a1s2d31207"}
|
1118
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1119
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1120
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1121
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1122
|
-
Completed 403 Forbidden in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
1127
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
1128
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
1129
|
+
[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]]
|
1123
1130
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1124
|
-
[1m[
|
1125
|
-
[1m[
|
1131
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1132
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1126
1133
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1127
|
-
[1m[
|
1128
|
-
[1m[
|
1129
|
-
Processing by Api::UserController#reauth as HTML
|
1130
|
-
Parameters: {"uid"=>"a1s2d3971"}
|
1131
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1132
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1133
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
1134
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1135
|
-
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
1134
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1135
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1136
1136
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1137
|
-
[1m[
|
1138
|
-
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
1137
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1139
1138
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1140
|
-
[1m[
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1139
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1140
|
+
Rendering text template
|
1141
|
+
Rendered text template (0.0ms)
|
1142
|
+
Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 6.6ms)
|
1143
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1144
|
+
Processing by ExampleController#restricted as JSON
|
1145
|
+
Completed in 8ms (ActiveRecord: 0.0ms)
|
1146
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1147
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1148
|
+
[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]]
|
1145
1149
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1146
|
-
[1m[
|
1147
|
-
[1m[
|
1148
|
-
Completed 200 OK in 6ms (ActiveRecord: 4.5ms)
|
1149
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
1150
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1151
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1150
1152
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1151
|
-
[1m[
|
1152
|
-
[1m[
|
1153
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1154
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1153
1155
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1154
|
-
[1m[
|
1155
|
-
[1m[
|
1156
|
-
Processing by Api::UserController#reauth as HTML
|
1157
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1158
|
-
[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]]
|
1159
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1160
|
-
[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]]
|
1161
|
-
[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]]
|
1156
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1157
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1162
1158
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1163
|
-
[1m[
|
1164
|
-
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1165
|
-
[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]]
|
1159
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1166
1160
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1167
1161
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1162
|
+
Rendering text template
|
1163
|
+
Rendered text template (0.0ms)
|
1164
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1165
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
|
1166
|
+
Processing by ExampleController#restricted as JSON
|
1167
|
+
Completed in 13ms (ActiveRecord: 0.0ms)
|
1168
1168
|
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1169
1169
|
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1170
1170
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1171
|
-
[1m[35m (
|
1172
|
-
[1m[35m (
|
1171
|
+
[1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 0)[0m
|
1172
|
+
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
1173
1173
|
[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]]
|
1174
|
-
[1m[36mTRANSACTION (0.
|
1175
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "
|
1176
|
-
[1m[36mTRANSACTION (
|
1177
|
-
[1m[35m (5.
|
1174
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1175
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2022-04-07 15:43:37.735302"], ["updated_at", "2022-04-07 15:43:37.735302"]]
|
1176
|
+
[1m[36mTRANSACTION (6.2ms)[0m [1m[36mcommit transaction[0m
|
1177
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1178
1178
|
[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]]
|
1179
1179
|
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1180
|
+
[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]]
|
1181
|
+
[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]]
|
1180
1182
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1181
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
1182
|
-
[1m[36mTRANSACTION (
|
1183
|
-
[1m[
|
1184
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35614"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1185
|
-
[1m[36mTRANSACTION (3.4ms)[0m [1m[36mcommit transaction[0m
|
1186
|
-
Processing by Api::UserController#update as HTML
|
1187
|
-
Parameters: {"uid"=>"a1s2d3530"}
|
1188
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3530"], ["LIMIT", 1]]
|
1189
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1190
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "email" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["name", "Joshua Marshall"], ["email", "user@domain.com"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 1]]
|
1191
|
-
[1m[36mTRANSACTION (6.0ms)[0m [1m[36mcommit transaction[0m
|
1192
|
-
Completed 200 OK in 10ms (ActiveRecord: 6.3ms | Allocations: 2297)
|
1193
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1183
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1184
|
+
[1m[36mTRANSACTION (8.4ms)[0m [1m[36mcommit transaction[0m
|
1185
|
+
[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]]
|
1194
1186
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1195
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
1196
|
-
[1m[36mTRANSACTION (
|
1187
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31739"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1188
|
+
[1m[36mTRANSACTION (4.6ms)[0m [1m[36mcommit transaction[0m
|
1197
1189
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1198
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
1199
|
-
[1m[36mTRANSACTION (5.
|
1200
|
-
Processing by Api::UserController#
|
1201
|
-
Parameters: {"uid"=>"
|
1190
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31338"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1191
|
+
[1m[36mTRANSACTION (5.1ms)[0m [1m[36mcommit transaction[0m
|
1192
|
+
Processing by Api::UserController#reauth as HTML
|
1193
|
+
Parameters: {"uid"=>"a1s2d31739"}
|
1202
1194
|
Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
|
1203
1195
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1204
1196
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1205
1197
|
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 191)
|
1206
1198
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1207
1199
|
Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.6ms | Allocations: 271)
|
1208
|
-
Completed 403 Forbidden in
|
1209
|
-
[1m[36mTRANSACTION (0.
|
1210
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
1211
|
-
[1m[36mTRANSACTION (
|
1200
|
+
Completed 403 Forbidden in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms | Allocations: 2951)
|
1201
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1202
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32487"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1203
|
+
[1m[36mTRANSACTION (6.4ms)[0m [1m[36mcommit transaction[0m
|
1212
1204
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1213
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
1214
|
-
[1m[36mTRANSACTION (
|
1205
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32716"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1206
|
+
[1m[36mTRANSACTION (6.1ms)[0m [1m[36mcommit transaction[0m
|
1215
1207
|
Processing by Api::UserController#reauth as HTML
|
1216
|
-
Parameters: {"uid"=>"
|
1217
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
1218
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1219
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 5]]
|
1220
|
-
[1m[36mTRANSACTION (5.8ms)[0m [1m[36mcommit transaction[0m
|
1221
|
-
Completed 200 OK in 7ms (ActiveRecord: 6.1ms | Allocations: 858)
|
1222
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1208
|
+
Parameters: {"uid"=>"a1s2d32487"}
|
1209
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d32487"], ["LIMIT", 1]]
|
1223
1210
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1224
|
-
[1m[36mUser
|
1225
|
-
[1m[36mTRANSACTION (
|
1211
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 4]]
|
1212
|
+
[1m[36mTRANSACTION (6.3ms)[0m [1m[36mcommit transaction[0m
|
1213
|
+
Completed 200 OK in 8ms (ActiveRecord: 6.6ms | Allocations: 900)
|
1214
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
1226
1215
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1227
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
1228
|
-
[1m[36mTRANSACTION (6.
|
1216
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35713"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1217
|
+
[1m[36mTRANSACTION (6.0ms)[0m [1m[36mcommit transaction[0m
|
1218
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1219
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35089"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1220
|
+
[1m[36mTRANSACTION (5.8ms)[0m [1m[36mcommit transaction[0m
|
1229
1221
|
Processing by Api::UserController#reauth as HTML
|
1230
1222
|
Parameters: {"uid"=>"nonexistent-user"}
|
1231
1223
|
[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]]
|
1232
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations:
|
1233
|
-
[1m[36mTRANSACTION (0.
|
1234
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
1235
|
-
[1m[36mTRANSACTION (
|
1236
|
-
[1m[36mTRANSACTION (0.
|
1237
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
1238
|
-
[1m[36mTRANSACTION (5.
|
1239
|
-
Processing by Api::UserController#
|
1240
|
-
Parameters: {"uid"=>"
|
1224
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 505)
|
1225
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1226
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31476"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1227
|
+
[1m[36mTRANSACTION (4.7ms)[0m [1m[36mcommit transaction[0m
|
1228
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1229
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32679"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1230
|
+
[1m[36mTRANSACTION (5.8ms)[0m [1m[36mcommit transaction[0m
|
1231
|
+
Processing by Api::UserController#update as HTML
|
1232
|
+
Parameters: {"uid"=>"a1s2d31476"}
|
1241
1233
|
Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
|
1242
1234
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1243
1235
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1244
1236
|
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 45)
|
1245
1237
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1246
|
-
Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.
|
1247
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
1248
|
-
[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]]
|
1249
|
-
[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]]
|
1250
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1251
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1252
|
-
[1m[36mTRANSACTION (6.7ms)[0m [1m[36mcommit transaction[0m
|
1253
|
-
[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]]
|
1254
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
1238
|
+
Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.3ms | Allocations: 119)
|
1239
|
+
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 515)
|
1255
1240
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1256
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
1241
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36773"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1257
1242
|
[1m[36mTRANSACTION (4.9ms)[0m [1m[36mcommit transaction[0m
|
1258
1243
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1259
|
-
[1m[36mUser
|
1260
|
-
[1m[36mTRANSACTION (
|
1261
|
-
|
1244
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38867"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1245
|
+
[1m[36mTRANSACTION (6.5ms)[0m [1m[36mcommit transaction[0m
|
1246
|
+
Processing by Api::UserController#update as HTML
|
1247
|
+
Parameters: {"uid"=>"a1s2d36773"}
|
1248
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36773"], ["LIMIT", 1]]
|
1249
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1250
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "email" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["name", "Joshua Marshall"], ["email", "user@domain.com"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 10]]
|
1251
|
+
[1m[36mTRANSACTION (4.7ms)[0m [1m[36mcommit transaction[0m
|
1252
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.1ms | Allocations: 1181)
|
1253
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
1254
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
1255
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1256
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "5145"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1257
|
+
[1m[36mTRANSACTION (5.4ms)[0m [1m[36mcommit transaction[0m
|
1258
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1259
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 12]]
|
1260
|
+
[1m[36mTRANSACTION (7.4ms)[0m [1m[36mcommit transaction[0m
|
1261
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1262
1262
|
Processing by ExampleController#restricted as HTML
|
1263
1263
|
Authenticating with gds_sso strategy
|
1264
|
-
Completed in
|
1265
|
-
Started GET "/
|
1266
|
-
|
1264
|
+
Completed in 6ms (ActiveRecord: 0.0ms | Allocations: 181)
|
1265
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1266
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1267
|
+
Authenticating with gds_sso strategy
|
1268
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 127)
|
1269
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1270
|
+
Started GET "/auth/gds/callback?code=55P1wgAcjiIOpPqLkTy4m65tGPZ05dci11EFbfXNT4Q&state=e6b48d7d36c41bd1ba57995d739fa0328a99f3c004013ba0" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1267
1271
|
Processing by AuthenticationsController#callback as HTML
|
1268
|
-
Parameters: {"code"=>"
|
1272
|
+
Parameters: {"code"=>"55P1wgAcjiIOpPqLkTy4m65tGPZ05dci11EFbfXNT4Q", "state"=>"e6b48d7d36c41bd1ba57995d739fa0328a99f3c004013ba0"}
|
1269
1273
|
Authenticating with gds_sso strategy
|
1270
1274
|
[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]]
|
1271
1275
|
[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]]
|
1272
1276
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1273
1277
|
[1m[36mUser Create (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"]]
|
1274
|
-
[1m[36mTRANSACTION (
|
1275
|
-
[1m[36mTRANSACTION (0.
|
1276
|
-
[1m[36mUser Update (0.
|
1277
|
-
[1m[36mTRANSACTION (
|
1278
|
-
Redirected to http://www.example-client.com/
|
1279
|
-
Completed 302 Found in
|
1280
|
-
Started GET "/
|
1281
|
-
Processing by ExampleController#
|
1278
|
+
[1m[36mTRANSACTION (6.6ms)[0m [1m[36mcommit transaction[0m
|
1279
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1280
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 13]]
|
1281
|
+
[1m[36mTRANSACTION (6.2ms)[0m [1m[36mcommit transaction[0m
|
1282
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1283
|
+
Completed 302 Found in 17ms (ActiveRecord: 13.4ms | Allocations: 1345)
|
1284
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1285
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1282
1286
|
[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", 0], ["LIMIT", 1]]
|
1283
1287
|
Rendering text template
|
1284
1288
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1285
|
-
Completed 200 OK in 2ms (Views: 0.
|
1286
|
-
Started GET "/
|
1287
|
-
Processing by ExampleController#
|
1289
|
+
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms | Allocations: 880)
|
1290
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1291
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1288
1292
|
Authenticating with gds_sso strategy
|
1289
1293
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1290
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1291
|
-
Started GET "/auth/gds/callback?code=
|
1294
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1295
|
+
Started GET "/auth/gds/callback?code=7R7Ppq4eXMy28BnWqdAlkjftLeLiB8z-RRn2EikyK1o&state=902e9a7b9e9fb3fddf3fc07b11760b2142303b04a5a04a26" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1292
1296
|
Processing by AuthenticationsController#callback as HTML
|
1293
|
-
Parameters: {"code"=>"
|
1297
|
+
Parameters: {"code"=>"7R7Ppq4eXMy28BnWqdAlkjftLeLiB8z-RRn2EikyK1o", "state"=>"902e9a7b9e9fb3fddf3fc07b11760b2142303b04a5a04a26"}
|
1294
1298
|
Authenticating with gds_sso strategy
|
1295
|
-
[1m[36mUser Load (0.
|
1296
|
-
Redirected to http://www.example-client.com/
|
1297
|
-
Completed 302 Found in
|
1298
|
-
Started GET "/
|
1299
|
-
Processing by ExampleController#
|
1299
|
+
[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]]
|
1300
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1301
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 851)
|
1302
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1303
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1300
1304
|
[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", 0], ["LIMIT", 1]]
|
1301
1305
|
Rendering text template
|
1302
1306
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1303
|
-
Completed 200 OK in
|
1304
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1307
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 646)
|
1308
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1305
1309
|
Processing by ExampleController#restricted as HTML
|
1306
1310
|
Authenticating with gds_sso strategy
|
1307
1311
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1308
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1309
|
-
Started GET "/auth/gds/callback?code=
|
1312
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1313
|
+
Started GET "/auth/gds/callback?code=4_J-1EjGuXsjyZV-Mp3jhpOqKvRRBVUT0a_Jge2Li4U&state=e5bfa1ca78b958f9ed86d6391135f162cbcb999e2aa842ee" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1310
1314
|
Processing by AuthenticationsController#callback as HTML
|
1311
|
-
Parameters: {"code"=>"
|
1315
|
+
Parameters: {"code"=>"4_J-1EjGuXsjyZV-Mp3jhpOqKvRRBVUT0a_Jge2Li4U", "state"=>"e5bfa1ca78b958f9ed86d6391135f162cbcb999e2aa842ee"}
|
1312
1316
|
Authenticating with gds_sso strategy
|
1313
|
-
[1m[36mUser Load (0.
|
1317
|
+
[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]]
|
1314
1318
|
Redirected to http://www.example-client.com/restricted
|
1315
|
-
Completed 302 Found in
|
1316
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1319
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 851)
|
1320
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1317
1321
|
Processing by ExampleController#restricted as HTML
|
1318
1322
|
[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", 0], ["LIMIT", 1]]
|
1319
1323
|
Rendering text template
|
1320
1324
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1321
|
-
Completed 200 OK in
|
1322
|
-
Started GET "/
|
1323
|
-
Processing by ExampleController#
|
1325
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 650)
|
1326
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1327
|
+
Processing by ExampleController#restricted as HTML
|
1324
1328
|
Authenticating with gds_sso strategy
|
1325
1329
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1326
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1327
|
-
Started GET "/auth/gds/callback?code=
|
1330
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1331
|
+
Started GET "/auth/gds/callback?code=MqMyv2o2IB-yqTK9MwhBimImqe1X0JuN5GY6-ZlGZRE&state=f0b6ffa6bc80b53db29491acd4778d0f1b78d9bf4b9ba479" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1328
1332
|
Processing by AuthenticationsController#callback as HTML
|
1329
|
-
Parameters: {"code"=>"
|
1333
|
+
Parameters: {"code"=>"MqMyv2o2IB-yqTK9MwhBimImqe1X0JuN5GY6-ZlGZRE", "state"=>"f0b6ffa6bc80b53db29491acd4778d0f1b78d9bf4b9ba479"}
|
1330
1334
|
Authenticating with gds_sso strategy
|
1331
1335
|
[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]]
|
1332
|
-
Redirected to http://www.example-client.com/
|
1336
|
+
Redirected to http://www.example-client.com/restricted
|
1333
1337
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1334
|
-
Started GET "/
|
1335
|
-
Processing by ExampleController#
|
1338
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1339
|
+
Processing by ExampleController#restricted as HTML
|
1336
1340
|
[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", 0], ["LIMIT", 1]]
|
1337
1341
|
Rendering text template
|
1338
1342
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1339
|
-
Completed 200 OK in
|
1340
|
-
Started GET "/
|
1341
|
-
Processing by ExampleController#
|
1343
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
|
1344
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1345
|
+
Processing by ExampleController#restricted as HTML
|
1342
1346
|
Authenticating with gds_sso strategy
|
1343
1347
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1344
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1345
|
-
Started GET "/auth/gds/callback?code=
|
1348
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1349
|
+
Started GET "/auth/gds/callback?code=CfQARMTgL3_GUZENzxLtGd4Quuf6R7G77MXLgVZjoKs&state=90a6d1c767ef1ea16e29e3978021713ef0850c31545804e9" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1346
1350
|
Processing by AuthenticationsController#callback as HTML
|
1347
|
-
Parameters: {"code"=>"
|
1351
|
+
Parameters: {"code"=>"CfQARMTgL3_GUZENzxLtGd4Quuf6R7G77MXLgVZjoKs", "state"=>"90a6d1c767ef1ea16e29e3978021713ef0850c31545804e9"}
|
1348
1352
|
Authenticating with gds_sso strategy
|
1349
1353
|
[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]]
|
1350
|
-
Redirected to http://www.example-client.com/
|
1351
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
1352
|
-
Started GET "/
|
1353
|
-
Processing by ExampleController#
|
1354
|
+
Redirected to http://www.example-client.com/restricted
|
1355
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 852)
|
1356
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1357
|
+
Processing by ExampleController#restricted as HTML
|
1354
1358
|
[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", 0], ["LIMIT", 1]]
|
1355
1359
|
Rendering text template
|
1356
1360
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1357
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1358
|
-
Started GET "/" for 127.0.0.1 at
|
1361
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1362
|
+
Started GET "/" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1359
1363
|
Processing by ExampleController#index as HTML
|
1360
1364
|
Rendering text template
|
1361
1365
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1362
1366
|
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 135)
|
1363
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1367
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1364
1368
|
Processing by ExampleController#restricted as HTML
|
1365
1369
|
Authenticating with gds_sso strategy
|
1366
1370
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1367
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1368
|
-
Started GET "/auth/gds/callback?code=
|
1371
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1372
|
+
Started GET "/auth/gds/callback?code=W6W19LjHpTOOuxLesGWDZEj1RYcGMzZlR38g4SM5zQA&state=45c2a7309c46a5bb634b171b52e3a3b6646add334e6d5734" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1369
1373
|
Processing by AuthenticationsController#callback as HTML
|
1370
|
-
Parameters: {"code"=>"
|
1374
|
+
Parameters: {"code"=>"W6W19LjHpTOOuxLesGWDZEj1RYcGMzZlR38g4SM5zQA", "state"=>"45c2a7309c46a5bb634b171b52e3a3b6646add334e6d5734"}
|
1371
1375
|
Authenticating with gds_sso strategy
|
1372
1376
|
[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]]
|
1373
1377
|
Redirected to http://www.example-client.com/restricted
|
1374
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
1375
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1378
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1379
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1376
1380
|
Processing by ExampleController#restricted as HTML
|
1377
1381
|
[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", 0], ["LIMIT", 1]]
|
1378
1382
|
Rendering text template
|
1379
1383
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1380
|
-
Completed 200 OK in
|
1381
|
-
|
1382
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1383
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 13]]
|
1384
|
-
[1m[36mTRANSACTION (6.2ms)[0m [1m[36mcommit transaction[0m
|
1385
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1384
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 650)
|
1385
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:38:38 +0000
|
1386
1386
|
Processing by ExampleController#restricted as HTML
|
1387
1387
|
[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", 0], ["LIMIT", 1]]
|
1388
|
+
Rendering text template
|
1389
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1390
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 873)
|
1391
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1392
|
+
Processing by ExampleController#restricted as HTML
|
1388
1393
|
Authenticating with gds_sso strategy
|
1389
|
-
Completed in
|
1390
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1391
|
-
Started GET "/auth/gds/callback?code=
|
1394
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1395
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
|
1396
|
+
Started GET "/auth/gds/callback?code=2sHNUIZFNRlAbSE2NL2DLM5mRZwr8s5lMqHdLhNdkMM&state=404741a330d48497a842c26b43d7070744c8b6cae646d2f9" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1392
1397
|
Processing by AuthenticationsController#callback as HTML
|
1393
|
-
Parameters: {"code"=>"
|
1398
|
+
Parameters: {"code"=>"2sHNUIZFNRlAbSE2NL2DLM5mRZwr8s5lMqHdLhNdkMM", "state"=>"404741a330d48497a842c26b43d7070744c8b6cae646d2f9"}
|
1394
1399
|
Authenticating with gds_sso strategy
|
1395
1400
|
[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]]
|
1396
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1397
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 13]]
|
1398
|
-
[1m[36mTRANSACTION (6.4ms)[0m [1m[36mcommit transaction[0m
|
1399
1401
|
Redirected to http://www.example-client.com/restricted
|
1400
|
-
Completed 302 Found in
|
1401
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1402
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1403
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1402
1404
|
Processing by ExampleController#restricted as HTML
|
1403
1405
|
[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", 0], ["LIMIT", 1]]
|
1404
1406
|
Rendering text template
|
1405
1407
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1406
|
-
Completed 200 OK in
|
1407
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1408
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 651)
|
1409
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:39 +0000
|
1408
1410
|
Processing by ExampleController#restricted as HTML
|
1409
1411
|
Authenticating with gds_sso strategy
|
1410
|
-
Completed in
|
1411
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1412
|
-
Started GET "/auth/gds/callback?code=
|
1412
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 496)
|
1413
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:39 +0000
|
1414
|
+
Started GET "/auth/gds/callback?code=nJlR_03mhqv61hpPJDe7u5aqqCXyj-i4yU1XFt7Dikg&state=b08e3d192c182014f92e2ddc738c97b4a7ccb8927e6fd3a6" for 127.0.0.1 at 2022-04-08 11:48:39 +0000
|
1413
1415
|
Processing by AuthenticationsController#callback as HTML
|
1414
|
-
Parameters: {"code"=>"
|
1416
|
+
Parameters: {"code"=>"nJlR_03mhqv61hpPJDe7u5aqqCXyj-i4yU1XFt7Dikg", "state"=>"b08e3d192c182014f92e2ddc738c97b4a7ccb8927e6fd3a6"}
|
1415
1417
|
Authenticating with gds_sso strategy
|
1416
1418
|
[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]]
|
1417
1419
|
Redirected to http://www.example-client.com/restricted
|
1418
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
1419
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1420
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1053)
|
1421
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:39 +0000
|
1420
1422
|
Processing by ExampleController#restricted as HTML
|
1421
1423
|
[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", 0], ["LIMIT", 1]]
|
1422
1424
|
Rendering text template
|
1423
1425
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1424
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1425
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1426
|
-
Processing by ExampleController#restricted as HTML
|
1427
|
-
Authenticating with gds_sso strategy
|
1428
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 502)
|
1429
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:32 +0000
|
1430
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1426
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 875)
|
1427
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1431
1428
|
Processing by ExampleController#restricted as HTML
|
1432
1429
|
Authenticating with gds_sso strategy
|
1433
1430
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1434
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1435
|
-
Started GET "/auth/gds/callback?code=
|
1431
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1432
|
+
Started GET "/auth/gds/callback?code=LoNt1nJfOH2fD2axSPl-4Djn_WR8lxwWSd3XxDHcesI&state=07a00bec2967a0c475e3f80d39b6fa0d5bd3a55dac97f8b7" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1436
1433
|
Processing by AuthenticationsController#callback as HTML
|
1437
|
-
Parameters: {"code"=>"
|
1434
|
+
Parameters: {"code"=>"LoNt1nJfOH2fD2axSPl-4Djn_WR8lxwWSd3XxDHcesI", "state"=>"07a00bec2967a0c475e3f80d39b6fa0d5bd3a55dac97f8b7"}
|
1438
1435
|
Authenticating with gds_sso strategy
|
1439
1436
|
[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]]
|
1440
1437
|
Redirected to http://www.example-client.com/restricted
|
1441
|
-
Completed 302 Found in
|
1442
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1438
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1439
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1443
1440
|
Processing by ExampleController#restricted as HTML
|
1444
1441
|
[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", 0], ["LIMIT", 1]]
|
1445
1442
|
Rendering text template
|
1446
1443
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1447
1444
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
|
1448
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1445
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:39 +0000
|
1446
|
+
Processing by ExampleController#restricted as HTML
|
1447
|
+
Authenticating with gds_sso strategy
|
1448
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 496)
|
1449
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:39 +0000
|
1450
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1449
1451
|
Processing by ExampleController#restricted as HTML
|
1450
1452
|
Authenticating with gds_sso strategy
|
1451
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1452
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1453
|
-
Started GET "/auth/gds/callback?code=
|
1453
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1454
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1455
|
+
Started GET "/auth/gds/callback?code=L82QsiuuG9bkfdHnVl7r55NiIi4yFMKpE5S9gogbxzE&state=54882378e1f46fdd35ba679ae0d660bfb5533e3bd3566d22" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1454
1456
|
Processing by AuthenticationsController#callback as HTML
|
1455
|
-
Parameters: {"code"=>"
|
1457
|
+
Parameters: {"code"=>"L82QsiuuG9bkfdHnVl7r55NiIi4yFMKpE5S9gogbxzE", "state"=>"54882378e1f46fdd35ba679ae0d660bfb5533e3bd3566d22"}
|
1456
1458
|
Authenticating with gds_sso strategy
|
1457
|
-
[1m[36mUser Load (0.
|
1459
|
+
[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]]
|
1458
1460
|
Redirected to http://www.example-client.com/restricted
|
1459
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
1460
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1461
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 851)
|
1462
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1461
1463
|
Processing by ExampleController#restricted as HTML
|
1462
1464
|
[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", 0], ["LIMIT", 1]]
|
1463
1465
|
Rendering text template
|
1464
1466
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1465
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1466
|
-
|
1467
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
|
1468
|
+
[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]]
|
1469
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1470
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 13]]
|
1471
|
+
[1m[36mTRANSACTION (6.2ms)[0m [1m[36mcommit transaction[0m
|
1472
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1467
1473
|
Processing by ExampleController#restricted as HTML
|
1474
|
+
[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", 0], ["LIMIT", 1]]
|
1468
1475
|
Authenticating with gds_sso strategy
|
1469
|
-
Completed in
|
1470
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1471
|
-
Started GET "/auth/gds/callback?code=
|
1476
|
+
Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 533)
|
1477
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1478
|
+
Started GET "/auth/gds/callback?code=iNYHlgrenxhzzWD9ds_HmUNRh4j6QA1kMJ24VQXI3XI&state=466309589253f054c429bd6b66fa7ebaa95cec11ec3cb5c0" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1472
1479
|
Processing by AuthenticationsController#callback as HTML
|
1473
|
-
Parameters: {"code"=>"
|
1480
|
+
Parameters: {"code"=>"iNYHlgrenxhzzWD9ds_HmUNRh4j6QA1kMJ24VQXI3XI", "state"=>"466309589253f054c429bd6b66fa7ebaa95cec11ec3cb5c0"}
|
1474
1481
|
Authenticating with gds_sso strategy
|
1475
1482
|
[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]]
|
1483
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1484
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 13]]
|
1485
|
+
[1m[36mTRANSACTION (5.2ms)[0m [1m[36mcommit transaction[0m
|
1476
1486
|
Redirected to http://www.example-client.com/restricted
|
1477
|
-
Completed 302 Found in
|
1478
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1479
|
-
Processing by ExampleController#restricted as HTML
|
1480
|
-
[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", 0], ["LIMIT", 1]]
|
1481
|
-
Rendering text template
|
1482
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1483
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1484
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:02:32 +0000
|
1487
|
+
Completed 302 Found in 8ms (ActiveRecord: 5.6ms | Allocations: 1044)
|
1488
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1485
1489
|
Processing by ExampleController#restricted as HTML
|
1486
1490
|
[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", 0], ["LIMIT", 1]]
|
1487
1491
|
Rendering text template
|
1488
1492
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1489
|
-
Completed 200 OK in
|
1490
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1491
|
-
Processing by ExampleController#restricted as HTML
|
1492
|
-
Authenticating with gds_sso strategy
|
1493
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 127)
|
1494
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1493
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 651)
|
1494
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1495
1495
|
Processing by ExampleController#restricted as JSON
|
1496
|
-
Completed in
|
1497
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1496
|
+
Completed in 16ms (ActiveRecord: 0.0ms | Allocations: 2029)
|
1497
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1498
1498
|
Processing by ExampleController#restricted as JSON
|
1499
1499
|
[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]]
|
1500
1500
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1501
1501
|
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
1502
|
-
[1m[36mTRANSACTION (
|
1502
|
+
[1m[36mTRANSACTION (6.6ms)[0m [1m[36mcommit transaction[0m
|
1503
1503
|
[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]]
|
1504
1504
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1505
1505
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1506
1506
|
Rendering text template
|
1507
1507
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1508
|
-
Completed 200 OK in
|
1509
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1508
|
+
Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 7.1ms | Allocations: 3196)
|
1509
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1510
1510
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
1511
|
-
[1m[36mUser Load (0.
|
1511
|
+
[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]]
|
1512
1512
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1513
1513
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1514
1514
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1515
1515
|
Rendering text template
|
1516
1516
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1517
|
-
Completed 200 OK in
|
1518
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1517
|
+
Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.2ms | Allocations: 2922)
|
1518
|
+
Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
|
1519
1519
|
Processing by ExampleController#restricted as JSON
|
1520
|
-
Completed in
|
1520
|
+
Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1809)
|