gds-sso 15.1.0 → 16.0.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/README.md +3 -3
- data/lib/gds-sso/config.rb +2 -2
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +744 -744
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 911e1ecb0d2e34bd5f8e8709c2f30c3cbe7a6c41e414471e6a0e05551bfed011
|
4
|
+
data.tar.gz: 9d5f275d870a44a01249602b94d913b072e1dcb70683bcc9a967dbb32918eab3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01cb316219c04abae1b187eed25de5c89c4eba5e1d9630e63fc02aaef89a0345740d02555c045f97ee4f5c35f733cd17c4c0d5b0d88bcd2874543370d10af09c
|
7
|
+
data.tar.gz: e9eab59c8d961842d1d9fe6c2719d628590ac486609928a3126df815f1f6846691b220f688859a5db6a3bfb3201e12aab4727afb1f74981f958e0e61fd86d222
|
data/README.md
CHANGED
@@ -17,7 +17,7 @@ Some of the applications that use this gem:
|
|
17
17
|
- Include the gem in your Gemfile:
|
18
18
|
|
19
19
|
```ruby
|
20
|
-
gem 'gds-sso'
|
20
|
+
gem 'gds-sso'
|
21
21
|
```
|
22
22
|
|
23
23
|
- Create a "users" table in the database: ([example migration with all the necessary fields](https://github.com/alphagov/content-publisher/blob/16c58a40745c1ea61ec241e5aeb702ae15238f98/db/migrate/20160622154200_create_users.rb))
|
@@ -107,8 +107,8 @@ end
|
|
107
107
|
|
108
108
|
To use gds-sso in production you will need to setup the following environment variables, which we look for in [the config](https://github.com/alphagov/gds-sso/blob/master/lib/gds-sso/config.rb). You will need to have admin access to Signon to get these.
|
109
109
|
|
110
|
-
-
|
111
|
-
-
|
110
|
+
- GDS_SSO_OAUTH_ID
|
111
|
+
- GDS_SSO_OAUTH_SECRET
|
112
112
|
|
113
113
|
### Use in development mode
|
114
114
|
|
data/lib/gds-sso/config.rb
CHANGED
@@ -12,11 +12,11 @@ module GDS
|
|
12
12
|
|
13
13
|
# OAuth ID
|
14
14
|
mattr_accessor :oauth_id
|
15
|
-
@@oauth_id = ENV.fetch("
|
15
|
+
@@oauth_id = ENV.fetch("GDS_SSO_OAUTH_ID", "test-oauth-id")
|
16
16
|
|
17
17
|
# OAuth Secret
|
18
18
|
mattr_accessor :oauth_secret
|
19
|
-
@@oauth_secret = ENV.fetch("
|
19
|
+
@@oauth_secret = ENV.fetch("GDS_SSO_OAUTH_SECRET", "test-oauth-secret")
|
20
20
|
|
21
21
|
# Location of the OAuth server
|
22
22
|
mattr_accessor :oauth_root_url
|
data/lib/gds-sso/version.rb
CHANGED
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,160 +1,149 @@
|
|
1
1
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
2
|
-
[1m[35m (
|
3
|
-
[1m[35m (
|
4
|
-
[1m[35m (
|
2
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3
|
+
[1m[35m (9.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 'f')[0m
|
4
|
+
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
5
5
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[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", "2020-
|
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", "2020-11-12 10:32:03.986507"], ["updated_at", "2020-11-12 10:32:03.986507"]]
|
8
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
9
|
+
[1m[35m (14.9ms)[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
|
-
[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]]
|
14
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
15
|
-
[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", "1000"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
16
|
-
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
17
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
18
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
19
|
-
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
20
13
|
[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]]
|
21
14
|
[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]]
|
22
15
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
23
16
|
[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]]
|
24
|
-
[1m[35m (
|
17
|
+
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
25
18
|
[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]]
|
26
19
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
27
20
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
28
|
-
Started GET "/
|
21
|
+
Started GET "/" for 127.0.0.1 at 2020-11-12 10:32:04 +0000
|
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
|
29
27
|
Processing by ExampleController#restricted as HTML
|
30
28
|
Authenticating with gds_sso strategy
|
31
29
|
Completed in 4ms (ActiveRecord: 0.0ms)
|
32
|
-
Started GET "/
|
33
|
-
|
34
|
-
Authenticating with gds_sso strategy
|
35
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
36
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
37
|
-
Started GET "/auth/gds/callback?code=qlgWGND49FA4hmi1xxwtSmNDpxMu8JdbWneB08p7_qU&state=eae923f804055f5089297e4d477619f6307606c3c9445704" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
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
|
38
32
|
Processing by AuthenticationsController#callback as HTML
|
39
|
-
Parameters: {"code"=>"
|
33
|
+
Parameters: {"code"=>"5PIw9kafgD-w47vu0TK-lQtDOIqaqYQbx7a8qb7GK1w", "state"=>"1d465f678b40d424d735dc7608df2e290c9237aa41631e2b"}
|
40
34
|
Authenticating with gds_sso strategy
|
41
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]]
|
42
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]]
|
43
|
-
[1m[35m (0.
|
37
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
44
38
|
[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"]]
|
45
|
-
[1m[35m (
|
39
|
+
[1m[35m (16.2ms)[0m [1m[36mcommit transaction[0m
|
46
40
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
47
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id",
|
48
|
-
[1m[35m (
|
41
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
42
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
49
43
|
Redirected to http://www.example-client.com/restricted
|
50
|
-
Completed 302 Found in
|
51
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
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
|
52
46
|
Processing by ExampleController#restricted as HTML
|
53
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]]
|
54
48
|
Rendering text template
|
55
49
|
Rendered text template (0.0ms)
|
56
|
-
Completed 200 OK in
|
57
|
-
Started GET "/" for 127.0.0.1 at 2020-
|
58
|
-
Processing by ExampleController#
|
59
|
-
Rendering text template
|
60
|
-
Rendered text template (0.0ms)
|
61
|
-
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
63
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
50
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
51
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
52
|
+
Processing by ExampleController#restricted as HTML
|
64
53
|
Authenticating with gds_sso strategy
|
65
54
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
66
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
67
|
-
Started GET "/auth/gds/callback?code=
|
55
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
56
|
+
Started GET "/auth/gds/callback?code=HQu4HfZ5_JyPXL_xiqzqu8WH-O2VYS6ByXhPZb8qozI&state=945471eade7f33de534ef590c1b5141e51c9368fa4a05f22" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
68
57
|
Processing by AuthenticationsController#callback as HTML
|
69
|
-
Parameters: {"code"=>"
|
58
|
+
Parameters: {"code"=>"HQu4HfZ5_JyPXL_xiqzqu8WH-O2VYS6ByXhPZb8qozI", "state"=>"945471eade7f33de534ef590c1b5141e51c9368fa4a05f22"}
|
70
59
|
Authenticating with gds_sso strategy
|
71
60
|
[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]]
|
72
61
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
73
62
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
74
63
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
75
64
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
76
|
-
Redirected to http://www.example-client.com/
|
77
|
-
Completed 302 Found in
|
78
|
-
Started GET "/
|
79
|
-
Processing by ExampleController#
|
65
|
+
Redirected to http://www.example-client.com/restricted
|
66
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
67
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
68
|
+
Processing by ExampleController#restricted as HTML
|
80
69
|
[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]]
|
81
70
|
Rendering text template
|
82
71
|
Rendered text template (0.0ms)
|
83
72
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
84
|
-
Started GET "/
|
85
|
-
Processing by ExampleController#
|
73
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
74
|
+
Processing by ExampleController#restricted as HTML
|
86
75
|
Authenticating with gds_sso strategy
|
87
76
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
88
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
89
|
-
Started GET "/auth/gds/callback?code=
|
77
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
78
|
+
Started GET "/auth/gds/callback?code=AUnQQZ_9tC8EUE2rMN5XRT0QB0FOO_-0HM1ThO_nXnQ&state=17587a8a3db3d14cad9aaedc4af64e34ca19e8f354533278" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
90
79
|
Processing by AuthenticationsController#callback as HTML
|
91
|
-
Parameters: {"code"=>"
|
80
|
+
Parameters: {"code"=>"AUnQQZ_9tC8EUE2rMN5XRT0QB0FOO_-0HM1ThO_nXnQ", "state"=>"17587a8a3db3d14cad9aaedc4af64e34ca19e8f354533278"}
|
92
81
|
Authenticating with gds_sso strategy
|
93
82
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
94
83
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
95
84
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
96
85
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
97
86
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
98
|
-
Redirected to http://www.example-client.com/
|
87
|
+
Redirected to http://www.example-client.com/restricted
|
99
88
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
100
|
-
Started GET "/
|
101
|
-
Processing by ExampleController#
|
89
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
90
|
+
Processing by ExampleController#restricted as HTML
|
102
91
|
[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]]
|
103
92
|
Rendering text template
|
104
93
|
Rendered text template (0.0ms)
|
105
94
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
106
|
-
Started GET "/
|
107
|
-
Processing by ExampleController#
|
95
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
96
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
108
97
|
Authenticating with gds_sso strategy
|
109
98
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
110
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
111
|
-
Started GET "/auth/gds/callback?code=
|
99
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
100
|
+
Started GET "/auth/gds/callback?code=1CtGZRB7EoILhKwm5T8pJMczSm4Qj5lVHPRBUn53p6E&state=0c7ec196e38964fd235cc8d0cd571c582005e878bd9d753e" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
112
101
|
Processing by AuthenticationsController#callback as HTML
|
113
|
-
Parameters: {"code"=>"
|
102
|
+
Parameters: {"code"=>"1CtGZRB7EoILhKwm5T8pJMczSm4Qj5lVHPRBUn53p6E", "state"=>"0c7ec196e38964fd235cc8d0cd571c582005e878bd9d753e"}
|
114
103
|
Authenticating with gds_sso strategy
|
115
104
|
[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]]
|
116
105
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
117
106
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
118
107
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
119
108
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
120
|
-
Redirected to http://www.example-client.com/
|
109
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
121
110
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
122
|
-
Started GET "/
|
123
|
-
Processing by ExampleController#
|
111
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
112
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
124
113
|
[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]]
|
125
114
|
Rendering text template
|
126
115
|
Rendered text template (0.0ms)
|
127
116
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
128
|
-
Started GET "/
|
129
|
-
Processing by ExampleController#
|
117
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
118
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
130
119
|
Authenticating with gds_sso strategy
|
131
120
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
132
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
133
|
-
Started GET "/auth/gds/callback?code=
|
121
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
122
|
+
Started GET "/auth/gds/callback?code=RDemX4a8LVpRvLcJVG2Ql1RALzX0HJUN9OI443G-Kps&state=60b8b1b6856d89aaf3c4312032c3188cda205aaa43a3076c" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
134
123
|
Processing by AuthenticationsController#callback as HTML
|
135
|
-
Parameters: {"code"=>"
|
124
|
+
Parameters: {"code"=>"RDemX4a8LVpRvLcJVG2Ql1RALzX0HJUN9OI443G-Kps", "state"=>"60b8b1b6856d89aaf3c4312032c3188cda205aaa43a3076c"}
|
136
125
|
Authenticating with gds_sso strategy
|
137
126
|
[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]]
|
138
127
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
139
128
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
140
129
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
141
130
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
142
|
-
Redirected to http://www.example-client.com/
|
143
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
144
|
-
Started GET "/
|
145
|
-
Processing by ExampleController#
|
131
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
132
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
133
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
134
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
146
135
|
[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]]
|
147
136
|
Rendering text template
|
148
137
|
Rendered text template (0.0ms)
|
149
138
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
150
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
139
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
151
140
|
Processing by ExampleController#restricted as HTML
|
152
141
|
Authenticating with gds_sso strategy
|
153
142
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
154
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
155
|
-
Started GET "/auth/gds/callback?code=
|
143
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
144
|
+
Started GET "/auth/gds/callback?code=FIZMBuhnhOWKBPSjBM3EOHK_0LjsIiNxYFkpfqZdLs4&state=9f913a1df9f8a84c13701c343414808c965bb311d5f4b131" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
156
145
|
Processing by AuthenticationsController#callback as HTML
|
157
|
-
Parameters: {"code"=>"
|
146
|
+
Parameters: {"code"=>"FIZMBuhnhOWKBPSjBM3EOHK_0LjsIiNxYFkpfqZdLs4", "state"=>"9f913a1df9f8a84c13701c343414808c965bb311d5f4b131"}
|
158
147
|
Authenticating with gds_sso strategy
|
159
148
|
[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]]
|
160
149
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -163,20 +152,20 @@ Authenticating with gds_sso strategy
|
|
163
152
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
164
153
|
Redirected to http://www.example-client.com/restricted
|
165
154
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
166
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
155
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
167
156
|
Processing by ExampleController#restricted as HTML
|
168
157
|
[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]]
|
169
158
|
Rendering text template
|
170
159
|
Rendered text template (0.0ms)
|
171
160
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
172
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
161
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:05 +0000
|
173
162
|
Processing by ExampleController#restricted as HTML
|
174
163
|
Authenticating with gds_sso strategy
|
175
164
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
176
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
177
|
-
Started GET "/auth/gds/callback?code=
|
165
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-13 06:37:05 +0000
|
166
|
+
Started GET "/auth/gds/callback?code=26_VObzk6RBl1Y-JlmmZrX2aS1Uw5JDuAF_nX_R0FmA&state=c8cefbd613f62c391f9f8f0d2aabd6b996ac4b2ded556553" for 127.0.0.1 at 2020-11-13 06:37:05 +0000
|
178
167
|
Processing by AuthenticationsController#callback as HTML
|
179
|
-
Parameters: {"code"=>"
|
168
|
+
Parameters: {"code"=>"26_VObzk6RBl1Y-JlmmZrX2aS1Uw5JDuAF_nX_R0FmA", "state"=>"c8cefbd613f62c391f9f8f0d2aabd6b996ac4b2ded556553"}
|
180
169
|
Authenticating with gds_sso strategy
|
181
170
|
[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]]
|
182
171
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -185,20 +174,20 @@ Authenticating with gds_sso strategy
|
|
185
174
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
186
175
|
Redirected to http://www.example-client.com/restricted
|
187
176
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
188
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
177
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:05 +0000
|
189
178
|
Processing by ExampleController#restricted as HTML
|
190
179
|
[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]]
|
191
180
|
Rendering text template
|
192
181
|
Rendered text template (0.0ms)
|
193
182
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
194
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
183
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
195
184
|
Processing by ExampleController#restricted as HTML
|
196
185
|
Authenticating with gds_sso strategy
|
197
186
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
198
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
199
|
-
Started GET "/auth/gds/callback?code=
|
187
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
188
|
+
Started GET "/auth/gds/callback?code=hAUGN0xz6HMlqKeRf5EVdAU6Csrq5w-KdOs5G4feXhE&state=cda48ce98ff81369f2f1591082c856bf36436aa8c937f226" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
200
189
|
Processing by AuthenticationsController#callback as HTML
|
201
|
-
Parameters: {"code"=>"
|
190
|
+
Parameters: {"code"=>"hAUGN0xz6HMlqKeRf5EVdAU6Csrq5w-KdOs5G4feXhE", "state"=>"cda48ce98ff81369f2f1591082c856bf36436aa8c937f226"}
|
202
191
|
Authenticating with gds_sso strategy
|
203
192
|
[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]]
|
204
193
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -206,27 +195,26 @@ Authenticating with gds_sso strategy
|
|
206
195
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
207
196
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
208
197
|
Redirected to http://www.example-client.com/restricted
|
209
|
-
Completed 302 Found in
|
210
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
198
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
199
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
211
200
|
Processing by ExampleController#restricted as HTML
|
212
201
|
[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]]
|
213
202
|
Rendering text template
|
214
203
|
Rendered text template (0.0ms)
|
215
204
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
216
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
205
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:05 +0000
|
217
206
|
Processing by ExampleController#restricted as HTML
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
207
|
+
Authenticating with gds_sso strategy
|
208
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
209
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-13 06:37:05 +0000
|
210
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
223
211
|
Processing by ExampleController#restricted as HTML
|
224
212
|
Authenticating with gds_sso strategy
|
225
213
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
226
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
227
|
-
Started GET "/auth/gds/callback?code=
|
214
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
215
|
+
Started GET "/auth/gds/callback?code=jzQ_soaIJj0BbRtVxufZawXPKlymKyS57UXpUCIAbZ8&state=ca89992b2febaaadde9833cd1b48a7778da175aabaea6882" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
228
216
|
Processing by AuthenticationsController#callback as HTML
|
229
|
-
Parameters: {"code"=>"
|
217
|
+
Parameters: {"code"=>"jzQ_soaIJj0BbRtVxufZawXPKlymKyS57UXpUCIAbZ8", "state"=>"ca89992b2febaaadde9833cd1b48a7778da175aabaea6882"}
|
230
218
|
Authenticating with gds_sso strategy
|
231
219
|
[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]]
|
232
220
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -234,26 +222,27 @@ Authenticating with gds_sso strategy
|
|
234
222
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
235
223
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
236
224
|
Redirected to http://www.example-client.com/restricted
|
237
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
238
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
225
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
226
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
239
227
|
Processing by ExampleController#restricted as HTML
|
240
228
|
[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]]
|
241
229
|
Rendering text template
|
242
230
|
Rendered text template (0.0ms)
|
243
231
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
244
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
232
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:27:05 +0000
|
245
233
|
Processing by ExampleController#restricted as HTML
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
234
|
+
[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
|
+
Rendering text template
|
236
|
+
Rendered text template (0.0ms)
|
237
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
238
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
250
239
|
Processing by ExampleController#restricted as HTML
|
251
240
|
Authenticating with gds_sso strategy
|
252
241
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
253
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
254
|
-
Started GET "/auth/gds/callback?code=
|
242
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
243
|
+
Started GET "/auth/gds/callback?code=SZNqlD2FYsafU_1ga-FRwrfPsWhP6Pdm4cBTuOz_5WU&state=95a8cee2cc73eb937159df1bfaa0d40f15a1be654454bdee" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
255
244
|
Processing by AuthenticationsController#callback as HTML
|
256
|
-
Parameters: {"code"=>"
|
245
|
+
Parameters: {"code"=>"SZNqlD2FYsafU_1ga-FRwrfPsWhP6Pdm4cBTuOz_5WU", "state"=>"95a8cee2cc73eb937159df1bfaa0d40f15a1be654454bdee"}
|
257
246
|
Authenticating with gds_sso strategy
|
258
247
|
[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]]
|
259
248
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -261,8 +250,8 @@ Authenticating with gds_sso strategy
|
|
261
250
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
262
251
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
263
252
|
Redirected to http://www.example-client.com/restricted
|
264
|
-
Completed 302 Found in
|
265
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
253
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
254
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
266
255
|
Processing by ExampleController#restricted as HTML
|
267
256
|
[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]]
|
268
257
|
Rendering text template
|
@@ -270,38 +259,48 @@ Processing by ExampleController#restricted as HTML
|
|
270
259
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
271
260
|
[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]]
|
272
261
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
273
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id",
|
274
|
-
[1m[35m (
|
275
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
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
|
276
265
|
Processing by ExampleController#restricted as HTML
|
277
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]]
|
278
267
|
Authenticating with gds_sso strategy
|
279
268
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
280
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
281
|
-
Started GET "/auth/gds/callback?code=
|
269
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
270
|
+
Started GET "/auth/gds/callback?code=RQ2ThU1DueOwCsZdjd_OZ0rVk1vGzPqZOagymAbZ0_w&state=e249b10a822052ce494798d77cd21a4d4c34dac68870ee4a" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
282
271
|
Processing by AuthenticationsController#callback as HTML
|
283
|
-
Parameters: {"code"=>"
|
272
|
+
Parameters: {"code"=>"RQ2ThU1DueOwCsZdjd_OZ0rVk1vGzPqZOagymAbZ0_w", "state"=>"e249b10a822052ce494798d77cd21a4d4c34dac68870ee4a"}
|
284
273
|
Authenticating with gds_sso strategy
|
285
274
|
[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]]
|
286
275
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
287
|
-
[1m[35m (0.
|
276
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
288
277
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
289
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id",
|
290
|
-
[1m[35m (4.
|
278
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
279
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
291
280
|
Redirected to http://www.example-client.com/restricted
|
292
|
-
Completed 302 Found in
|
293
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
281
|
+
Completed 302 Found in 8ms (ActiveRecord: 5.3ms)
|
282
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
294
283
|
Processing by ExampleController#restricted as HTML
|
295
284
|
[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]]
|
296
285
|
Rendering text template
|
297
286
|
Rendered text template (0.0ms)
|
298
287
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
299
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
288
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
289
|
+
Processing by ExampleController#restricted as HTML
|
290
|
+
Authenticating with gds_sso strategy
|
291
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
292
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
293
|
+
Processing by ExampleController#restricted as JSON
|
294
|
+
Completed in 9ms (ActiveRecord: 0.0ms)
|
295
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
296
|
+
Processing by ExampleController#restricted as JSON
|
297
|
+
Completed in 12ms (ActiveRecord: 0.0ms)
|
298
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
300
299
|
Processing by ExampleController#restricted as JSON
|
301
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]]
|
302
301
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
303
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id",
|
304
|
-
[1m[35m (
|
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
|
305
304
|
[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]]
|
306
305
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
307
306
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
@@ -315,11 +314,8 @@ Processing by ExampleController#restricted as JSON
|
|
315
314
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
316
315
|
Rendering text template
|
317
316
|
Rendered text template (0.0ms)
|
318
|
-
Completed 200 OK in
|
319
|
-
Started GET "/
|
320
|
-
Processing by ExampleController#restricted as JSON
|
321
|
-
Completed in 12ms (ActiveRecord: 0.0ms)
|
322
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
317
|
+
Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 4.8ms)
|
318
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
323
319
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
324
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]]
|
325
321
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -338,360 +334,318 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
338
334
|
Rendering text template
|
339
335
|
Rendered text template (0.0ms)
|
340
336
|
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
341
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
342
|
-
Processing by ExampleController#restricted as JSON
|
343
|
-
Completed in 7ms (ActiveRecord: 0.0ms)
|
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", "a1s2d36751"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
346
|
-
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
347
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
348
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37112"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
349
|
-
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
350
|
-
Processing by Api::UserController#reauth as HTML
|
351
|
-
Parameters: {"uid"=>"a1s2d36751"}
|
352
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36751"], ["LIMIT", 1]]
|
353
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
354
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 4]]
|
355
|
-
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
356
|
-
Completed 200 OK in 6ms (ActiveRecord: 4.9ms)
|
357
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
358
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
359
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39451"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
360
|
-
[1m[35m (9.7ms)[0m [1m[36mcommit transaction[0m
|
361
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
362
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38478"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
363
|
-
[1m[35m (15.0ms)[0m [1m[36mcommit transaction[0m
|
364
|
-
Processing by Api::UserController#reauth as HTML
|
365
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
366
|
-
[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]]
|
367
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
368
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
369
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36453"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
370
|
-
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
371
337
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
372
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
373
|
-
[1m[35m (
|
374
|
-
Processing by Api::UserController#reauth as HTML
|
375
|
-
Parameters: {"uid"=>"a1s2d36453"}
|
376
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
377
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
378
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
379
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
380
|
-
Completed 403 Forbidden in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
381
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
382
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37723"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
383
|
-
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
338
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34354"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
339
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
384
340
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
385
|
-
[1m[36mUser Create (0.
|
386
|
-
[1m[35m (4.
|
341
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34127"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
342
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
387
343
|
Processing by Api::UserController#update as HTML
|
388
|
-
Parameters: {"uid"=>"
|
389
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
344
|
+
Parameters: {"uid"=>"a1s2d34354"}
|
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]]
|
390
346
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
391
|
-
[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",
|
392
|
-
[1m[35m (4.
|
393
|
-
Completed 200 OK in
|
394
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id",
|
347
|
+
[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]]
|
348
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
349
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.1ms)
|
350
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
395
351
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
396
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
397
|
-
[1m[35m (
|
352
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33333"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
353
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
398
354
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
399
|
-
[1m[36mUser Create (0.
|
400
|
-
[1m[35m (4.
|
355
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38699"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
356
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
401
357
|
Processing by Api::UserController#update as HTML
|
402
|
-
Parameters: {"uid"=>"
|
358
|
+
Parameters: {"uid"=>"a1s2d33333"}
|
403
359
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
404
360
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
405
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
361
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
406
362
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
407
|
-
Completed 403 Forbidden in
|
408
|
-
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
409
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
410
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
411
|
-
[1m[35m (8.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
|
412
|
-
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
413
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
414
|
-
[1m[35m (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", "2020-10-26 14:51:09.395508"], ["updated_at", "2020-10-26 14:51:09.395508"]]
|
416
|
-
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
417
|
-
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
363
|
+
Completed 403 Forbidden in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
420
364
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
421
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
422
|
-
[1m[35m (
|
365
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33128"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
366
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
423
367
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
424
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
425
|
-
[1m[35m (
|
368
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37859"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
369
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
426
370
|
Processing by Api::UserController#reauth as HTML
|
427
|
-
Parameters: {"uid"=>"
|
428
|
-
|
429
|
-
|
430
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 266)
|
431
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
432
|
-
Completed 403 Forbidden in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms | Allocations: 3270)
|
371
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
372
|
+
[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]]
|
373
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
433
374
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
434
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
435
|
-
[1m[35m (5.
|
375
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38771"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
376
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
436
377
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
437
|
-
[1m[36mUser Create (0.
|
438
|
-
[1m[35m (
|
378
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38635"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
379
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
439
380
|
Processing by Api::UserController#reauth as HTML
|
440
|
-
Parameters: {"uid"=>"
|
441
|
-
[1m[36mUser Load (0.
|
381
|
+
Parameters: {"uid"=>"a1s2d38771"}
|
382
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38771"], ["LIMIT", 1]]
|
442
383
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
443
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out",
|
444
|
-
[1m[35m (
|
445
|
-
Completed 200 OK in
|
446
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT
|
384
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 9]]
|
385
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
386
|
+
Completed 200 OK in 7ms (ActiveRecord: 6.0ms)
|
387
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
447
388
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
448
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
449
|
-
[1m[35m (
|
389
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37217"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
390
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
450
391
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
451
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
452
|
-
[1m[35m (
|
392
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35812"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
393
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
453
394
|
Processing by Api::UserController#reauth as HTML
|
454
|
-
Parameters: {"uid"=>"
|
455
|
-
[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]]
|
456
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 521)
|
457
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
458
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34405"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
459
|
-
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
460
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
461
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3951"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
462
|
-
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
463
|
-
Processing by Api::UserController#update as HTML
|
464
|
-
Parameters: {"uid"=>"a1s2d34405"}
|
465
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34405"], ["LIMIT", 1]]
|
466
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
467
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 7]]
|
468
|
-
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
469
|
-
Completed 200 OK in 8ms (ActiveRecord: 6.6ms | Allocations: 1284)
|
470
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
471
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
472
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34335"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
473
|
-
[1m[35m (9.8ms)[0m [1m[36mcommit transaction[0m
|
474
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
475
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39368"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
476
|
-
[1m[35m (7.4ms)[0m [1m[36mcommit transaction[0m
|
477
|
-
Processing by Api::UserController#update as HTML
|
478
|
-
Parameters: {"uid"=>"a1s2d34335"}
|
395
|
+
Parameters: {"uid"=>"a1s2d37217"}
|
479
396
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
480
397
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
481
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (
|
398
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
482
399
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
483
|
-
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms
|
484
|
-
[1m[36mUser Load (0.
|
400
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
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]]
|
485
402
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
486
|
-
[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", "
|
487
|
-
[1m[35m (
|
403
|
+
[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", "1077"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
404
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
488
405
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
489
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id",
|
490
|
-
[1m[35m (
|
491
|
-
[1m[
|
492
|
-
[1m[
|
406
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
|
407
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
408
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
409
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
410
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
411
|
+
[1m[35m (10.0ms)[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 (7.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
413
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
493
414
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
494
|
-
[1m[
|
495
|
-
[1m[35m (6.
|
496
|
-
[1m[
|
497
|
-
|
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", "2020-11-12 10:32:14.335862"], ["updated_at", "2020-11-12 10:32:14.335862"]]
|
416
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
417
|
+
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
420
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:14 +0000
|
421
|
+
Processing by ExampleController#restricted as HTML
|
422
|
+
Authenticating with gds_sso strategy
|
423
|
+
Completed in 4ms (ActiveRecord: 0.0ms | Allocations: 172)
|
424
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:14 +0000
|
425
|
+
Processing by ExampleController#restricted as JSON
|
426
|
+
Completed in 17ms (ActiveRecord: 0.0ms | Allocations: 2943)
|
427
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:14 +0000
|
428
|
+
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
|
+
[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
|
+
[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[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
435
|
+
[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[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
437
|
+
[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
|
+
[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
|
+
[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[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
441
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 1]]
|
442
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
443
|
+
Rendering text template
|
444
|
+
Rendered text template (Duration: 0.0ms | Allocations: 3)
|
445
|
+
Completed 200 OK in 28ms (Views: 2.4ms | ActiveRecord: 11.5ms | Allocations: 12608)
|
446
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
447
|
+
Processing by ExampleController#restricted as JSON
|
448
|
+
[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
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
450
|
+
[1m[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
|
+
[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
|
+
Rendering text template
|
453
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
454
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 3317)
|
455
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
498
456
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
499
457
|
Authenticating with gds_sso strategy
|
500
|
-
Completed in
|
501
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
502
|
-
Started GET "/auth/gds/callback?code=
|
458
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
459
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
460
|
+
Started GET "/auth/gds/callback?code=srXYSBvTu72UJ7Og8FuUhHRBqNThnT4qITqjSEPIKVw&state=2b20dabab07dbad4094502db8c781d0b5f3cbcb3822c0898" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
503
461
|
Processing by AuthenticationsController#callback as HTML
|
504
|
-
Parameters: {"code"=>"
|
462
|
+
Parameters: {"code"=>"srXYSBvTu72UJ7Og8FuUhHRBqNThnT4qITqjSEPIKVw", "state"=>"2b20dabab07dbad4094502db8c781d0b5f3cbcb3822c0898"}
|
505
463
|
Authenticating with gds_sso strategy
|
506
464
|
[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]]
|
507
|
-
[1m[
|
508
|
-
[1m[
|
509
|
-
[1m[
|
510
|
-
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
511
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
512
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 13]]
|
513
|
-
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
465
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
466
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", 0], ["id", 1]]
|
467
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
514
468
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
515
|
-
Completed 302 Found in
|
516
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
469
|
+
Completed 302 Found in 8ms (ActiveRecord: 5.5ms | Allocations: 1272)
|
470
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
517
471
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
518
472
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
519
473
|
Rendering text template
|
520
474
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
521
|
-
Completed 200 OK in 2ms (Views: 0.
|
522
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
475
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms | Allocations: 770)
|
476
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
523
477
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
524
478
|
Authenticating with gds_sso strategy
|
525
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
526
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
527
|
-
Started GET "/auth/gds/callback?code=
|
479
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 114)
|
480
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
481
|
+
Started GET "/auth/gds/callback?code=0CxzI6k3zVjr5rxxgDXQiWCtC2R-o2VhG2d8XgIAHFA&state=836f493fba3c3387c37639b4d553f53149c5da47d2cccd15" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
528
482
|
Processing by AuthenticationsController#callback as HTML
|
529
|
-
Parameters: {"code"=>"
|
483
|
+
Parameters: {"code"=>"0CxzI6k3zVjr5rxxgDXQiWCtC2R-o2VhG2d8XgIAHFA", "state"=>"836f493fba3c3387c37639b4d553f53149c5da47d2cccd15"}
|
530
484
|
Authenticating with gds_sso strategy
|
531
485
|
[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]]
|
532
486
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
533
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
534
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
487
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1017)
|
488
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
535
489
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
536
490
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
537
491
|
Rendering text template
|
538
492
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
539
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
540
|
-
Started GET "/
|
493
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 708)
|
494
|
+
Started GET "/" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
495
|
+
Processing by ExampleController#index as HTML
|
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
|
541
500
|
Processing by ExampleController#restricted as HTML
|
542
501
|
Authenticating with gds_sso strategy
|
543
502
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
544
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
545
|
-
Started GET "/auth/gds/callback?code=
|
503
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
504
|
+
Started GET "/auth/gds/callback?code=Iz5nOitBLHp7KxR8Pt-fgrHlvrAi0-lpKoIx0ltMjYE&state=f1ca5624f3ee5b6971cc25a4b0497603453c3e7d74d6c8aa" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
546
505
|
Processing by AuthenticationsController#callback as HTML
|
547
|
-
Parameters: {"code"=>"
|
506
|
+
Parameters: {"code"=>"Iz5nOitBLHp7KxR8Pt-fgrHlvrAi0-lpKoIx0ltMjYE", "state"=>"f1ca5624f3ee5b6971cc25a4b0497603453c3e7d74d6c8aa"}
|
548
507
|
Authenticating with gds_sso strategy
|
549
508
|
[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]]
|
550
509
|
Redirected to http://www.example-client.com/restricted
|
551
510
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
552
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
511
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
553
512
|
Processing by ExampleController#restricted as HTML
|
554
513
|
[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]]
|
555
514
|
Rendering text template
|
556
515
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
557
516
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
558
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
517
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
559
518
|
Processing by ExampleController#restricted as HTML
|
560
519
|
Authenticating with gds_sso strategy
|
561
520
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
562
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
563
|
-
Started GET "/auth/gds/callback?code=
|
521
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
522
|
+
Started GET "/auth/gds/callback?code=B3BuYPBZEotkDsqg4MOOL2pJJ-pHdaMLDvyEM-BROY0&state=4d628a5028720601c07e110d8d6a7b14352fbb9c66116040" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
564
523
|
Processing by AuthenticationsController#callback as HTML
|
565
|
-
Parameters: {"code"=>"
|
524
|
+
Parameters: {"code"=>"B3BuYPBZEotkDsqg4MOOL2pJJ-pHdaMLDvyEM-BROY0", "state"=>"4d628a5028720601c07e110d8d6a7b14352fbb9c66116040"}
|
566
525
|
Authenticating with gds_sso strategy
|
567
526
|
[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]]
|
568
527
|
Redirected to http://www.example-client.com/restricted
|
569
528
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
570
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
529
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
571
530
|
Processing by ExampleController#restricted as HTML
|
572
531
|
[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]]
|
573
532
|
Rendering text template
|
574
533
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
575
534
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
576
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
535
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
577
536
|
Processing by ExampleController#restricted as HTML
|
578
537
|
Authenticating with gds_sso strategy
|
579
538
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
580
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
581
|
-
Started GET "/auth/gds/callback?code=
|
539
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
540
|
+
Started GET "/auth/gds/callback?code=IYOPumcGKabbiiWC2Z3cjH-232JwXRSggWUT-vpO4og&state=2360f9dd34bd135a3b7492b01315de010f0727e160dcc8a3" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
582
541
|
Processing by AuthenticationsController#callback as HTML
|
583
|
-
Parameters: {"code"=>"
|
542
|
+
Parameters: {"code"=>"IYOPumcGKabbiiWC2Z3cjH-232JwXRSggWUT-vpO4og", "state"=>"2360f9dd34bd135a3b7492b01315de010f0727e160dcc8a3"}
|
584
543
|
Authenticating with gds_sso strategy
|
585
544
|
[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]]
|
586
545
|
Redirected to http://www.example-client.com/restricted
|
587
546
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
588
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
547
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
589
548
|
Processing by ExampleController#restricted as HTML
|
590
549
|
[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]]
|
591
550
|
Rendering text template
|
592
551
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
593
552
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
594
|
-
Started GET "/" for 127.0.0.1 at 2020-
|
595
|
-
Processing by ExampleController#index as HTML
|
596
|
-
Rendering text template
|
597
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
598
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 153)
|
599
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
553
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
600
554
|
Processing by ExampleController#restricted as HTML
|
601
555
|
Authenticating with gds_sso strategy
|
602
556
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
603
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
604
|
-
Started GET "/auth/gds/callback?code=
|
557
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
558
|
+
Started GET "/auth/gds/callback?code=dd7WTMTQzRavla9oSAM-6SkNB-lDwx5tu1SqdDjAXM8&state=77b06153e8bf84ade2b87c114163891fcad8b6a2f352834c" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
605
559
|
Processing by AuthenticationsController#callback as HTML
|
606
|
-
Parameters: {"code"=>"
|
560
|
+
Parameters: {"code"=>"dd7WTMTQzRavla9oSAM-6SkNB-lDwx5tu1SqdDjAXM8", "state"=>"77b06153e8bf84ade2b87c114163891fcad8b6a2f352834c"}
|
607
561
|
Authenticating with gds_sso strategy
|
608
562
|
[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]]
|
609
563
|
Redirected to http://www.example-client.com/restricted
|
610
564
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1019)
|
611
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
565
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
612
566
|
Processing by ExampleController#restricted as HTML
|
613
567
|
[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]]
|
614
568
|
Rendering text template
|
615
569
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
616
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
617
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
618
|
-
Processing by ExampleController#restricted as HTML
|
619
|
-
Authenticating with gds_sso strategy
|
620
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 498)
|
621
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
622
|
-
Started GET "/auth/gds/callback?code=7K72nCsn8CzZstyeITpn5_tqeSamkl20rDOAnjEAvhE&state=39077c375107ad6496606d3943549c493bdc6ed4fd38c558" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
623
|
-
Processing by AuthenticationsController#callback as HTML
|
624
|
-
Parameters: {"code"=>"7K72nCsn8CzZstyeITpn5_tqeSamkl20rDOAnjEAvhE", "state"=>"39077c375107ad6496606d3943549c493bdc6ed4fd38c558"}
|
625
|
-
Authenticating with gds_sso strategy
|
626
|
-
[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]]
|
627
|
-
Redirected to http://www.example-client.com/restricted
|
628
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1217)
|
629
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
570
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 708)
|
571
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:27:15 +0000
|
630
572
|
Processing by ExampleController#restricted as HTML
|
631
573
|
[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]]
|
632
574
|
Rendering text template
|
633
575
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
634
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
635
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
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
|
636
578
|
Processing by ExampleController#restricted as HTML
|
637
579
|
Authenticating with gds_sso strategy
|
638
580
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
639
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
640
|
-
Started GET "/auth/gds/callback?code=
|
581
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
582
|
+
Started GET "/auth/gds/callback?code=spI9Ev208uJDeuW4Zi277xAIqcz9JwbtmccuQCHLJzo&state=b22e0d54c33ea0d6b61c087ce2303c0516f3b776b040b5bf" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
641
583
|
Processing by AuthenticationsController#callback as HTML
|
642
|
-
Parameters: {"code"=>"
|
584
|
+
Parameters: {"code"=>"spI9Ev208uJDeuW4Zi277xAIqcz9JwbtmccuQCHLJzo", "state"=>"b22e0d54c33ea0d6b61c087ce2303c0516f3b776b040b5bf"}
|
643
585
|
Authenticating with gds_sso strategy
|
644
586
|
[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]]
|
645
587
|
Redirected to http://www.example-client.com/restricted
|
646
588
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
647
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
589
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
648
590
|
Processing by ExampleController#restricted as HTML
|
649
591
|
[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]]
|
650
592
|
Rendering text template
|
651
593
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
652
594
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
653
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
595
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:15 +0000
|
654
596
|
Processing by ExampleController#restricted as HTML
|
655
597
|
Authenticating with gds_sso strategy
|
656
598
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 498)
|
657
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
658
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
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
|
659
601
|
Processing by ExampleController#restricted as HTML
|
660
602
|
Authenticating with gds_sso strategy
|
661
603
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
662
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
663
|
-
Started GET "/auth/gds/callback?code=
|
604
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
605
|
+
Started GET "/auth/gds/callback?code=aduZ12TILcORModTb0MetaQqNQiiFXWiBLJRts0d3PE&state=5af4bf65767d9f73af83e312a4172954d8477dc5cf857303" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
664
606
|
Processing by AuthenticationsController#callback as HTML
|
665
|
-
Parameters: {"code"=>"
|
607
|
+
Parameters: {"code"=>"aduZ12TILcORModTb0MetaQqNQiiFXWiBLJRts0d3PE", "state"=>"5af4bf65767d9f73af83e312a4172954d8477dc5cf857303"}
|
666
608
|
Authenticating with gds_sso strategy
|
667
609
|
[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]]
|
668
610
|
Redirected to http://www.example-client.com/restricted
|
669
611
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
670
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
612
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
671
613
|
Processing by ExampleController#restricted as HTML
|
672
614
|
[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]]
|
673
615
|
Rendering text template
|
674
616
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
675
617
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
676
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
618
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:15 +0000
|
619
|
+
Processing by ExampleController#restricted as HTML
|
620
|
+
Authenticating with gds_sso strategy
|
621
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 498)
|
622
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-13 06:37:15 +0000
|
623
|
+
Started GET "/auth/gds/callback?code=id2I3rLT26blOGWhX8ggRaTmvTy7OJyMbq0VclyjTwk&state=8781f8cb3feeab97486186c1a99055f731c8680fec682d96" for 127.0.0.1 at 2020-11-13 06:37:15 +0000
|
624
|
+
Processing by AuthenticationsController#callback as HTML
|
625
|
+
Parameters: {"code"=>"id2I3rLT26blOGWhX8ggRaTmvTy7OJyMbq0VclyjTwk", "state"=>"8781f8cb3feeab97486186c1a99055f731c8680fec682d96"}
|
626
|
+
Authenticating with gds_sso strategy
|
627
|
+
[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
|
+
Redirected to http://www.example-client.com/restricted
|
629
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1217)
|
630
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:15 +0000
|
677
631
|
Processing by ExampleController#restricted as HTML
|
678
632
|
[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]]
|
679
633
|
Rendering text template
|
680
634
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
681
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
682
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
635
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 931)
|
636
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
683
637
|
Processing by ExampleController#restricted as HTML
|
684
638
|
Authenticating with gds_sso strategy
|
685
639
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
686
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
687
|
-
Started GET "/auth/gds/callback?code=
|
640
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
641
|
+
Started GET "/auth/gds/callback?code=vZMnHNeh0h7WY_gr7_B9GlWZe_8_VknXbwf0s4CdbzE&state=858c414c6d884280aaf5235fcd05fdde077f4f7c433d15c3" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
688
642
|
Processing by AuthenticationsController#callback as HTML
|
689
|
-
Parameters: {"code"=>"
|
643
|
+
Parameters: {"code"=>"vZMnHNeh0h7WY_gr7_B9GlWZe_8_VknXbwf0s4CdbzE", "state"=>"858c414c6d884280aaf5235fcd05fdde077f4f7c433d15c3"}
|
690
644
|
Authenticating with gds_sso strategy
|
691
645
|
[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]]
|
692
646
|
Redirected to http://www.example-client.com/restricted
|
693
647
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1019)
|
694
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
648
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
695
649
|
Processing by ExampleController#restricted as HTML
|
696
650
|
[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]]
|
697
651
|
Rendering text template
|
@@ -699,305 +653,335 @@ Processing by ExampleController#restricted as HTML
|
|
699
653
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 708)
|
700
654
|
[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]]
|
701
655
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
702
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id",
|
703
|
-
[1m[35m (
|
704
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
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
|
705
659
|
Processing by ExampleController#restricted as HTML
|
706
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]]
|
707
661
|
Authenticating with gds_sso strategy
|
708
662
|
Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 574)
|
709
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
710
|
-
Started GET "/auth/gds/callback?code=
|
663
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
664
|
+
Started GET "/auth/gds/callback?code=CGaosFGi5yWA3aiUhFbxGDPEDk2QPd5HWh0kp0D2ONU&state=58d7bcf424fb7b8b337d94a30e6c6444eb4b1856e4ae58d1" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
711
665
|
Processing by AuthenticationsController#callback as HTML
|
712
|
-
Parameters: {"code"=>"
|
666
|
+
Parameters: {"code"=>"CGaosFGi5yWA3aiUhFbxGDPEDk2QPd5HWh0kp0D2ONU", "state"=>"58d7bcf424fb7b8b337d94a30e6c6444eb4b1856e4ae58d1"}
|
713
667
|
Authenticating with gds_sso strategy
|
714
668
|
[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]]
|
715
669
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
716
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id",
|
717
|
-
[1m[35m (
|
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
|
718
672
|
Redirected to http://www.example-client.com/restricted
|
719
|
-
Completed 302 Found in
|
720
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
673
|
+
Completed 302 Found in 10ms (ActiveRecord: 7.2ms | Allocations: 1225)
|
674
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
721
675
|
Processing by ExampleController#restricted as HTML
|
722
676
|
[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]]
|
723
677
|
Rendering text template
|
724
678
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
725
679
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 704)
|
726
|
-
|
727
|
-
Processing by ExampleController#restricted as JSON
|
728
|
-
Completed in 14ms (ActiveRecord: 0.0ms | Allocations: 2116)
|
729
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
730
|
-
Processing by ExampleController#restricted as JSON
|
731
|
-
Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1871)
|
732
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
733
|
-
Processing by ExampleController#restricted as JSON
|
734
|
-
[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]]
|
735
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
736
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
737
|
-
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
738
|
-
[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]]
|
739
|
-
[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]]
|
740
|
-
[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]]
|
741
|
-
Rendering text template
|
742
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
743
|
-
Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 5.7ms | Allocations: 3631)
|
744
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
745
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
746
|
-
[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]]
|
747
|
-
[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]]
|
748
|
-
[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]]
|
749
|
-
[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]]
|
750
|
-
Rendering text template
|
751
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
752
|
-
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 3319)
|
753
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
754
|
-
Processing by ExampleController#restricted as HTML
|
755
|
-
Authenticating with gds_sso strategy
|
756
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 114)
|
757
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
758
|
-
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
759
|
-
[1m[35m (17.8ms)[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
|
760
|
-
[1m[35m (8.8ms)[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
|
-
[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]]
|
680
|
+
[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]]
|
762
681
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
763
|
-
[1m[
|
764
|
-
[1m[35m (
|
765
|
-
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
766
|
-
[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]]
|
682
|
+
[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", "5139"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
683
|
+
[1m[35m (6.8ms)[0m [1m[36mcommit transaction[0m
|
767
684
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
768
|
-
[1m[
|
769
|
-
[1m[
|
685
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 2]]
|
686
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
687
|
+
[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]]
|
688
|
+
[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]]
|
770
689
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
771
|
-
[1m[36mUser Create (
|
772
|
-
[1m[35m (5.
|
690
|
+
[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]]
|
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]]
|
773
693
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
774
|
-
[1m[36mUser
|
775
|
-
[1m[35m (4.
|
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
|
776
696
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
777
|
-
[1m[36mUser Create (0.
|
778
|
-
[1m[35m (
|
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
|
699
|
+
Processing by Api::UserController#reauth as HTML
|
700
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
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: 568)
|
779
703
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
780
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
704
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35500"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
781
705
|
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
782
|
-
|
783
|
-
|
706
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
707
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37603"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
708
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
709
|
+
Processing by Api::UserController#reauth as HTML
|
710
|
+
Parameters: {"uid"=>"a1s2d35500"}
|
784
711
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
785
712
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
786
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (
|
713
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 263)
|
787
714
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
788
|
-
Completed 403 Forbidden in
|
715
|
+
Completed 403 Forbidden in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms | Allocations: 1558)
|
789
716
|
[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", "Moshua Jarshall"], ["uid", "
|
791
|
-
[1m[35m (
|
717
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32945"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
718
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
792
719
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
793
|
-
[1m[36mUser Create (0.
|
794
|
-
[1m[35m (5.
|
720
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33405"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
721
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
722
|
+
Processing by Api::UserController#reauth as HTML
|
723
|
+
Parameters: {"uid"=>"a1s2d32945"}
|
724
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d32945"], ["LIMIT", 1]]
|
725
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
726
|
+
[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[35m (6.1ms)[0m [1m[36mcommit transaction[0m
|
728
|
+
Completed 200 OK in 8ms (ActiveRecord: 6.3ms | Allocations: 919)
|
729
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
|
730
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
731
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31748"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
732
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
733
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
734
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3272"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
735
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
795
736
|
Processing by Api::UserController#update as HTML
|
796
|
-
Parameters: {"uid"=>"
|
797
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT
|
737
|
+
Parameters: {"uid"=>"a1s2d31748"}
|
738
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31748"], ["LIMIT", 1]]
|
798
739
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
799
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id",
|
800
|
-
[1m[35m (
|
801
|
-
Completed 200 OK in
|
802
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT
|
740
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 10]]
|
741
|
+
[1m[35m (6.1ms)[0m [1m[36mcommit transaction[0m
|
742
|
+
Completed 200 OK in 8ms (ActiveRecord: 6.4ms | Allocations: 1277)
|
743
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
803
744
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
804
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
805
|
-
[1m[35m (
|
745
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33137"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
746
|
+
[1m[35m (6.8ms)[0m [1m[36mcommit transaction[0m
|
806
747
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
807
|
-
[1m[36mUser Create (0.
|
808
|
-
[1m[35m (
|
809
|
-
Processing by Api::UserController#
|
810
|
-
Parameters: {"uid"=>"
|
748
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39425"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
749
|
+
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
750
|
+
Processing by Api::UserController#update as HTML
|
751
|
+
Parameters: {"uid"=>"a1s2d33137"}
|
811
752
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
812
753
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
813
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
754
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 56)
|
814
755
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
815
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
756
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 514)
|
757
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
758
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
759
|
+
[1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
760
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
761
|
+
[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]]
|
816
762
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
817
|
-
[1m[
|
818
|
-
[1m[35m (
|
819
|
-
[1m[35m (
|
820
|
-
[1m[
|
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", "2020-11-12 10:32:23.038166"], ["updated_at", "2020-11-12 10:32:23.038166"]]
|
764
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
765
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
766
|
+
[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
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
768
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
769
|
+
[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", "a1s2d34385"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
771
|
+
[1m[35m (6.9ms)[0m [1m[36mcommit transaction[0m
|
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"]]
|
821
774
|
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
822
775
|
Processing by Api::UserController#reauth as HTML
|
823
|
-
Parameters: {"uid"=>"
|
824
|
-
[1m[36mUser Load (0.
|
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]]
|
825
778
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
826
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id",
|
827
|
-
[1m[35m (
|
828
|
-
Completed 200 OK in
|
829
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id",
|
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]]
|
830
783
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
831
|
-
[1m[36mUser Create (0.
|
832
|
-
[1m[35m (4.
|
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
|
833
786
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
834
|
-
[1m[36mUser Create (0.
|
835
|
-
[1m[35m (
|
787
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39073"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
788
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
836
789
|
Processing by Api::UserController#reauth as HTML
|
837
790
|
Parameters: {"uid"=>"nonexistent-user"}
|
838
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]]
|
839
|
-
Completed 200 OK in
|
840
|
-
[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]]
|
841
|
-
[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]]
|
792
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
842
793
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
843
|
-
[1m[36mUser Create (0.
|
844
|
-
[1m[35m (4.
|
845
|
-
[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]]
|
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
|
846
796
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
847
|
-
[1m[
|
848
|
-
|
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"}
|
801
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
802
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
803
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
804
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
805
|
+
Completed 403 Forbidden in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
806
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
807
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37279"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
808
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
809
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
810
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37520"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
811
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
812
|
+
Processing by Api::UserController#update as HTML
|
813
|
+
Parameters: {"uid"=>"a1s2d37279"}
|
814
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
815
|
+
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.1ms)
|
817
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
818
|
+
Completed 403 Forbidden in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
819
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
820
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31155"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
821
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
822
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
823
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36817"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
824
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
825
|
+
Processing by Api::UserController#update as HTML
|
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]]
|
828
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
829
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 9]]
|
830
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
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
|
849
834
|
Processing by ExampleController#restricted as HTML
|
850
835
|
Authenticating with gds_sso strategy
|
851
836
|
Completed in 4ms (ActiveRecord: 0.0ms)
|
852
|
-
Started GET "/
|
853
|
-
|
837
|
+
Started GET "/" for 127.0.0.1 at 2020-11-12 10:32:23 +0000
|
838
|
+
Processing by ExampleController#index as HTML
|
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
|
844
|
+
Authenticating with gds_sso strategy
|
845
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
846
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:23 +0000
|
847
|
+
Started GET "/auth/gds/callback?code=vsDYtNrVz6L7Dk2wOuJ2V8or5TemNAXgRzHFfX-NhJg&state=3ea4ee278bb9b78e8ff3baa870cb81b3b21070d3e3a3c6ca" for 127.0.0.1 at 2020-11-12 10:32:23 +0000
|
854
848
|
Processing by AuthenticationsController#callback as HTML
|
855
|
-
Parameters: {"code"=>"
|
849
|
+
Parameters: {"code"=>"vsDYtNrVz6L7Dk2wOuJ2V8or5TemNAXgRzHFfX-NhJg", "state"=>"3ea4ee278bb9b78e8ff3baa870cb81b3b21070d3e3a3c6ca"}
|
856
850
|
Authenticating with gds_sso strategy
|
857
851
|
[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]]
|
858
852
|
[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]]
|
859
853
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
860
854
|
[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"]]
|
861
|
-
[1m[35m (5.
|
855
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
862
856
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
863
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id",
|
864
|
-
[1m[35m (
|
865
|
-
Redirected to http://www.example-client.com/
|
866
|
-
Completed 302 Found in
|
867
|
-
Started GET "/
|
868
|
-
Processing by ExampleController#
|
857
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 11]]
|
858
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
859
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
860
|
+
Completed 302 Found in 15ms (ActiveRecord: 11.9ms)
|
861
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:23 +0000
|
862
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
869
863
|
[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]]
|
870
864
|
Rendering text template
|
871
865
|
Rendered text template (0.0ms)
|
872
|
-
Completed 200 OK in
|
873
|
-
Started GET "/
|
874
|
-
Processing by ExampleController#
|
866
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
867
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:23 +0000
|
868
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
875
869
|
Authenticating with gds_sso strategy
|
876
870
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
877
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
878
|
-
Started GET "/auth/gds/callback?code=
|
871
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:23 +0000
|
872
|
+
Started GET "/auth/gds/callback?code=RBYSuhhS4HPLqf-kT0PovtbdLC_gXiMUHEds4dAkaQE&state=9509aaee3922e09520d769548b00de21a738b3a1361d9e8e" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
879
873
|
Processing by AuthenticationsController#callback as HTML
|
880
|
-
Parameters: {"code"=>"
|
874
|
+
Parameters: {"code"=>"RBYSuhhS4HPLqf-kT0PovtbdLC_gXiMUHEds4dAkaQE", "state"=>"9509aaee3922e09520d769548b00de21a738b3a1361d9e8e"}
|
881
875
|
Authenticating with gds_sso strategy
|
882
876
|
[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]]
|
883
877
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
884
878
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
885
879
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
886
880
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
887
|
-
Redirected to http://www.example-client.com/
|
888
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
889
|
-
Started GET "/
|
890
|
-
Processing by ExampleController#
|
881
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
882
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
883
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
884
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
891
885
|
[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]]
|
892
886
|
Rendering text template
|
893
887
|
Rendered text template (0.0ms)
|
894
888
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
895
|
-
Started GET "/
|
896
|
-
Processing by ExampleController#
|
889
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
890
|
+
Processing by ExampleController#restricted as HTML
|
897
891
|
Authenticating with gds_sso strategy
|
898
892
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
899
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
900
|
-
Started GET "/auth/gds/callback?code=
|
893
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
894
|
+
Started GET "/auth/gds/callback?code=Z-oYt68TZXJUgbIgy4aYMz3p0F9sFUK8VISPy0LXQS8&state=5292592a4e17439fa1d8a910d162431664624bdfc3ae92ec" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
901
895
|
Processing by AuthenticationsController#callback as HTML
|
902
|
-
Parameters: {"code"=>"
|
896
|
+
Parameters: {"code"=>"Z-oYt68TZXJUgbIgy4aYMz3p0F9sFUK8VISPy0LXQS8", "state"=>"5292592a4e17439fa1d8a910d162431664624bdfc3ae92ec"}
|
903
897
|
Authenticating with gds_sso strategy
|
904
898
|
[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]]
|
905
899
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
906
900
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
907
901
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
908
902
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
909
|
-
Redirected to http://www.example-client.com/
|
903
|
+
Redirected to http://www.example-client.com/restricted
|
910
904
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
911
|
-
Started GET "/
|
912
|
-
Processing by ExampleController#
|
905
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
906
|
+
Processing by ExampleController#restricted as HTML
|
913
907
|
[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]]
|
914
908
|
Rendering text template
|
915
909
|
Rendered text template (0.0ms)
|
916
910
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
917
|
-
Started GET "/
|
918
|
-
Processing by ExampleController#
|
911
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
912
|
+
Processing by ExampleController#restricted as HTML
|
919
913
|
Authenticating with gds_sso strategy
|
920
914
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
921
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
922
|
-
Started GET "/auth/gds/callback?code=
|
915
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
916
|
+
Started GET "/auth/gds/callback?code=JKV0OsC0VDTm9QzgXo6tXGEiLgeFECohYNttnSsUJZc&state=b1269b97cea5536cf9e50386390eb7fe07453d7175055575" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
923
917
|
Processing by AuthenticationsController#callback as HTML
|
924
|
-
Parameters: {"code"=>"
|
918
|
+
Parameters: {"code"=>"JKV0OsC0VDTm9QzgXo6tXGEiLgeFECohYNttnSsUJZc", "state"=>"b1269b97cea5536cf9e50386390eb7fe07453d7175055575"}
|
925
919
|
Authenticating with gds_sso strategy
|
926
920
|
[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]]
|
927
921
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
928
922
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
929
923
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
930
924
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
931
|
-
Redirected to http://www.example-client.com/
|
925
|
+
Redirected to http://www.example-client.com/restricted
|
932
926
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
933
|
-
Started GET "/
|
934
|
-
Processing by ExampleController#
|
927
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
928
|
+
Processing by ExampleController#restricted as HTML
|
935
929
|
[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]]
|
936
930
|
Rendering text template
|
937
931
|
Rendered text template (0.0ms)
|
938
932
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
939
|
-
Started GET "/" for 127.0.0.1 at 2020-
|
940
|
-
Processing by ExampleController#index as HTML
|
941
|
-
Rendering text template
|
942
|
-
Rendered text template (0.0ms)
|
943
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
944
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
933
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
945
934
|
Processing by ExampleController#restricted as HTML
|
946
935
|
Authenticating with gds_sso strategy
|
947
936
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
948
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
949
|
-
Started GET "/auth/gds/callback?code=
|
937
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
938
|
+
Started GET "/auth/gds/callback?code=4YTiPi6hivSO93YsQAZg03-yfSSX3jg3lV55Li4ze6c&state=f9a16063f78c6f23cf504db02df810cdcb341540eee74128" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
950
939
|
Processing by AuthenticationsController#callback as HTML
|
951
|
-
Parameters: {"code"=>"
|
940
|
+
Parameters: {"code"=>"4YTiPi6hivSO93YsQAZg03-yfSSX3jg3lV55Li4ze6c", "state"=>"f9a16063f78c6f23cf504db02df810cdcb341540eee74128"}
|
952
941
|
Authenticating with gds_sso strategy
|
953
|
-
[1m[36mUser Load (0.
|
942
|
+
[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]]
|
954
943
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
955
944
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
956
|
-
[1m[35m (0.
|
945
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
957
946
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
958
947
|
Redirected to http://www.example-client.com/restricted
|
959
|
-
Completed 302 Found in
|
960
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
948
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
949
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
961
950
|
Processing by ExampleController#restricted as HTML
|
962
951
|
[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]]
|
963
952
|
Rendering text template
|
964
953
|
Rendered text template (0.0ms)
|
965
954
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
966
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
955
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
967
956
|
Processing by ExampleController#restricted as HTML
|
968
957
|
Authenticating with gds_sso strategy
|
969
958
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
970
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
971
|
-
Started GET "/auth/gds/callback?code=
|
959
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
960
|
+
Started GET "/auth/gds/callback?code=MNDWitOlcBXk6iR51_RfGM-yRvTot3kPZV5F9_2HoPM&state=adbb9716b7c53de7c90887cd6546a8000b1dbfb2ced31266" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
972
961
|
Processing by AuthenticationsController#callback as HTML
|
973
|
-
Parameters: {"code"=>"
|
962
|
+
Parameters: {"code"=>"MNDWitOlcBXk6iR51_RfGM-yRvTot3kPZV5F9_2HoPM", "state"=>"adbb9716b7c53de7c90887cd6546a8000b1dbfb2ced31266"}
|
974
963
|
Authenticating with gds_sso strategy
|
975
964
|
[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]]
|
976
965
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
977
|
-
[1m[35m (0.
|
966
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
978
967
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
979
|
-
[1m[35m (0.
|
968
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
980
969
|
Redirected to http://www.example-client.com/restricted
|
981
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.
|
982
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
970
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
971
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
983
972
|
Processing by ExampleController#restricted as HTML
|
984
973
|
[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]]
|
985
974
|
Rendering text template
|
986
975
|
Rendered text template (0.0ms)
|
987
|
-
Completed 200 OK in
|
988
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
989
|
-
Processing by ExampleController#restricted as HTML
|
990
|
-
Authenticating with gds_sso strategy
|
991
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
992
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
|
993
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
976
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
977
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:24 +0000
|
994
978
|
Processing by ExampleController#restricted as HTML
|
995
979
|
Authenticating with gds_sso strategy
|
996
980
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
997
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
998
|
-
Started GET "/auth/gds/callback?code=
|
981
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-13 06:37:24 +0000
|
982
|
+
Started GET "/auth/gds/callback?code=R6kAMC_ZUDSAuxtBtselAxA-eV1SkHjGNIg4Z-PrMbg&state=43d463dd4abec4aee1b7bfa126051fbe690710452f7f5dce" for 127.0.0.1 at 2020-11-13 06:37:24 +0000
|
999
983
|
Processing by AuthenticationsController#callback as HTML
|
1000
|
-
Parameters: {"code"=>"
|
984
|
+
Parameters: {"code"=>"R6kAMC_ZUDSAuxtBtselAxA-eV1SkHjGNIg4Z-PrMbg", "state"=>"43d463dd4abec4aee1b7bfa126051fbe690710452f7f5dce"}
|
1001
985
|
Authenticating with gds_sso strategy
|
1002
986
|
[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]]
|
1003
987
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
@@ -1005,21 +989,21 @@ Authenticating with gds_sso strategy
|
|
1005
989
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1006
990
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1007
991
|
Redirected to http://www.example-client.com/restricted
|
1008
|
-
Completed 302 Found in
|
1009
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
992
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
993
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:24 +0000
|
1010
994
|
Processing by ExampleController#restricted as HTML
|
1011
995
|
[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]]
|
1012
996
|
Rendering text template
|
1013
997
|
Rendered text template (0.0ms)
|
1014
998
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1015
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
999
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1016
1000
|
Processing by ExampleController#restricted as HTML
|
1017
1001
|
Authenticating with gds_sso strategy
|
1018
1002
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1019
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1020
|
-
Started GET "/auth/gds/callback?code=
|
1003
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1004
|
+
Started GET "/auth/gds/callback?code=h-nzatFfqA5uowJZY2u7MMsMpNSqe6ZkpcL7TivqR9s&state=e7a7941862761053f040856bcedf5a8dfd7dc1f599e1ace7" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1021
1005
|
Processing by AuthenticationsController#callback as HTML
|
1022
|
-
Parameters: {"code"=>"
|
1006
|
+
Parameters: {"code"=>"h-nzatFfqA5uowJZY2u7MMsMpNSqe6ZkpcL7TivqR9s", "state"=>"e7a7941862761053f040856bcedf5a8dfd7dc1f599e1ace7"}
|
1023
1007
|
Authenticating with gds_sso strategy
|
1024
1008
|
[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]]
|
1025
1009
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -1027,49 +1011,54 @@ Authenticating with gds_sso strategy
|
|
1027
1011
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1028
1012
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1029
1013
|
Redirected to http://www.example-client.com/restricted
|
1030
|
-
Completed 302 Found in
|
1031
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1014
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1015
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1032
1016
|
Processing by ExampleController#restricted as HTML
|
1033
1017
|
[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]]
|
1034
1018
|
Rendering text template
|
1035
1019
|
Rendered text template (0.0ms)
|
1036
1020
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1037
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1021
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:27:24 +0000
|
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
|
1038
1028
|
Processing by ExampleController#restricted as HTML
|
1039
1029
|
Authenticating with gds_sso strategy
|
1040
1030
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1041
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1042
|
-
Started GET "/auth/gds/callback?code=
|
1031
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1032
|
+
Started GET "/auth/gds/callback?code=ig9sY9NStvOUFtq_beYpfZZYdBL1wwYxXz5vJEIa28o&state=bb4f84f11646a2f2ba321ec5653baacf4573155827fd7e95" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1043
1033
|
Processing by AuthenticationsController#callback as HTML
|
1044
|
-
Parameters: {"code"=>"
|
1034
|
+
Parameters: {"code"=>"ig9sY9NStvOUFtq_beYpfZZYdBL1wwYxXz5vJEIa28o", "state"=>"bb4f84f11646a2f2ba321ec5653baacf4573155827fd7e95"}
|
1045
1035
|
Authenticating with gds_sso strategy
|
1046
|
-
[1m[36mUser Load (0.
|
1047
|
-
[1m[35m (0.
|
1036
|
+
[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]]
|
1037
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1048
1038
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1049
1039
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1050
1040
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1051
1041
|
Redirected to http://www.example-client.com/restricted
|
1052
|
-
Completed 302 Found in
|
1053
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1042
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1043
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1054
1044
|
Processing by ExampleController#restricted as HTML
|
1055
1045
|
[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]]
|
1056
1046
|
Rendering text template
|
1057
1047
|
Rendered text template (0.0ms)
|
1058
|
-
Completed 200 OK in
|
1059
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1048
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1049
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:24 +0000
|
1060
1050
|
Processing by ExampleController#restricted as HTML
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1051
|
+
Authenticating with gds_sso strategy
|
1052
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1053
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-13 06:37:24 +0000
|
1054
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1066
1055
|
Processing by ExampleController#restricted as HTML
|
1067
1056
|
Authenticating with gds_sso strategy
|
1068
1057
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1069
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1070
|
-
Started GET "/auth/gds/callback?code=
|
1058
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1059
|
+
Started GET "/auth/gds/callback?code=7jjlVl7ZGQsaO-Ycmh6_TLJO5uPQ9WAD47t-lUuLWqA&state=4b959fe4080469b91570c28c53561995ccfc4929b170c8b0" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1071
1060
|
Processing by AuthenticationsController#callback as HTML
|
1072
|
-
Parameters: {"code"=>"
|
1061
|
+
Parameters: {"code"=>"7jjlVl7ZGQsaO-Ycmh6_TLJO5uPQ9WAD47t-lUuLWqA", "state"=>"4b959fe4080469b91570c28c53561995ccfc4929b170c8b0"}
|
1073
1062
|
Authenticating with gds_sso strategy
|
1074
1063
|
[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]]
|
1075
1064
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -1077,8 +1066,8 @@ Authenticating with gds_sso strategy
|
|
1077
1066
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1078
1067
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1079
1068
|
Redirected to http://www.example-client.com/restricted
|
1080
|
-
Completed 302 Found in
|
1081
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1069
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
1070
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1082
1071
|
Processing by ExampleController#restricted as HTML
|
1083
1072
|
[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]]
|
1084
1073
|
Rendering text template
|
@@ -1086,60 +1075,56 @@ Processing by ExampleController#restricted as HTML
|
|
1086
1075
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1087
1076
|
[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]]
|
1088
1077
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1089
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id",
|
1090
|
-
[1m[35m (
|
1091
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1078
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 11]]
|
1079
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1080
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1092
1081
|
Processing by ExampleController#restricted as HTML
|
1093
1082
|
[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]]
|
1094
1083
|
Authenticating with gds_sso strategy
|
1095
1084
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
1096
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1097
|
-
Started GET "/auth/gds/callback?code=
|
1085
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1086
|
+
Started GET "/auth/gds/callback?code=PVa9xx1yP9Xnug9OuLDPUtSDjP0myFOfkUFG88TT1Vo&state=8fe12ed0cad4fa7da0065fe8a620df5fdd0d162485a7f50a" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1098
1087
|
Processing by AuthenticationsController#callback as HTML
|
1099
|
-
Parameters: {"code"=>"
|
1088
|
+
Parameters: {"code"=>"PVa9xx1yP9Xnug9OuLDPUtSDjP0myFOfkUFG88TT1Vo", "state"=>"8fe12ed0cad4fa7da0065fe8a620df5fdd0d162485a7f50a"}
|
1100
1089
|
Authenticating with gds_sso strategy
|
1101
1090
|
[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]]
|
1102
1091
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1103
1092
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1104
1093
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1105
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id",
|
1106
|
-
[1m[35m (
|
1094
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 11]]
|
1095
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
1107
1096
|
Redirected to http://www.example-client.com/restricted
|
1108
|
-
Completed 302 Found in
|
1109
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1097
|
+
Completed 302 Found in 8ms (ActiveRecord: 5.2ms)
|
1098
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1110
1099
|
Processing by ExampleController#restricted as HTML
|
1111
1100
|
[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]]
|
1112
1101
|
Rendering text template
|
1113
1102
|
Rendered text template (0.0ms)
|
1114
1103
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1115
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1116
|
-
Processing by ExampleController#restricted as HTML
|
1117
|
-
Authenticating with gds_sso strategy
|
1118
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1119
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1104
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1120
1105
|
Processing by ExampleController#restricted as JSON
|
1121
|
-
Completed in
|
1122
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
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
1108
|
Processing by ExampleController#restricted as JSON
|
1124
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]]
|
1125
1110
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1126
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id",
|
1127
|
-
[1m[35m (
|
1111
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 11]]
|
1112
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
1128
1113
|
[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]]
|
1129
1114
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1130
|
-
[1m[35m (0.
|
1115
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1131
1116
|
[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]]
|
1132
1117
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1133
1118
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1134
1119
|
[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]]
|
1135
|
-
[1m[35m (0.
|
1120
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1136
1121
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1137
|
-
[1m[35m (0.
|
1122
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1138
1123
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1139
1124
|
Rendering text template
|
1140
1125
|
Rendered text template (0.0ms)
|
1141
|
-
Completed 200 OK in
|
1142
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
1126
|
+
Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 5.8ms)
|
1127
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1143
1128
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
1144
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]]
|
1145
1130
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -1158,355 +1143,370 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
1158
1143
|
Rendering text template
|
1159
1144
|
Rendered text template (0.0ms)
|
1160
1145
|
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1161
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1146
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1162
1147
|
Processing by ExampleController#restricted as JSON
|
1163
|
-
Completed in
|
1148
|
+
Completed in 8ms (ActiveRecord: 0.0ms)
|
1149
|
+
[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]]
|
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
1164
|
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1165
1165
|
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1166
1166
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1167
|
-
[1m[35m (
|
1168
|
-
[1m[35m (7.
|
1167
|
+
[1m[35m (9.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
|
1168
|
+
[1m[35m (7.4ms)[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
1169
|
[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
1170
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1171
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-
|
1172
|
-
[1m[35m (
|
1173
|
-
[1m[35m (5.
|
1171
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-11-12 10:32:30.513717"], ["updated_at", "2020-11-12 10:32:30.513717"]]
|
1172
|
+
[1m[35m (7.1ms)[0m [1m[36mcommit transaction[0m
|
1173
|
+
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1174
1174
|
[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
1175
|
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1176
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."
|
1177
|
-
[1m[
|
1178
|
-
[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", "9790"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1179
|
-
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1176
|
+
[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
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
1180
1178
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1181
|
-
[1m[36mUser
|
1182
|
-
[1m[35m (
|
1183
|
-
|
1179
|
+
[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[35m (6.7ms)[0m [1m[36mcommit transaction[0m
|
1181
|
+
[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
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1184
1183
|
Processing by ExampleController#restricted as HTML
|
1185
1184
|
Authenticating with gds_sso strategy
|
1186
1185
|
Completed in 4ms (ActiveRecord: 0.0ms | Allocations: 161)
|
1187
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1188
|
-
Started GET "/auth/gds/callback?code=
|
1186
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1187
|
+
Started GET "/auth/gds/callback?code=xInEEXfY9OXgh60z3MZAIutDsoUcB-UO52PqOuR3wLI&state=579ef427a16e8227ceb6fc069047a529a31e695b6d0894be" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1189
1188
|
Processing by AuthenticationsController#callback as HTML
|
1190
|
-
Parameters: {"code"=>"
|
1189
|
+
Parameters: {"code"=>"xInEEXfY9OXgh60z3MZAIutDsoUcB-UO52PqOuR3wLI", "state"=>"579ef427a16e8227ceb6fc069047a529a31e695b6d0894be"}
|
1191
1190
|
Authenticating with gds_sso strategy
|
1192
|
-
[1m[36mUser Load (0.
|
1191
|
+
[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]]
|
1193
1192
|
[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]]
|
1194
1193
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1195
1194
|
[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"]]
|
1196
|
-
[1m[35m (
|
1195
|
+
[1m[35m (7.1ms)[0m [1m[36mcommit transaction[0m
|
1197
1196
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1198
1197
|
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 2]]
|
1199
|
-
[1m[35m (
|
1198
|
+
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
1200
1199
|
Redirected to http://www.example-client.com/restricted
|
1201
|
-
Completed 302 Found in
|
1202
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1200
|
+
Completed 302 Found in 17ms (ActiveRecord: 14.0ms | Allocations: 1478)
|
1201
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1203
1202
|
Processing by ExampleController#restricted as HTML
|
1204
|
-
[1m[36mUser Load (0.
|
1203
|
+
[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]]
|
1205
1204
|
Rendering text template
|
1206
1205
|
Rendered text template (Duration: 0.0ms | Allocations: 3)
|
1207
|
-
Completed 200 OK in 3ms (Views: 2.
|
1208
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1206
|
+
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms | Allocations: 1533)
|
1207
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1209
1208
|
Processing by ExampleController#restricted as HTML
|
1210
1209
|
Authenticating with gds_sso strategy
|
1211
1210
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1212
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1213
|
-
Started GET "/auth/gds/callback?code=
|
1211
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1212
|
+
Started GET "/auth/gds/callback?code=3P7LFuNmEELT_Vb63YdcNulcrn-lTs5pvOob5oMqq8g&state=ff5c2898d3d08bae49e16ff133904c28e3329b766227474d" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1214
1213
|
Processing by AuthenticationsController#callback as HTML
|
1215
|
-
Parameters: {"code"=>"
|
1214
|
+
Parameters: {"code"=>"3P7LFuNmEELT_Vb63YdcNulcrn-lTs5pvOob5oMqq8g", "state"=>"ff5c2898d3d08bae49e16ff133904c28e3329b766227474d"}
|
1216
1215
|
Authenticating with gds_sso strategy
|
1217
1216
|
[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]]
|
1218
1217
|
Redirected to http://www.example-client.com/restricted
|
1219
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
1220
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1218
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1219
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1221
1220
|
Processing by ExampleController#restricted as HTML
|
1222
1221
|
[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]]
|
1223
1222
|
Rendering text template
|
1224
1223
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1225
1224
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1226
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1225
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1227
1226
|
Processing by ExampleController#restricted as HTML
|
1228
1227
|
Authenticating with gds_sso strategy
|
1229
1228
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1230
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1231
|
-
Started GET "/auth/gds/callback?code=
|
1229
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1230
|
+
Started GET "/auth/gds/callback?code=nOhCNsYi0m_4Jhb4svdbFygYRr9z5ywfgSxQFXRUIKI&state=4767cdb6904b56a6dcf741d7b5dce9e737ca09fa2c9af9ca" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1232
1231
|
Processing by AuthenticationsController#callback as HTML
|
1233
|
-
Parameters: {"code"=>"
|
1232
|
+
Parameters: {"code"=>"nOhCNsYi0m_4Jhb4svdbFygYRr9z5ywfgSxQFXRUIKI", "state"=>"4767cdb6904b56a6dcf741d7b5dce9e737ca09fa2c9af9ca"}
|
1234
1233
|
Authenticating with gds_sso strategy
|
1235
1234
|
[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]]
|
1236
1235
|
Redirected to http://www.example-client.com/restricted
|
1237
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
1238
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1236
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1237
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1239
1238
|
Processing by ExampleController#restricted as HTML
|
1240
1239
|
[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]]
|
1241
1240
|
Rendering text template
|
1242
1241
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1243
|
-
Completed 200 OK in
|
1244
|
-
Started GET "/" for 127.0.0.1 at 2020-
|
1245
|
-
Processing by ExampleController#index as HTML
|
1246
|
-
Rendering text template
|
1247
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1248
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 137)
|
1249
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1242
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1243
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1250
1244
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1251
1245
|
Authenticating with gds_sso strategy
|
1252
1246
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1253
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1254
|
-
Started GET "/auth/gds/callback?code=
|
1247
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1248
|
+
Started GET "/auth/gds/callback?code=eW9a7hEncUvY7E_gx_Pk4pgrHuVG7dc4HdlKFct6hw0&state=a50b0bdeea0fe1f03013052feda2238ed7f888e54abd521a" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1255
1249
|
Processing by AuthenticationsController#callback as HTML
|
1256
|
-
Parameters: {"code"=>"
|
1250
|
+
Parameters: {"code"=>"eW9a7hEncUvY7E_gx_Pk4pgrHuVG7dc4HdlKFct6hw0", "state"=>"a50b0bdeea0fe1f03013052feda2238ed7f888e54abd521a"}
|
1257
1251
|
Authenticating with gds_sso strategy
|
1258
1252
|
[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]]
|
1259
1253
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1260
1254
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1261
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
1255
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1262
1256
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1263
1257
|
[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]]
|
1264
1258
|
Rendering text template
|
1265
1259
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1266
1260
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1267
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
1261
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1268
1262
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1269
1263
|
Authenticating with gds_sso strategy
|
1270
1264
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1271
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1272
|
-
Started GET "/auth/gds/callback?code=
|
1265
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1266
|
+
Started GET "/auth/gds/callback?code=o4fDUvJgAI-z7D7Rdi1SfpQWbgHiaR9kXFQ4qClioTw&state=a36c70833d1f7c865780f9d93463964f9e17d77a17f7a01a" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1273
1267
|
Processing by AuthenticationsController#callback as HTML
|
1274
|
-
Parameters: {"code"=>"
|
1268
|
+
Parameters: {"code"=>"o4fDUvJgAI-z7D7Rdi1SfpQWbgHiaR9kXFQ4qClioTw", "state"=>"a36c70833d1f7c865780f9d93463964f9e17d77a17f7a01a"}
|
1275
1269
|
Authenticating with gds_sso strategy
|
1276
|
-
[1m[36mUser Load (0.
|
1270
|
+
[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]]
|
1277
1271
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1278
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
1279
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
1272
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 913)
|
1273
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1280
1274
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1281
1275
|
[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]]
|
1282
1276
|
Rendering text template
|
1283
1277
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1284
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1285
|
-
Started GET "/
|
1278
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 654)
|
1279
|
+
Started GET "/" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1280
|
+
Processing by ExampleController#index as HTML
|
1281
|
+
Rendering text template
|
1282
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1283
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 137)
|
1284
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1286
1285
|
Processing by ExampleController#restricted as HTML
|
1287
1286
|
Authenticating with gds_sso strategy
|
1288
1287
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1289
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1290
|
-
Started GET "/auth/gds/callback?code=
|
1288
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1289
|
+
Started GET "/auth/gds/callback?code=2sMab_u8g0VtoGEDIWOHGeUoCIx6QU1WGtJ2Pf5iGJs&state=dce68471d4d40d57ceb4c87bd8b0f7a736ca9a91ccee16cd" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1291
1290
|
Processing by AuthenticationsController#callback as HTML
|
1292
|
-
Parameters: {"code"=>"
|
1291
|
+
Parameters: {"code"=>"2sMab_u8g0VtoGEDIWOHGeUoCIx6QU1WGtJ2Pf5iGJs", "state"=>"dce68471d4d40d57ceb4c87bd8b0f7a736ca9a91ccee16cd"}
|
1293
1292
|
Authenticating with gds_sso strategy
|
1294
|
-
[1m[36mUser Load (0.
|
1293
|
+
[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]]
|
1295
1294
|
Redirected to http://www.example-client.com/restricted
|
1296
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
1297
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1295
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 912)
|
1296
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1298
1297
|
Processing by ExampleController#restricted as HTML
|
1299
1298
|
[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]]
|
1300
1299
|
Rendering text template
|
1301
1300
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1302
1301
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1303
|
-
|
1304
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1305
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 2]]
|
1306
|
-
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1307
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1302
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:31 +0000
|
1308
1303
|
Processing by ExampleController#restricted as HTML
|
1309
|
-
[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]]
|
1310
1304
|
Authenticating with gds_sso strategy
|
1311
|
-
Completed in 1ms (ActiveRecord: 0.
|
1312
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1313
|
-
Started GET "/
|
1314
|
-
Processing by AuthenticationsController#callback as HTML
|
1315
|
-
Parameters: {"code"=>"ULrH80fYJMjbZhFg7SM9pY9dwSD3DucnSyNFeNaOpNs", "state"=>"2b102c56bfc92b3e9d3abe9f8fb1d6fb85b982a5d9030ac8"}
|
1316
|
-
Authenticating with gds_sso strategy
|
1317
|
-
[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]]
|
1318
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1319
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 2]]
|
1320
|
-
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
1321
|
-
Redirected to http://www.example-client.com/restricted
|
1322
|
-
Completed 302 Found in 7ms (ActiveRecord: 4.5ms | Allocations: 1103)
|
1323
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1324
|
-
Processing by ExampleController#restricted as HTML
|
1325
|
-
[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]]
|
1326
|
-
Rendering text template
|
1327
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1328
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
|
1329
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1305
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 479)
|
1306
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-13 06:37:31 +0000
|
1307
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1330
1308
|
Processing by ExampleController#restricted as HTML
|
1331
1309
|
Authenticating with gds_sso strategy
|
1332
1310
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1333
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1334
|
-
Started GET "/auth/gds/callback?code=
|
1311
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1312
|
+
Started GET "/auth/gds/callback?code=Nh-zC7yGJpH0Dl8m8iEYc-xXgOB9yI-4x95eARk9vCg&state=8865c8f7c7ac93c9517b3c968c664df99334e24d5f6945b4" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1335
1313
|
Processing by AuthenticationsController#callback as HTML
|
1336
|
-
Parameters: {"code"=>"
|
1314
|
+
Parameters: {"code"=>"Nh-zC7yGJpH0Dl8m8iEYc-xXgOB9yI-4x95eARk9vCg", "state"=>"8865c8f7c7ac93c9517b3c968c664df99334e24d5f6945b4"}
|
1337
1315
|
Authenticating with gds_sso strategy
|
1338
|
-
[1m[36mUser Load (0.
|
1316
|
+
[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]]
|
1339
1317
|
Redirected to http://www.example-client.com/restricted
|
1340
|
-
Completed 302 Found in
|
1341
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1318
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 912)
|
1319
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1342
1320
|
Processing by ExampleController#restricted as HTML
|
1343
1321
|
[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]]
|
1344
1322
|
Rendering text template
|
1345
1323
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1346
|
-
Completed 200 OK in
|
1347
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1324
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 653)
|
1325
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:31 +0000
|
1348
1326
|
Processing by ExampleController#restricted as HTML
|
1349
1327
|
Authenticating with gds_sso strategy
|
1350
|
-
Completed in
|
1351
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1352
|
-
Started GET "/auth/gds/callback?code=
|
1328
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 479)
|
1329
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-13 06:37:31 +0000
|
1330
|
+
Started GET "/auth/gds/callback?code=avD6fG71If2TVFfGGu_baNRgQcUBNcpF8uqhLZMNA6o&state=a09fb312accf885b0aec96efe3b803e2c13a17a67172eaab" for 127.0.0.1 at 2020-11-13 06:37:31 +0000
|
1353
1331
|
Processing by AuthenticationsController#callback as HTML
|
1354
|
-
Parameters: {"code"=>"
|
1332
|
+
Parameters: {"code"=>"avD6fG71If2TVFfGGu_baNRgQcUBNcpF8uqhLZMNA6o", "state"=>"a09fb312accf885b0aec96efe3b803e2c13a17a67172eaab"}
|
1355
1333
|
Authenticating with gds_sso strategy
|
1356
1334
|
[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]]
|
1357
1335
|
Redirected to http://www.example-client.com/restricted
|
1358
|
-
Completed 302 Found in
|
1359
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1336
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms | Allocations: 1114)
|
1337
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:31 +0000
|
1360
1338
|
Processing by ExampleController#restricted as HTML
|
1361
1339
|
[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]]
|
1362
1340
|
Rendering text template
|
1363
1341
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1364
|
-
Completed 200 OK in
|
1365
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1342
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 877)
|
1343
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1366
1344
|
Processing by ExampleController#restricted as HTML
|
1367
1345
|
Authenticating with gds_sso strategy
|
1368
1346
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1369
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1370
|
-
Started GET "/auth/gds/callback?code=
|
1347
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1348
|
+
Started GET "/auth/gds/callback?code=Kh0ifEtYLuq5Mmjkf8p7KQFjO2r7Rf-UGyL4VNAOz8M&state=bd63f60b093032abdfeb6e9f9f062937f29526fa9af80fc7" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1371
1349
|
Processing by AuthenticationsController#callback as HTML
|
1372
|
-
Parameters: {"code"=>"
|
1350
|
+
Parameters: {"code"=>"Kh0ifEtYLuq5Mmjkf8p7KQFjO2r7Rf-UGyL4VNAOz8M", "state"=>"bd63f60b093032abdfeb6e9f9f062937f29526fa9af80fc7"}
|
1373
1351
|
Authenticating with gds_sso strategy
|
1374
1352
|
[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]]
|
1375
1353
|
Redirected to http://www.example-client.com/restricted
|
1376
1354
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1377
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1355
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1378
1356
|
Processing by ExampleController#restricted as HTML
|
1379
1357
|
[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]]
|
1380
1358
|
Rendering text template
|
1381
1359
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1382
|
-
Completed 200 OK in 1ms (Views: 0.
|
1383
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1360
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1361
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:27:31 +0000
|
1384
1362
|
Processing by ExampleController#restricted as HTML
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1363
|
+
[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]]
|
1364
|
+
Rendering text template
|
1365
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1366
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 875)
|
1367
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1389
1368
|
Processing by ExampleController#restricted as HTML
|
1390
1369
|
Authenticating with gds_sso strategy
|
1391
1370
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1392
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1393
|
-
Started GET "/auth/gds/callback?code=
|
1371
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1372
|
+
Started GET "/auth/gds/callback?code=dZDwdf1IvBcTAFqHkKLMXTKErnPgsjkcElPkNsXXW0U&state=d4c539e1c4e27814a9640383ef094255bc29683a7552c165" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1394
1373
|
Processing by AuthenticationsController#callback as HTML
|
1395
|
-
Parameters: {"code"=>"
|
1374
|
+
Parameters: {"code"=>"dZDwdf1IvBcTAFqHkKLMXTKErnPgsjkcElPkNsXXW0U", "state"=>"d4c539e1c4e27814a9640383ef094255bc29683a7552c165"}
|
1396
1375
|
Authenticating with gds_sso strategy
|
1397
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]]
|
1398
1377
|
Redirected to http://www.example-client.com/restricted
|
1399
1378
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1400
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1379
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1401
1380
|
Processing by ExampleController#restricted as HTML
|
1402
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]]
|
1403
1382
|
Rendering text template
|
1404
1383
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1405
1384
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1406
|
-
|
1385
|
+
[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[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1387
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 2]]
|
1388
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
1389
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1390
|
+
Processing by ExampleController#restricted as HTML
|
1391
|
+
[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
|
+
Authenticating with gds_sso strategy
|
1393
|
+
Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 532)
|
1394
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1395
|
+
Started GET "/auth/gds/callback?code=wc3fNXhJuPibWwifQFZEXVE-eYdNW7ZJqlNXLrdj1l8&state=121f606a8982afdcc769bae6c77bcf59710e5b653c29768d" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1396
|
+
Processing by AuthenticationsController#callback as HTML
|
1397
|
+
Parameters: {"code"=>"wc3fNXhJuPibWwifQFZEXVE-eYdNW7ZJqlNXLrdj1l8", "state"=>"121f606a8982afdcc769bae6c77bcf59710e5b653c29768d"}
|
1398
|
+
Authenticating with gds_sso strategy
|
1399
|
+
[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[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1401
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 2]]
|
1402
|
+
[1m[35m (6.8ms)[0m [1m[36mcommit transaction[0m
|
1403
|
+
Redirected to http://www.example-client.com/restricted
|
1404
|
+
Completed 302 Found in 10ms (ActiveRecord: 7.1ms | Allocations: 1103)
|
1405
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1407
1406
|
Processing by ExampleController#restricted as HTML
|
1408
1407
|
[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]]
|
1409
1408
|
Rendering text template
|
1410
1409
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1411
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1412
|
-
Started GET "/
|
1413
|
-
Processing by ExampleController#
|
1414
|
-
Completed in 12ms (ActiveRecord: 0.0ms | Allocations: 1955)
|
1415
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1416
|
-
Processing by ExampleController#restricted as JSON
|
1410
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
|
1411
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1412
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1417
1413
|
[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
|
-
[1m[35m (0.
|
1414
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1419
1415
|
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 2]]
|
1420
|
-
[1m[35m (
|
1416
|
+
[1m[35m (8.3ms)[0m [1m[36mcommit transaction[0m
|
1421
1417
|
[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]]
|
1422
1418
|
[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]]
|
1423
1419
|
[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]]
|
1424
1420
|
Rendering text template
|
1425
1421
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1426
|
-
Completed 200 OK in
|
1427
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1422
|
+
Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 8.7ms | Allocations: 3437)
|
1423
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1424
|
+
Processing by ExampleController#restricted as JSON
|
1425
|
+
Completed in 15ms (ActiveRecord: 0.0ms | Allocations: 1823)
|
1426
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:32 +0000
|
1428
1427
|
Processing by ExampleController#restricted as JSON
|
1429
|
-
Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1776)
|
1430
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1431
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
1432
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]]
|
1433
1429
|
[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]]
|
1434
1430
|
[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]]
|
1435
1431
|
[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]]
|
1436
1432
|
Rendering text template
|
1437
1433
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1438
|
-
Completed 200 OK in
|
1439
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1434
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.2ms | Allocations: 3020)
|
1435
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:32 +0000
|
1436
|
+
Processing by ExampleController#restricted as JSON
|
1437
|
+
Completed in 10ms (ActiveRecord: 0.0ms | Allocations: 1776)
|
1438
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:32 +0000
|
1440
1439
|
Processing by ExampleController#restricted as HTML
|
1441
1440
|
Authenticating with gds_sso strategy
|
1442
1441
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 104)
|
1443
|
-
[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]]
|
1444
|
-
[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]]
|
1445
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1446
|
-
[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]]
|
1447
|
-
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1448
|
-
[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]]
|
1449
1442
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1450
|
-
[1m[36mUser Create (0.
|
1451
|
-
[1m[35m (
|
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
|
1452
1445
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1453
|
-
[1m[36mUser Create (0.
|
1454
|
-
[1m[35m (5.
|
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
|
1455
1448
|
Processing by Api::UserController#update as HTML
|
1456
|
-
Parameters: {"uid"=>"
|
1457
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
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]]
|
1458
1451
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1459
|
-
[1m[36mUser Update (0.
|
1460
|
-
[1m[35m (5.
|
1461
|
-
Completed 200 OK in
|
1462
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id",
|
1463
|
-
[1m[35m (0.
|
1464
|
-
[1m[36mUser Create (0.
|
1465
|
-
[1m[35m (
|
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
|
1466
1459
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1467
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
1468
|
-
[1m[35m (
|
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
|
1469
1462
|
Processing by Api::UserController#update as HTML
|
1470
|
-
Parameters: {"uid"=>"
|
1463
|
+
Parameters: {"uid"=>"a1s2d32453"}
|
1471
1464
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1472
1465
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1473
1466
|
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 192)
|
1474
1467
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1475
|
-
Completed 403 Forbidden in 3ms (Views: 2.
|
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]]
|
1476
1488
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1477
|
-
[1m[36mUser
|
1478
|
-
[1m[35m (5.
|
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]]
|
1479
1493
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1480
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
1481
|
-
[1m[35m (
|
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
|
1482
1499
|
Processing by Api::UserController#reauth as HTML
|
1483
|
-
Parameters: {"uid"=>"
|
1500
|
+
Parameters: {"uid"=>"a1s2d36039"}
|
1484
1501
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1485
1502
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1486
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.
|
1503
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.2ms | Allocations: 46)
|
1487
1504
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1488
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
1489
|
-
[1m[
|
1490
|
-
[1m[
|
1491
|
-
[1m[
|
1492
|
-
[1m[35m (
|
1493
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33250"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1494
|
-
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1495
|
-
Processing by Api::UserController#reauth as HTML
|
1496
|
-
Parameters: {"uid"=>"a1s2d3570"}
|
1497
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3570"], ["LIMIT", 1]]
|
1498
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1499
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 10]]
|
1500
|
-
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1501
|
-
Completed 200 OK in 7ms (ActiveRecord: 5.5ms | Allocations: 882)
|
1502
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
1503
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1504
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39749"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1505
|
-
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
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
|
1506
1510
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1507
|
-
[1m[36mUser
|
1508
|
-
[1m[35m (
|
1509
|
-
Processing by Api::UserController#reauth as HTML
|
1510
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1511
|
-
[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]]
|
1512
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 525)
|
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
|