gds-sso 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,13 +26,14 @@ module GDS
26
26
  def require_signin_permission!
27
27
  authorise_user!(GDS::SSO::Config.default_scope, 'signin')
28
28
  rescue PermissionDeniedException
29
- headers["X-Slimmer-Skip"] = "1" # If slimmer used, without this you would see a generic 400 error page
29
+ skip_slimmer
30
30
  render "authorisations/cant_signin", layout: "unauthorised", status: :forbidden
31
31
  end
32
32
 
33
33
  def authenticate_user!
34
34
  if current_user && current_user.remotely_signed_out?
35
35
  message = "You have been remotely signed out."
36
+ skip_slimmer
36
37
  render "authorisations/unauthorised", layout: "unauthorised", status: :forbidden, locals: { message: message }
37
38
  end
38
39
  warden.authenticate!
@@ -53,6 +54,11 @@ module GDS
53
54
  def warden
54
55
  request.env['warden']
55
56
  end
57
+
58
+ def skip_slimmer
59
+ # If slimmer used, without this you would see a generic 400 error page
60
+ headers["X-Slimmer-Skip"] = "1"
61
+ end
56
62
  end
57
63
  end
58
64
  end
@@ -1,5 +1,5 @@
1
1
  module GDS
2
2
  module SSO
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
@@ -5590,3 +5590,683 @@ GDS_SSO integration test:
5590
5590
   (1.3ms) commit transaction
5591
5591
  Completed 200 OK in 4ms (ActiveRecord: 1.7ms)
