gds-sso 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,7 @@ module GDS
13
13
  def require_signin_permission!
14
14
  authorise_user!(GDS::SSO::Config.default_scope, 'signin')
15
15
  rescue PermissionDeniedException
16
+ headers["X-Slimmer-Skip"] = "1" # If slimmer used, without this you would see a generic 400 error page
16
17
  render "authorisations/cant_signin", layout: "unauthorised", status: :forbidden
17
18
  end
18
19
 
@@ -1,5 +1,5 @@
1
1
  module GDS
2
2
  module SSO
3
- VERSION = "0.7.3"
3
+ VERSION = "0.7.4"
4
4
  end
5
5
  end
@@ -2397,3 +2397,87 @@ Started GET "/restricted" for 127.0.0.1 at 2012-06-27 11:37:29 +0000
2397
2397
  Processing by ExampleController#restricted as JSON
2398
2398
  Authenticating with gds_sso_api_access strategy
2399
2399
  Completed 200 OK in 1ms (Views: 0.5ms)
2400
+
2401
+
2402
+ Started GET "/" for 127.0.0.1 at 2012-06-27 14:56:39 +0000
2403
+ Processing by ExampleController#index as HTML
2404
+ Rendered text template (0.0ms)
2405
+ Completed 200 OK in 70ms (Views: 70.1ms)
2406
+
2407
+
2408
+ Started GET "/restricted" for 127.0.0.1 at 2012-06-27 14:56:40 +0000
2409
+ Processing by ExampleController#restricted as HTML
2410
+ Authenticating with gds_sso strategy
2411
+ Completed in 147ms
2412
+
2413
+
2414
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-06-27 14:56:40 +0000
2415
+
2416
+
2417
+ Started GET "/auth/gds/callback?code=b0bdfb19d38c92bd41c033475fd1e4a9f829c227e7f62338761d0c05be8ae1bc" for 127.0.0.1 at 2012-06-27 14:56:42 +0000
2418
+ Processing by AuthenticationsController#callback as HTML
2419
+ Parameters: {"code"=>"b0bdfb19d38c92bd41c033475fd1e4a9f829c227e7f62338761d0c05be8ae1bc"}
2420
+ Authenticating with gds_sso strategy
2421
+ Redirected to http://www.example-client.com/restricted
2422
+ Completed 302 Found in 1ms
2423
+
2424
+
2425
+ Started GET "/restricted" for 127.0.0.1 at 2012-06-27 14:56:43 +0000
2426
+ Processing by ExampleController#restricted as HTML
2427
+ Completed 200 OK in 1ms (Views: 0.5ms)
2428
+
2429
+
2430
+ Started GET "/restricted" for 127.0.0.1 at 2012-06-27 14:56:43 +0000
2431
+ Processing by ExampleController#restricted as HTML
2432
+ Authenticating with gds_sso strategy
2433
+ Completed in 1ms
2434
+
2435
+
2436
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-06-27 14:56:43 +0000
2437
+
2438
+
2439
+ Started GET "/auth/gds/callback?code=65ce291856d8819de73ffe5332e9b3f2cd23e25922e6e3276491ac27f2e04e7c" for 127.0.0.1 at 2012-06-27 14:56:43 +0000
2440
+ Processing by AuthenticationsController#callback as HTML
2441
+ Parameters: {"code"=>"65ce291856d8819de73ffe5332e9b3f2cd23e25922e6e3276491ac27f2e04e7c"}
2442
+ Authenticating with gds_sso strategy
2443
+ Redirected to http://www.example-client.com/restricted
2444
+ Completed 302 Found in 1ms
2445
+
2446
+
2447
+ Started GET "/restricted" for 127.0.0.1 at 2012-06-27 14:56:43 +0000
2448
+ Processing by ExampleController#restricted as HTML
2449
+ Completed 200 OK in 1ms (Views: 0.6ms)
2450
+
2451
+
2452
+ Started GET "/restricted" for 127.0.0.1 at 2012-06-27 14:56:43 +0000
2453
+ Processing by ExampleController#restricted as HTML
2454
+ Authenticating with gds_sso strategy
2455
+ Completed in 0ms
2456
+
2457
+
2458
+ Started GET "/auth/gds" for 127.0.0.1 at 2012-06-27 14:56:43 +0000
2459
+
2460
+
2461
+ Started GET "/auth/gds/callback?code=9fc77c5d233341d1b067222d58a1526d52f771906122075486730a3f7383489b" for 127.0.0.1 at 2012-06-27 14:56:43 +0000
2462
+ Processing by AuthenticationsController#callback as HTML
2463
+ Parameters: {"code"=>"9fc77c5d233341d1b067222d58a1526d52f771906122075486730a3f7383489b"}
2464
+ Authenticating with gds_sso strategy
2465
+ Redirected to http://www.example-client.com/restricted
2466
+ Completed 302 Found in 1ms
2467
+
2468
+
2469
+ Started GET "/restricted" for 127.0.0.1 at 2012-06-27 14:56:43 +0000
2470
+ Processing by ExampleController#restricted as HTML
2471
+ Completed 200 OK in 1ms (Views: 0.3ms)
2472
+
2473
+
2474
+ Started GET "/restricted" for 127.0.0.1 at 2012-06-27 14:56:43 +0000
2475
+ Processing by ExampleController#restricted as JSON
2476
+ Authenticating with gds_sso_api_access strategy
2477
+ Completed in 143ms
2478
+
2479
+
2480
+ Started GET "/restricted" for 127.0.0.1 at 2012-06-27 14:56:44 +0000
2481
+ Processing by ExampleController#restricted as JSON
2482
+ Authenticating with gds_sso_api_access strategy
2483
+ Completed 200 OK in 1ms (Views: 0.5ms)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gds-sso
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.3
5
+ version: 0.7.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Matt Patterson
@@ -204,7 +204,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
204
204
  requirements:
205
205
  - - ">="
206
206
  - !ruby/object:Gem::Version
207
- hash: 1761120350076668284
207
+ hash: 3774185917167488634
208
208
  segments:
209
209
  - 0
210
210
  version: "0"
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  requirements:
214
214
  - - ">="
215
215
  - !ruby/object:Gem::Version
216
- hash: 1761120350076668284
216
+ hash: 3774185917167488634
217
217
  segments:
218
218
  - 0
219
219
  version: "0"