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