5592
5592
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
5593
+ Connecting to database specified by database.yml
5594
+  (3.2ms) select sqlite_version(*)
5595
+  (30.0ms) DROP TABLE "users"
5596
+  (1.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) 
5597
+
5598
+
5599
+ Started GET "/" for 127.0.0.1 at 2012-07-25 14:58:36 +0000
5600
+ Processing by ExampleController#index as HTML
5601
+ Rendered text template (0.0ms)
5602
+ Completed 200 OK in 54ms (Views: 53.7ms | ActiveRecord: 0.0ms)
5603
+
5604
+
5605
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 14:58:36 +0000
5606
+ Processing by ExampleController#restricted as HTML
5607
+ Authenticating with gds_sso strategy
5608
+ Completed in 62ms
5609
+
5610
+
5611
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-07-25 14:58:36 +0000
5612
+
5613
+
5614
+ Started GET "/auth/gds/callback?code=aa01d7043eaaaec08ce7d0019486d8bd8f7377ceef8c51ec7ff1ea6c812c3ae7&state=56203722a4bb93f86db04be2529945c297d7a5d93a846abc" for 127.0.0.1 at 2012-07-25 14:58:37 +0000
5615
+ Processing by AuthenticationsController#callback as HTML
5616
+ Parameters: {"code"=>"aa01d7043eaaaec08ce7d0019486d8bd8f7377ceef8c51ec7ff1ea6c812c3ae7", "state"=>"56203722a4bb93f86db04be2529945c297d7a5d93a846abc"}
5617
+ Authenticating with gds_sso strategy
5618
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5619
+  (0.1ms) begin transaction
5620
+ SQL (48.9ms) INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
5621
+  (12.0ms) commit transaction
5622
+  (0.0ms) begin transaction
5623
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
5624
+ GDS_SSO integration test:
5625
+ - signin
5626
+ ' WHERE "users"."id" = 1
5627
+  (4.7ms) commit transaction
5628
+ Redirected to http://www.example-client.com/restricted
5629
+ Completed 302 Found in 118ms (ActiveRecord: 67.1ms)
5630
+
5631
+
5632
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 14:58:38 +0000
5633
+ Processing by ExampleController#restricted as HTML
5634
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5635
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
5636
+
5637
+
5638
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 14:58:38 +0000
5639
+ Processing by ExampleController#restricted as HTML
5640
+ Authenticating with gds_sso strategy
5641
+ Completed in 0ms
5642
+
5643
+
5644
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-07-25 14:58:38 +0000
5645
+
5646
+
5647
+ Started GET "/auth/gds/callback?code=469c43cb089529a3c01b0663eca13f84367ddd3995d40204d9795d25981d7fc5&state=73b1bbedc5d3fbd495fea43971ca81dee586911631a19c5d" for 127.0.0.1 at 2012-07-25 14:58:38 +0000
5648
+ Processing by AuthenticationsController#callback as HTML
5649
+ Parameters: {"code"=>"469c43cb089529a3c01b0663eca13f84367ddd3995d40204d9795d25981d7fc5", "state"=>"73b1bbedc5d3fbd495fea43971ca81dee586911631a19c5d"}
5650
+ Authenticating with gds_sso strategy
5651
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5652
+  (0.1ms) begin transaction
5653
+  (0.2ms) UPDATE "users" SET "permissions" = '---
5654
+ GDS_SSO integration test:
5655
+ - signin
5656
+ ' WHERE "users"."id" = 1
5657
+  (8.6ms) commit transaction
5658
+  (0.1ms) begin transaction
5659
+  (0.2ms) UPDATE "users" SET "permissions" = '---
5660
+ GDS_SSO integration test:
5661
+ - signin
5662
+ ' WHERE "users"."id" = 1
5663
+  (1.9ms) commit transaction
5664
+ Redirected to http://www.example-client.com/restricted
5665
+ Completed 302 Found in 17ms (ActiveRecord: 11.3ms)
5666
+
5667
+
5668
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 14:58:38 +0000
5669
+ Processing by ExampleController#restricted as HTML
5670
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5671
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
5672
+
5673
+
5674
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 14:58:38 +0000
5675
+ Processing by ExampleController#restricted as HTML
5676
+ Authenticating with gds_sso strategy
5677
+ Completed in 0ms
5678
+
5679
+
5680
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-07-25 14:58:38 +0000
5681
+
5682
+
5683
+ Started GET "/auth/gds/callback?code=16dc1777a28417b36f490be1a1dcb29300d2988063ea96a477030963558cd042&state=ffa2726bdf755698ca27a1fb8dfbedbbfd2feececfff47bf" for 127.0.0.1 at 2012-07-25 14:58:38 +0000
5684
+ Processing by AuthenticationsController#callback as HTML
5685
+ Parameters: {"code"=>"16dc1777a28417b36f490be1a1dcb29300d2988063ea96a477030963558cd042", "state"=>"ffa2726bdf755698ca27a1fb8dfbedbbfd2feececfff47bf"}
5686
+ Authenticating with gds_sso strategy
5687
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5688
+  (0.1ms) begin transaction
5689
+  (0.2ms) UPDATE "users" SET "permissions" = '---
5690
+ GDS_SSO integration test:
5691
+ - signin
5692
+ ' WHERE "users"."id" = 1
5693
+  (10.7ms) commit transaction
5694
+  (0.0ms) begin transaction
5695
+  (0.2ms) UPDATE "users" SET "permissions" = '---
5696
+ GDS_SSO integration test:
5697
+ - signin
5698
+ ' WHERE "users"."id" = 1
5699
+  (7.8ms) commit transaction
5700
+ Redirected to http://www.example-client.com/restricted
5701
+ Completed 302 Found in 24ms (ActiveRecord: 19.3ms)
5702
+
5703
+
5704
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 14:58:38 +0000
5705
+ Processing by ExampleController#restricted as HTML
5706
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5707
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
5708
+
5709
+
5710
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-07-25 14:58:38 +0000
5711
+ Processing by ExampleController#this_requires_signin_permission as HTML
5712
+ Authenticating with gds_sso strategy
5713
+ Completed in 1ms
5714
+
5715
+
5716
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-07-25 14:58:38 +0000
5717
+
5718
+
5719
+ Started GET "/auth/gds/callback?code=ae498a182100b8004d80059b69d5cd23081bd2ae2e712c45140bbc1d13c3eb86&state=2273f9695939cecd665838bdb71a8a6b141aaa5e4fb4f911" for 127.0.0.1 at 2012-07-25 14:58:39 +0000
5720
+ Processing by AuthenticationsController#callback as HTML
5721
+ Parameters: {"code"=>"ae498a182100b8004d80059b69d5cd23081bd2ae2e712c45140bbc1d13c3eb86", "state"=>"2273f9695939cecd665838bdb71a8a6b141aaa5e4fb4f911"}
5722
+ Authenticating with gds_sso strategy
5723
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5724
+  (0.1ms) begin transaction
5725
+  (0.2ms) UPDATE "users" SET "permissions" = '---
5726
+ GDS_SSO integration test:
5727
+ - signin
5728
+ ' WHERE "users"."id" = 1
5729
+  (5.1ms) commit transaction
5730
+  (0.0ms) begin transaction
5731
+  (0.2ms) UPDATE "users" SET "permissions" = '---
5732
+ GDS_SSO integration test:
5733
+ - signin
5734
+ ' WHERE "users"."id" = 1
5735
+  (1.4ms) commit transaction
5736
+ Redirected to http://www.example-client.com/this_requires_signin_permission
5737
+ Completed 302 Found in 12ms (ActiveRecord: 7.2ms)
5738
+
5739
+
5740
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-07-25 14:58:39 +0000
5741
+ Processing by ExampleController#this_requires_signin_permission as HTML
5742
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5743
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
5744
+
5745
+
5746
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-07-25 14:58:39 +0000
5747
+ Processing by ExampleController#this_requires_signin_permission as HTML
5748
+ Authenticating with gds_sso strategy
5749
+ Completed in 0ms
5750
+
5751
+
5752
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-07-25 14:58:39 +0000
5753
+
5754
+
5755
+ Started GET "/auth/gds/callback?code=09ce562298b15567c039fb386488b5056249cfac64de1fd560b5b8cb615a5fcb&state=0f89d35062762f2f34652ac7677cf25d42e5511af656c5e1" for 127.0.0.1 at 2012-07-25 14:58:39 +0000
5756
+ Processing by AuthenticationsController#callback as HTML
5757
+ Parameters: {"code"=>"09ce562298b15567c039fb386488b5056249cfac64de1fd560b5b8cb615a5fcb", "state"=>"0f89d35062762f2f34652ac7677cf25d42e5511af656c5e1"}
5758
+ Authenticating with gds_sso strategy
5759
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5760
+  (0.0ms) begin transaction
5761
+  (0.2ms) UPDATE "users" SET "permissions" = '---
5762
+ GDS_SSO integration test:
5763
+ - signin
5764
+ ' WHERE "users"."id" = 1
5765
+  (33.3ms) commit transaction
5766
+  (0.1ms) begin transaction
5767
+  (0.2ms) UPDATE "users" SET "permissions" = '---
5768
+ GDS_SSO integration test:
5769
+ - signin
5770
+ ' WHERE "users"."id" = 1
5771
+  (1.4ms) commit transaction
5772
+ Redirected to http://www.example-client.com/this_requires_signin_permission
5773
+ Completed 302 Found in 40ms (ActiveRecord: 35.5ms)
5774
+
5775
+
5776
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-07-25 14:58:39 +0000
5777
+ Processing by ExampleController#this_requires_signin_permission as HTML
5778
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5779
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
5780
+
5781
+
5782
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 14:58:39 +0000
5783
+ Processing by ExampleController#restricted as HTML
5784
+ Authenticating with gds_sso strategy
5785
+ Completed in 0ms
5786
+
5787
+
5788
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-07-25 14:58:39 +0000
5789
+
5790
+
5791
+ Started GET "/auth/gds/callback?code=174d4f4126a78b030d4e6b93bb9fecc15ac86d5ab05abc8f99ef724f24f2e516&state=5b49f4ba34272a69617de4a89464edb3909e78aaf5ad069b" for 127.0.0.1 at 2012-07-25 14:58:39 +0000
5792
+ Processing by AuthenticationsController#callback as HTML
5793
+ Parameters: {"code"=>"174d4f4126a78b030d4e6b93bb9fecc15ac86d5ab05abc8f99ef724f24f2e516", "state"=>"5b49f4ba34272a69617de4a89464edb3909e78aaf5ad069b"}
5794
+ Authenticating with gds_sso strategy
5795
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5796
+  (0.1ms) begin transaction
5797
+  (0.3ms) UPDATE "users" SET "permissions" = '---
5798
+ GDS_SSO integration test:
5799
+ - signin
5800
+ ' WHERE "users"."id" = 1
5801
+  (2.9ms) commit transaction
5802
+  (0.1ms) begin transaction
5803
+  (0.2ms) UPDATE "users" SET "permissions" = '---
5804
+ GDS_SSO integration test:
5805
+ - signin
5806
+ ' WHERE "users"."id" = 1
5807
+  (1.4ms) commit transaction
5808
+ Redirected to http://www.example-client.com/restricted
5809
+ Completed 302 Found in 11ms (ActiveRecord: 5.1ms)
5810
+
5811
+
5812
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 14:58:39 +0000
5813
+ Processing by ExampleController#restricted as HTML
5814
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5815
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
5816
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5817
+  (0.0ms) begin transaction
5818
+  (0.2ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
5819
+ GDS_SSO integration test:
5820
+ - signin
5821
+ ' WHERE "users"."id" = 1
5822
+  (19.6ms) commit transaction
5823
+
5824
+
5825
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 14:58:39 +0000
5826
+ Processing by ExampleController#restricted as HTML
5827
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5828
+ Filter chain halted as :authenticate_user! rendered or redirected
5829
+ Completed 403 Forbidden in 104ms (Views: 102.3ms | ActiveRecord: 0.1ms)
5830
+
5831
+
5832
+ Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2012-07-25 14:58:40 +0000
5833
+ Processing by AuthenticationsController#sign_out as HTML
5834
+ Redirected to http://localhost:4567/users/sign_out
5835
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
5836
+
5837
+
5838
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 14:58:40 +0000
5839
+ Processing by ExampleController#restricted as HTML
5840
+ Authenticating with gds_sso strategy
5841
+ Completed in 0ms
5842
+
5843
+
5844
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-07-25 14:58:40 +0000
5845
+
5846
+
5847
+ Started GET "/auth/gds/callback?code=c4640b8ac4769968f13a1a8f0c11f0aa1a4500a685fd36c07e964388733520c2&state=c85e1f74d918939fad731d07b717e190763066cf8af44c04" for 127.0.0.1 at 2012-07-25 14:58:40 +0000
5848
+ Processing by AuthenticationsController#callback as HTML
5849
+ Parameters: {"code"=>"c4640b8ac4769968f13a1a8f0c11f0aa1a4500a685fd36c07e964388733520c2", "state"=>"c85e1f74d918939fad731d07b717e190763066cf8af44c04"}
5850
+ Authenticating with gds_sso strategy
5851
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5852
+  (0.0ms) begin transaction
5853
+  (0.2ms) UPDATE "users" SET "permissions" = '---
5854
+ GDS_SSO integration test:
5855
+ - signin
5856
+ ' WHERE "users"."id" = 1
5857
+  (4.5ms) commit transaction
5858
+  (0.1ms) begin transaction
5859
+  (0.2ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
5860
+ GDS_SSO integration test:
5861
+ - signin
5862
+ ' WHERE "users"."id" = 1
5863
+  (4.4ms) commit transaction
5864
+ Redirected to http://www.example-client.com/restricted
5865
+ Completed 302 Found in 14ms (ActiveRecord: 9.7ms)
5866
+
5867
+
5868
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 14:58:40 +0000
5869
+ Processing by ExampleController#restricted as HTML
5870
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5871
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
5872
+
5873
+
5874
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 14:58:40 +0000
5875
+ Processing by ExampleController#restricted as JSON
5876
+ Authenticating with gds_sso_api_access strategy
5877
+ Completed in 35ms
5878
+
5879
+
5880
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 14:58:40 +0000
5881
+ Processing by ExampleController#restricted as JSON
5882
+ Authenticating with gds_sso_api_access strategy
5883
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
5884
+
5885
+
5886
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-07-25 14:58:40 +0000
5887
+ Processing by ExampleController#this_requires_signin_permission as JSON
5888
+ Authenticating with gds_sso_api_access strategy
5889
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
5890
+  (0.2ms) begin transaction
5891
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31081"]]
5892
+  (8.8ms) commit transaction
5893
+ WARNING: Can't mass-assign protected attributes: uid, name, permissions
5894
+ Processing by Api::UserController#update as HTML
5895
+ Parameters: {"uid"=>"a1s2d31081"}
5896
+ Completed 403 Forbidden in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)
5897
+  (0.1ms) begin transaction
5898
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37927"]]
5899
+  (1.7ms) commit transaction
5900
+ Processing by Api::UserController#update as HTML
5901
+ Parameters: {"uid"=>"a1s2d37927"}
5902
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37927' LIMIT 1
5903
+  (0.0ms) begin transaction
5904
+  (0.2ms) UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
5905
+ GDS_SSO integration test:
5906
+ - signin
5907
+ - new permission
5908
+ ' WHERE "users"."id" = 3
5909
+  (2.0ms) commit transaction
5910
+ Completed 200 OK in 6ms (ActiveRecord: 2.5ms)
5911
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
5912
+  (0.1ms) begin transaction
5913
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3972"]]
5914
+  (4.2ms) commit transaction
5915
+ WARNING: Can't mass-assign protected attributes: uid, name, permissions
5916
+ Processing by Api::UserController#reauth as HTML
5917
+ Parameters: {"uid"=>"a1s2d3972"}
5918
+ Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
5919
+  (0.1ms) begin transaction
5920
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33256"]]
5921
+  (1.6ms) commit transaction
5922
+ Processing by Api::UserController#reauth as HTML
5923
+ Parameters: {"uid"=>"a1s2d33256"}
5924
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d33256' LIMIT 1
5925
+  (0.0ms) begin transaction
5926
+  (0.2ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
5927
+ GDS_SSO integration test:
5928
+ - signin
5929
+ ' WHERE "users"."id" = 5
5930
+  (3.5ms) commit transaction
5931
+ Completed 200 OK in 6ms (ActiveRecord: 3.9ms)
5932
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
5933
+ Connecting to database specified by database.yml
5934
+  (2.8ms) select sqlite_version(*)
5935
+  (33.0ms) DROP TABLE "users"
5936
+  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) 
5937
+
5938
+
5939
+ Started GET "/" for 127.0.0.1 at 2012-07-25 15:01:46 +0000
5940
+ Processing by ExampleController#index as HTML
5941
+ Rendered text template (0.0ms)
5942
+ Completed 200 OK in 57ms (Views: 56.8ms | ActiveRecord: 0.0ms)
5943
+
5944
+
5945
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 15:01:46 +0000
5946
+ Processing by ExampleController#restricted as HTML
5947
+ Authenticating with gds_sso strategy
5948
+ Completed in 65ms
5949
+
5950
+
5951
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-07-25 15:01:46 +0000
5952
+
5953
+
5954
+ Started GET "/auth/gds/callback?code=377d050cf1e2ae4c1436961eca2ebfa4be34ff7eef0dd294db302cd52b03cb2d&state=020c2bfb3c1897ea74f0a39847286ebcf7a6ddb22ee0ea8d" for 127.0.0.1 at 2012-07-25 15:01:47 +0000
5955
+ Processing by AuthenticationsController#callback as HTML
5956
+ Parameters: {"code"=>"377d050cf1e2ae4c1436961eca2ebfa4be34ff7eef0dd294db302cd52b03cb2d", "state"=>"020c2bfb3c1897ea74f0a39847286ebcf7a6ddb22ee0ea8d"}
5957
+ Authenticating with gds_sso strategy
5958
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5959
+  (0.1ms) begin transaction
5960
+ SQL (48.3ms) INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
5961
+  (26.2ms) commit transaction
5962
+  (0.1ms) begin transaction
5963
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
5964
+ GDS_SSO integration test:
5965
+ - signin
5966
+ ' WHERE "users"."id" = 1
5967
+  (3.1ms) commit transaction
5968
+ Redirected to http://www.example-client.com/restricted
5969
+ Completed 302 Found in 109ms (ActiveRecord: 78.7ms)
5970
+
5971
+
5972
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 15:01:48 +0000
5973
+ Processing by ExampleController#restricted as HTML
5974
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5975
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
5976
+
5977
+
5978
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 15:01:48 +0000
5979
+ Processing by ExampleController#restricted as HTML
5980
+ Authenticating with gds_sso strategy
5981
+ Completed in 1ms
5982
+
5983
+
5984
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-07-25 15:01:48 +0000
5985
+
5986
+
5987
+ Started GET "/auth/gds/callback?code=c68498679d394f8863ef481f1d52a6348f772be2c1e163ef057610a3cb7e86ea&state=2d0ff415a6871126573b44f5c736eac0e431abb00f5b44ad" for 127.0.0.1 at 2012-07-25 15:01:48 +0000
5988
+ Processing by AuthenticationsController#callback as HTML
5989
+ Parameters: {"code"=>"c68498679d394f8863ef481f1d52a6348f772be2c1e163ef057610a3cb7e86ea", "state"=>"2d0ff415a6871126573b44f5c736eac0e431abb00f5b44ad"}
5990
+ Authenticating with gds_sso strategy
5991
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
5992
+  (0.1ms) begin transaction
5993
+  (0.3ms) UPDATE "users" SET "permissions" = '---
5994
+ GDS_SSO integration test:
5995
+ - signin
5996
+ ' WHERE "users"."id" = 1
5997
+  (19.9ms) commit transaction
5998
+  (0.1ms) begin transaction
5999
+  (0.3ms) UPDATE "users" SET "permissions" = '---
6000
+ GDS_SSO integration test:
6001
+ - signin
6002
+ ' WHERE "users"."id" = 1
6003
+  (1.5ms) commit transaction
6004
+ Redirected to http://www.example-client.com/restricted
6005
+ Completed 302 Found in 29ms (ActiveRecord: 22.4ms)
6006
+
6007
+
6008
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 15:01:48 +0000
6009
+ Processing by ExampleController#restricted as HTML
6010
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
6011
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
6012
+
6013
+
6014
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 15:01:48 +0000
6015
+ Processing by ExampleController#restricted as HTML
6016
+ Authenticating with gds_sso strategy
6017
+ Completed in 0ms
6018
+
6019
+
6020
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-07-25 15:01:48 +0000
6021
+
6022
+
6023
+ Started GET "/auth/gds/callback?code=9d4a86d42e04801ca337773f706436181fba093e934da75a471876fc452e33bd&state=27259dd098862407ee6a71530faef6dd8e6dc291d9e8da97" for 127.0.0.1 at 2012-07-25 15:01:48 +0000
6024
+ Processing by AuthenticationsController#callback as HTML
6025
+ Parameters: {"code"=>"9d4a86d42e04801ca337773f706436181fba093e934da75a471876fc452e33bd", "state"=>"27259dd098862407ee6a71530faef6dd8e6dc291d9e8da97"}
6026
+ Authenticating with gds_sso strategy
6027
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
6028
+  (0.0ms) begin transaction
6029
+  (0.2ms) UPDATE "users" SET "permissions" = '---
6030
+ GDS_SSO integration test:
6031
+ - signin
6032
+ ' WHERE "users"."id" = 1
6033
+  (10.6ms) commit transaction
6034
+  (0.1ms) begin transaction
6035
+  (0.2ms) UPDATE "users" SET "permissions" = '---
6036
+ GDS_SSO integration test:
6037
+ - signin
6038
+ ' WHERE "users"."id" = 1
6039
+  (1.4ms) commit transaction
6040
+ Redirected to http://www.example-client.com/restricted
6041
+ Completed 302 Found in 17ms (ActiveRecord: 12.8ms)
6042
+
6043
+
6044
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 15:01:49 +0000
6045
+ Processing by ExampleController#restricted as HTML
6046
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
6047
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
6048
+
6049
+
6050
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-07-25 15:01:49 +0000
6051
+ Processing by ExampleController#this_requires_signin_permission as HTML
6052
+ Authenticating with gds_sso strategy
6053
+ Completed in 1ms
6054
+
6055
+
6056
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-07-25 15:01:49 +0000
6057
+
6058
+
6059
+ Started GET "/auth/gds/callback?code=9617c48224c11899d6e5a1a6423cebecb64545c71bb8f3b532ce1e69ee6cf520&state=69ec73133bb0ef487acaf98d98fc76440d9a3ff36b74f62a" for 127.0.0.1 at 2012-07-25 15:01:49 +0000
6060
+ Processing by AuthenticationsController#callback as HTML
6061
+ Parameters: {"code"=>"9617c48224c11899d6e5a1a6423cebecb64545c71bb8f3b532ce1e69ee6cf520", "state"=>"69ec73133bb0ef487acaf98d98fc76440d9a3ff36b74f62a"}
6062
+ Authenticating with gds_sso strategy
6063
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
6064
+  (0.1ms) begin transaction
6065
+  (0.2ms) UPDATE "users" SET "permissions" = '---
6066
+ GDS_SSO integration test:
6067
+ - signin
6068
+ ' WHERE "users"."id" = 1
6069
+  (7.0ms) commit transaction
6070
+  (0.0ms) begin transaction
6071
+  (0.2ms) UPDATE "users" SET "permissions" = '---
6072
+ GDS_SSO integration test:
6073
+ - signin
6074
+ ' WHERE "users"."id" = 1
6075
+  (4.1ms) commit transaction
6076
+ Redirected to http://www.example-client.com/this_requires_signin_permission
6077
+ Completed 302 Found in 18ms (ActiveRecord: 12.0ms)
6078
+
6079
+
6080
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-07-25 15:01:49 +0000
6081
+ Processing by ExampleController#this_requires_signin_permission as HTML
6082
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
6083
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
6084
+
6085
+
6086
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-07-25 15:01:49 +0000
6087
+ Processing by ExampleController#this_requires_signin_permission as HTML
6088
+ Authenticating with gds_sso strategy
6089
+ Completed in 0ms
6090
+
6091
+
6092
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-07-25 15:01:49 +0000
6093
+
6094
+
6095
+ Started GET "/auth/gds/callback?code=147139bc222243b09406437dcfbe219d03e90c29444e396050fb782e84c0ad05&state=8829fe4ab1ad79350c9ee7e9d0d4d73dbd53f87cf180c385" for 127.0.0.1 at 2012-07-25 15:01:49 +0000
6096
+ Processing by AuthenticationsController#callback as HTML
6097
+ Parameters: {"code"=>"147139bc222243b09406437dcfbe219d03e90c29444e396050fb782e84c0ad05", "state"=>"8829fe4ab1ad79350c9ee7e9d0d4d73dbd53f87cf180c385"}
6098
+ Authenticating with gds_sso strategy
6099
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
6100
+  (0.1ms) begin transaction
6101
+  (0.2ms) UPDATE "users" SET "permissions" = '---
6102
+ GDS_SSO integration test:
6103
+ - signin
6104
+ ' WHERE "users"."id" = 1
6105
+  (11.6ms) commit transaction
6106
+  (0.1ms) begin transaction
6107
+  (0.2ms) UPDATE "users" SET "permissions" = '---
6108
+ GDS_SSO integration test:
6109
+ - signin
6110
+ ' WHERE "users"."id" = 1
6111
+  (1.6ms) commit transaction
6112
+ Redirected to http://www.example-client.com/this_requires_signin_permission
6113
+ Completed 302 Found in 19ms (ActiveRecord: 13.9ms)
6114
+
6115
+
6116
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-07-25 15:01:49 +0000
6117
+ Processing by ExampleController#this_requires_signin_permission as HTML
6118
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
6119
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
6120
+
6121
+
6122
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 15:01:49 +0000
6123
+ Processing by ExampleController#restricted as HTML
6124
+ Authenticating with gds_sso strategy
6125
+ Completed in 0ms
6126
+
6127
+
6128
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-07-25 15:01:49 +0000
6129
+
6130
+
6131
+ Started GET "/auth/gds/callback?code=cc896fedfc7a941965aa3a4730ab328ecaeea30e6437753ea9830877b26fe415&state=e88cb6f488686f4b7c6cc43f28baa3695d0f5112dd84421a" for 127.0.0.1 at 2012-07-25 15:01:50 +0000
6132
+ Processing by AuthenticationsController#callback as HTML
6133
+ Parameters: {"code"=>"cc896fedfc7a941965aa3a4730ab328ecaeea30e6437753ea9830877b26fe415", "state"=>"e88cb6f488686f4b7c6cc43f28baa3695d0f5112dd84421a"}
6134
+ Authenticating with gds_sso strategy
6135
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
6136
+  (0.1ms) begin transaction
6137
+  (0.3ms) UPDATE "users" SET "permissions" = '---
6138
+ GDS_SSO integration test:
6139
+ - signin
6140
+ ' WHERE "users"."id" = 1
6141
+  (37.8ms) commit transaction
6142
+  (0.1ms) begin transaction
6143
+  (0.3ms) UPDATE "users" SET "permissions" = '---
6144
+ GDS_SSO integration test:
6145
+ - signin
6146
+ ' WHERE "users"."id" = 1
6147
+  (3.6ms) commit transaction
6148
+ Redirected to http://www.example-client.com/restricted
6149
+ Completed 302 Found in 49ms (ActiveRecord: 42.4ms)
6150
+
6151
+
6152
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 15:01:50 +0000
6153
+ Processing by ExampleController#restricted as HTML
6154
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
6155
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
6156
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
6157
+  (0.1ms) begin transaction
6158
+  (1.1ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
6159
+ GDS_SSO integration test:
6160
+ - signin
6161
+ ' WHERE "users"."id" = 1
6162
+  (2.6ms) commit transaction
6163
+
6164
+
6165
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 15:01:50 +0000
6166
+ Processing by ExampleController#restricted as HTML
6167
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
6168
+ Filter chain halted as :authenticate_user! rendered or redirected
6169
+ Completed 403 Forbidden in 16ms (Views: 14.8ms | ActiveRecord: 0.2ms)
6170
+
6171
+
6172
+ Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2012-07-25 15:01:50 +0000
6173
+ Processing by AuthenticationsController#sign_out as HTML
6174
+ Redirected to http://localhost:4567/users/sign_out
6175
+ Completed 302 Found in 63ms (ActiveRecord: 0.0ms)
6176
+
6177
+
6178
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 15:01:50 +0000
6179
+ Processing by ExampleController#restricted as HTML
6180
+ Authenticating with gds_sso strategy
6181
+ Completed in 0ms
6182
+
6183
+
6184
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-07-25 15:01:50 +0000
6185
+
6186
+
6187
+ Started GET "/auth/gds/callback?code=102a2cbbb16ff4b2c06f6c1f0849cfe2e0042d7af75dd713137cf9e321c98300&state=2730f3347a63616a407034c1a593af073c32a3b7725e0409" for 127.0.0.1 at 2012-07-25 15:01:51 +0000
6188
+ Processing by AuthenticationsController#callback as HTML
6189
+ Parameters: {"code"=>"102a2cbbb16ff4b2c06f6c1f0849cfe2e0042d7af75dd713137cf9e321c98300", "state"=>"2730f3347a63616a407034c1a593af073c32a3b7725e0409"}
6190
+ Authenticating with gds_sso strategy
6191
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
6192
+  (0.0ms) begin transaction
6193
+  (0.3ms) UPDATE "users" SET "permissions" = '---
6194
+ GDS_SSO integration test:
6195
+ - signin
6196
+ ' WHERE "users"."id" = 1
6197
+  (43.6ms) commit transaction
6198
+  (0.1ms) begin transaction
6199
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
6200
+ GDS_SSO integration test:
6201
+ - signin
6202
+ ' WHERE "users"."id" = 1
6203
+  (3.5ms) commit transaction
6204
+ Redirected to http://www.example-client.com/restricted
6205
+ Completed 302 Found in 53ms (ActiveRecord: 48.0ms)
6206
+
6207
+
6208
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 15:01:51 +0000
6209
+ Processing by ExampleController#restricted as HTML
6210
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
6211
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
6212
+
6213
+
6214
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 15:01:51 +0000
6215
+ Processing by ExampleController#restricted as JSON
6216
+ Authenticating with gds_sso_api_access strategy
6217
+ Completed in 15ms
6218
+
6219
+
6220
+ Started GET "/restricted" for 127.0.0.1 at 2012-07-25 15:01:51 +0000
6221
+ Processing by ExampleController#restricted as JSON
6222
+ Authenticating with gds_sso_api_access strategy
6223
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
6224
+
6225
+
6226
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-07-25 15:01:51 +0000
6227
+ Processing by ExampleController#this_requires_signin_permission as JSON
6228
+ Authenticating with gds_sso_api_access strategy
6229
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
6230
+  (0.2ms) begin transaction
6231
+ SQL (0.4ms) INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38574"]]
6232
+  (20.2ms) commit transaction
6233
+ WARNING: Can't mass-assign protected attributes: uid, name, permissions
6234
+ Processing by Api::UserController#update as HTML
6235
+ Parameters: {"uid"=>"a1s2d38574"}
6236
+ Completed 403 Forbidden in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)
6237
+  (0.1ms) begin transaction
6238
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32453"]]
6239
+  (13.1ms) commit transaction
6240
+ Processing by Api::UserController#update as HTML
6241
+ Parameters: {"uid"=>"a1s2d32453"}
6242
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32453' LIMIT 1
6243
+  (0.0ms) begin transaction
6244
+  (0.2ms) UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
6245
+ GDS_SSO integration test:
6246
+ - signin
6247
+ - new permission
6248
+ ' WHERE "users"."id" = 3
6249
+  (7.1ms) commit transaction
6250
+ Completed 200 OK in 11ms (ActiveRecord: 7.6ms)
6251
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
6252
+  (0.1ms) begin transaction
6253
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3809"]]
6254
+  (4.6ms) commit transaction
6255
+ WARNING: Can't mass-assign protected attributes: uid, name, permissions
6256
+ Processing by Api::UserController#reauth as HTML
6257
+ Parameters: {"uid"=>"a1s2d3809"}
6258
+ Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
6259
+  (0.1ms) begin transaction
6260
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3371"]]
6261
+  (3.0ms) commit transaction
6262
+ Processing by Api::UserController#reauth as HTML
6263
+ Parameters: {"uid"=>"a1s2d3371"}
6264
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3371' LIMIT 1
6265
+  (0.0ms) begin transaction
6266
+  (0.2ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
6267
+ GDS_SSO integration test:
6268
+ - signin
6269
+ ' WHERE "users"."id" = 5
6270
+  (20.5ms) commit transaction
6271
+ Completed 200 OK in 24ms (ActiveRecord: 21.0ms)
6272
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gds-sso
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.0
5
+ version: 1.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Matt Patterson
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2012-07-24 00:00:00 Z
14
+ date: 2012-07-25 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -219,7 +219,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
- hash: 345014879888302540
222
+ hash: 914790435544343871
223
223
  segments:
224
224
  - 0
225
225
  version: "0"
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  requirements:
229
229
  - - ">="
230
230
  - !ruby/object:Gem::Version
231
- hash: 345014879888302540
231
+ hash: 914790435544343871
232
232
  segments:
233
233
  - 0
234
234
  version: "0"