nulogy_sso 0.5.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -2
- data/lib/nulogy_sso/version.rb +1 -1
- data/spec/dummy/log/test.log +123 -0
- data/spec/examples.txt +14 -14
- 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: 6cdaf701ea9f2d60f83b4997b098083962e749961bcf5333f7233b0d50c7020e
|
4
|
+
data.tar.gz: 85da856cc70b327a5510484e59f4a8c61b243dd7083ef52b76a6c46f2e27ecb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4e3869377c7f1e3f628de5afb6d15ab365daa7b1bc0da8152efe165a809af0ec360abde1c44dbc9c68bef4c5002f27557809fb0e22634d677e19f6e5ab6a452
|
7
|
+
data.tar.gz: 4b0b29196feb44b86d1b6a67e86c06660d4f9ae27563397a0633bb6e4bf5f47ce93050e2c75a98981fade342266c71b894cab789dd5febff678c2a53338d6a6b
|
data/README.md
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
|
3
3
|
[![Gem](https://img.shields.io/gem/v/nulogy_sso?label=nulogy_sso)](https://rubygems.org/gems/nulogy_sso "View this project in Rubygems")
|
4
4
|
|
5
|
-
**This repo is still under heavy initial development and is not ready to be used by any other product besides CPI. This status will be changed very shortly.**
|
6
|
-
|
7
5
|
## Installation
|
8
6
|
|
9
7
|
This gem is a Rails Engine. It follows best practices [documented here](https://guides.rubyonrails.org/engines.html).
|
data/lib/nulogy_sso/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -4930,3 +4930,126 @@ Processing by NulogySSO::AuthenticationController#login as HTML
|
|
4930
4930
|
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%3A%2F%2F192.168.0.12%3A50791%2Fhello_world&response_type=code&scope=openid+email
|
4931
4931
|
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 286)
|
4932
4932
|
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
4933
|
+
[1m[35m (3.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
4934
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
4935
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
4936
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
4937
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
4938
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4939
|
+
[1m[36mUser Create (1.8ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2019-09-24 19:18:01.245419"], ["updated_at", "2019-09-24 19:18:01.245419"]]
|
4940
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4941
|
+
Started GET "/hello_world" for 192.168.0.12 at 2019-09-24 15:18:03 -0400
|
4942
|
+
Processing by ApplicationController#hello_world as HTML
|
4943
|
+
Redirected to http://192.168.0.12:53797/nulogy_sso/login
|
4944
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
4945
|
+
Completed 302 Found in 33ms (ActiveRecord: 0.0ms | Allocations: 688)
|
4946
|
+
Started GET "/nulogy_sso/login" for 192.168.0.12 at 2019-09-24 15:18:03 -0400
|
4947
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
4948
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%3A%2F%2F192.168.0.12%3A53797%2Fhello_world&response_type=code&scope=openid+email
|
4949
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 322)
|
4950
|
+
Started GET "/nulogy_sso/code?code=FAKE_CODE&origin=http%3A%2F%2F192.168.0.12%3A53797%2Fhello_world" for 192.168.0.12 at 2019-09-24 15:18:04 -0400
|
4951
|
+
Processing by NulogySSO::AuthenticationController#code as HTML
|
4952
|
+
Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://192.168.0.12:53797/hello_world"}
|
4953
|
+
Rendering text template
|
4954
|
+
Rendered text template (Duration: 0.1ms | Allocations: 3)
|
4955
|
+
Completed 200 OK in 86ms (Views: 23.1ms | ActiveRecord: 0.0ms | Allocations: 4454)
|
4956
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
4957
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
4958
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4959
|
+
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2019-09-24 19:18:05.721717"], ["updated_at", "2019-09-24 19:18:05.721717"]]
|
4960
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4961
|
+
Started GET "/hello_world" for 192.168.0.12 at 2019-09-24 15:18:05 -0400
|
4962
|
+
Processing by ApplicationController#hello_world as HTML
|
4963
|
+
Redirected to http://192.168.0.12:53797/nulogy_sso/login
|
4964
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
4965
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 249)
|
4966
|
+
Started GET "/nulogy_sso/login" for 192.168.0.12 at 2019-09-24 15:18:05 -0400
|
4967
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
4968
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%3A%2F%2F192.168.0.12%3A53797%2Fhello_world&response_type=code&scope=openid+email
|
4969
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 282)
|
4970
|
+
Started GET "/nulogy_sso/code?code=FAKE_CODE&origin=http%3A%2F%2F192.168.0.12%3A53797%2Fhello_world" for 192.168.0.12 at 2019-09-24 15:18:05 -0400
|
4971
|
+
Processing by NulogySSO::AuthenticationController#code as HTML
|
4972
|
+
Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://192.168.0.12:53797/hello_world"}
|
4973
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
4974
|
+
Redirected to http://192.168.0.12:53797/hello_world
|
4975
|
+
Completed 302 Found in 81ms (ActiveRecord: 0.2ms | Allocations: 4402)
|
4976
|
+
Started GET "/hello_world" for 192.168.0.12 at 2019-09-24 15:18:05 -0400
|
4977
|
+
Processing by ApplicationController#hello_world as HTML
|
4978
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
4979
|
+
Rendering text template
|
4980
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
4981
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms | Allocations: 851)
|
4982
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
4983
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
4984
|
+
Started GET "/hello_world" for 192.168.0.12 at 2019-09-24 15:18:06 -0400
|
4985
|
+
Processing by ApplicationController#hello_world as HTML
|
4986
|
+
Redirected to http://192.168.0.12:53797/nulogy_sso/login
|
4987
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
4988
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 249)
|
4989
|
+
Started GET "/nulogy_sso/login" for 192.168.0.12 at 2019-09-24 15:18:06 -0400
|
4990
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
4991
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%3A%2F%2F192.168.0.12%3A53797%2Fhello_world&response_type=code&scope=openid+email
|
4992
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 278)
|
4993
|
+
Started GET "/nulogy_sso/code?code=FAKE_CODE&origin=http%3A%2F%2F192.168.0.12%3A53797%2Fhello_world" for 192.168.0.12 at 2019-09-24 15:18:06 -0400
|
4994
|
+
Processing by NulogySSO::AuthenticationController#code as HTML
|
4995
|
+
Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://192.168.0.12:53797/hello_world"}
|
4996
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
4997
|
+
Rendering text template
|
4998
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
4999
|
+
Completed 200 OK in 37ms (Views: 1.0ms | ActiveRecord: 0.4ms | Allocations: 2518)
|
5000
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
5001
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
5002
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5003
|
+
[1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2019-09-24 19:18:07.274871"], ["updated_at", "2019-09-24 19:18:07.274871"]]
|
5004
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5005
|
+
Started GET "/hello_world" for 192.168.0.12 at 2019-09-24 15:18:07 -0400
|
5006
|
+
Processing by ApplicationController#hello_world as HTML
|
5007
|
+
Redirected to http://192.168.0.12:53797/nulogy_sso/login
|
5008
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
5009
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms | Allocations: 431)
|
5010
|
+
Started GET "/nulogy_sso/login" for 192.168.0.12 at 2019-09-24 15:18:07 -0400
|
5011
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
5012
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%3A%2F%2F192.168.0.12%3A53797%2Fhello_world&response_type=code&scope=openid+email
|
5013
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 454)
|
5014
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
5015
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
5016
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5017
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2019-09-24 19:18:08.493118"], ["updated_at", "2019-09-24 19:18:08.493118"]]
|
5018
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5019
|
+
Started GET "/hello_world" for 192.168.0.12 at 2019-09-24 15:18:08 -0400
|
5020
|
+
Processing by ApplicationController#hello_world as HTML
|
5021
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
5022
|
+
Rendering text template
|
5023
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
5024
|
+
Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.3ms | Allocations: 597)
|
5025
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
5026
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
5027
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5028
|
+
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2019-09-24 19:18:09.568886"], ["updated_at", "2019-09-24 19:18:09.568886"]]
|
5029
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5030
|
+
Started GET "/hello_world" for 192.168.0.12 at 2019-09-24 15:18:09 -0400
|
5031
|
+
Processing by ApplicationController#hello_world as HTML
|
5032
|
+
Redirected to http://192.168.0.12:53797/nulogy_sso/login
|
5033
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
5034
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 249)
|
5035
|
+
Started GET "/nulogy_sso/login" for 192.168.0.12 at 2019-09-24 15:18:09 -0400
|
5036
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
5037
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%3A%2F%2F192.168.0.12%3A53797%2Fhello_world&response_type=code&scope=openid+email
|
5038
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 282)
|
5039
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
5040
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
5041
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
5042
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
5043
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
5044
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
5045
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
5046
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
5047
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
5048
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
5049
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
5050
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
5051
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
5052
|
+
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
|
5053
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
5054
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
5055
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
data/spec/examples.txt
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
example_id | status | run_time |
|
2
2
|
--------------------------------------------------------------------- | ------ | --------------- |
|
3
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:1:1] | passed | 0.
|
4
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:1:2] | passed |
|
5
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:1:3] | passed |
|
6
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:2:1] | passed | 1.
|
7
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:2:2] | passed | 1.
|
8
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:2:3] | passed | 1.
|
9
|
-
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:1] | passed | 0.
|
10
|
-
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:2:1] | passed | 0.
|
11
|
-
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:2:2] | passed | 0.
|
12
|
-
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:3:1] | passed | 0.
|
13
|
-
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:1] | passed | 0.
|
14
|
-
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:2] | passed | 0.
|
15
|
-
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:3] | passed | 0.
|
16
|
-
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:4] | passed | 0.
|
3
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:1:1] | passed | 0.90051 seconds |
|
4
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:1:2] | passed | 0.82604 seconds |
|
5
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:1:3] | passed | 5.47 seconds |
|
6
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:2:1] | passed | 1.08 seconds |
|
7
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:2:2] | passed | 1.22 seconds |
|
8
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:2:3] | passed | 1.1 seconds |
|
9
|
+
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:1] | passed | 0.0752 seconds |
|
10
|
+
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:2:1] | passed | 0.12336 seconds |
|
11
|
+
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:2:2] | passed | 0.0204 seconds |
|
12
|
+
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:3:1] | passed | 0.02264 seconds |
|
13
|
+
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:1] | passed | 0.01989 seconds |
|
14
|
+
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:2] | passed | 0.02321 seconds |
|
15
|
+
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:3] | passed | 0.00259 seconds |
|
16
|
+
./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:4] | passed | 0.02832 seconds |
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nulogy_sso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nulogy Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: auth0
|