omniauth-auth0 3.0.0 → 3.1.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/.circleci/config.yml +22 -3
- data/.devcontainer/devcontainer.json +18 -0
- data/.github/workflows/semgrep.yml +24 -0
- data/.gitignore +0 -2
- data/.semgrepignore +4 -0
- data/.shiprc +7 -0
- data/CHANGELOG.md +59 -11
- data/EXAMPLES.md +167 -0
- data/Gemfile +15 -15
- data/Gemfile.lock +180 -0
- data/README.md +93 -194
- data/lib/omniauth/strategies/auth0.rb +2 -2
- data/lib/omniauth-auth0/version.rb +1 -1
- data/omniauth-auth0.gemspec +3 -3
- data/opslevel.yml +6 -0
- data/spec/omniauth/auth0/jwt_validator_spec.rb +4 -4
- data/spec/omniauth/strategies/auth0_spec.rb +14 -0
- data/spec/spec_helper.rb +6 -3
- metadata +14 -8
- data/CODE_OF_CONDUCT.md +0 -3
data/spec/spec_helper.rb
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
$LOAD_PATH.unshift File.expand_path(__dir__)
|
2
2
|
$LOAD_PATH.unshift File.expand_path('../lib', __dir__)
|
3
3
|
|
4
|
+
require 'multi_json'
|
4
5
|
require 'simplecov'
|
5
6
|
SimpleCov.start
|
6
7
|
|
7
8
|
if ENV['CI'] == 'true'
|
8
|
-
require '
|
9
|
-
SimpleCov.formatter = SimpleCov::Formatter::
|
9
|
+
require 'simplecov-cobertura'
|
10
|
+
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
|
10
11
|
end
|
11
12
|
|
12
13
|
require 'rspec'
|
@@ -22,6 +23,8 @@ RSpec.configure do |config|
|
|
22
23
|
config.include WebMock::API
|
23
24
|
config.include Rack::Test::Methods
|
24
25
|
config.extend OmniAuth::Test::StrategyMacros, type: :strategy
|
26
|
+
config.filter_run focus: true
|
27
|
+
config.run_all_when_everything_filtered = true
|
25
28
|
|
26
29
|
def app
|
27
30
|
@app || make_application
|
@@ -39,7 +42,7 @@ RSpec.configure do |config|
|
|
39
42
|
configure do
|
40
43
|
enable :sessions
|
41
44
|
set :show_exceptions, false
|
42
|
-
set :session_secret, '
|
45
|
+
set :session_secret, '9771aff2c634257053c62ba072c54754bd2cc92739b37e81c3eda505da48c2ec'
|
43
46
|
end
|
44
47
|
|
45
48
|
use OmniAuth::Builder do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-auth0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Auth0
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2
|
19
|
+
version: '2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2
|
26
|
+
version: '2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: omniauth-oauth2
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1
|
33
|
+
version: '1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1
|
40
|
+
version: '1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,6 +65,7 @@ extensions: []
|
|
65
65
|
extra_rdoc_files: []
|
66
66
|
files:
|
67
67
|
- ".circleci/config.yml"
|
68
|
+
- ".devcontainer/devcontainer.json"
|
68
69
|
- ".gemrelease"
|
69
70
|
- ".github/CODEOWNERS"
|
70
71
|
- ".github/ISSUE_TEMPLATE/config.yml"
|
@@ -72,14 +73,18 @@ files:
|
|
72
73
|
- ".github/ISSUE_TEMPLATE/report_a_bug.md"
|
73
74
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
74
75
|
- ".github/stale.yml"
|
76
|
+
- ".github/workflows/semgrep.yml"
|
75
77
|
- ".gitignore"
|
76
78
|
- ".rspec"
|
77
79
|
- ".rubocop.yml"
|
80
|
+
- ".semgrepignore"
|
81
|
+
- ".shiprc"
|
78
82
|
- ".snyk"
|
79
83
|
- CHANGELOG.md
|
80
|
-
- CODE_OF_CONDUCT.md
|
81
84
|
- CONTRIBUTING.md
|
85
|
+
- EXAMPLES.md
|
82
86
|
- Gemfile
|
87
|
+
- Gemfile.lock
|
83
88
|
- Guardfile
|
84
89
|
- LICENSE
|
85
90
|
- README.md
|
@@ -94,6 +99,7 @@ files:
|
|
94
99
|
- lib/omniauth/auth0/telemetry.rb
|
95
100
|
- lib/omniauth/strategies/auth0.rb
|
96
101
|
- omniauth-auth0.gemspec
|
102
|
+
- opslevel.yml
|
97
103
|
- spec/omniauth/auth0/jwt_validator_spec.rb
|
98
104
|
- spec/omniauth/auth0/telemetry_spec.rb
|
99
105
|
- spec/omniauth/strategies/auth0_spec.rb
|
@@ -118,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
124
|
- !ruby/object:Gem::Version
|
119
125
|
version: '0'
|
120
126
|
requirements: []
|
121
|
-
rubygems_version: 3.2.
|
127
|
+
rubygems_version: 3.2.22
|
122
128
|
signing_key:
|
123
129
|
specification_version: 4
|
124
130
|
summary: OmniAuth OAuth2 strategy for the Auth0 platform.
|
data/CODE_OF_CONDUCT.md
DELETED