gds-sso 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gds-sso/omniauth_strategy.rb +1 -1
- data/lib/gds-sso/version.rb +1 -1
- data/spec/fixtures/integration/sign-on-o-tron.sql +10 -0
- data/spec/fixtures/integration/sign-on-o-tron_database.yml +5 -0
- data/spec/fixtures/integration/signonotron2_database.yml +5 -8
- data/spec/internal/log/test.log +4989 -1229
- data/spec/requests/authentication_soot2.rb +161 -0
- data/spec/requests/end_to_end_spec.rb +10 -5
- data/spec/support/signonotron2_integration_helpers.rb +6 -3
- data/spec/tasks/signonotron_tasks.rake +12 -6
- data/test/omniauth_strategy_test.rb +2 -2
- metadata +27 -15
data/lib/gds-sso/version.rb
CHANGED
@@ -0,0 +1,10 @@
|
|
1
|
+
-- Clean data from database
|
2
|
+
DELETE FROM `oauth_access_tokens`;
|
3
|
+
DELETE FROM `oauth_authorization_codes`;
|
4
|
+
DELETE FROM `oauth_authorizations`;
|
5
|
+
DELETE FROM `oauth_clients`;
|
6
|
+
DELETE FROM `users`;
|
7
|
+
|
8
|
+
-- Setup fixture data
|
9
|
+
INSERT INTO `oauth_clients` VALUES (1,'GDS_SSO integration test','gds-sso-test','secret','http://www.example-client.com/auth/gds/callback');
|
10
|
+
INSERT INTO `users` (id,name,email,encrypted_password,uid) VALUES (1,'Test User','test@example-client.com','$2a$04$MdMkVFwTq5GLJJkHS8GLIe6dK1.C4ozzba5ZS5Ks2b/NenVsMGGRW','integration-uid');
|