omniauth-auth0 3.1.1 → 3.2.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/.github/CODEOWNERS +1 -1
- data/.github/actions/get-prerelease/action.yml +30 -0
- data/.github/actions/get-release-notes/action.yml +42 -0
- data/.github/actions/get-version/action.yml +21 -0
- data/.github/actions/release-create/action.yml +47 -0
- data/.github/actions/rl-scanner/action.yml +71 -0
- data/.github/actions/rubygems-publish/action.yml +30 -0
- data/.github/actions/setup/action.yml +28 -0
- data/.github/actions/tag-exists/action.yml +36 -0
- data/.github/dependabot.yml +13 -0
- data/.github/workflows/codeql.yml +53 -0
- data/.github/workflows/matrix.json +7 -0
- data/.github/workflows/publish.yml +33 -0
- data/.github/workflows/rl-scanner.yml +65 -0
- data/.github/workflows/ruby-release.yml +72 -0
- data/.github/workflows/snyk.yml +40 -0
- data/.github/workflows/test.yml +69 -0
- data/.shiprc +2 -1
- data/.version +1 -0
- data/CHANGELOG.md +10 -5
- data/Gemfile +1 -2
- data/Gemfile.lock +117 -84
- data/README.md +42 -1
- data/lib/omniauth/auth0/jwt_token.rb +38 -0
- data/lib/omniauth/auth0/jwt_validator.rb +2 -2
- data/lib/omniauth/strategies/auth0.rb +48 -14
- data/lib/omniauth-auth0/version.rb +1 -1
- data/omniauth-auth0.gemspec +1 -0
- data/spec/omniauth/auth0/jwt_token_spec.rb +87 -0
- data/spec/omniauth/strategies/auth0_spec.rb +478 -230
- metadata +39 -9
- data/.circleci/config.yml +0 -63
- data/.gemrelease +0 -2
- data/.github/workflows/semgrep.yml +0 -24
metadata
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-auth0
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Auth0
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-05-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: jwt
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '2'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '2'
|
|
13
27
|
- !ruby/object:Gem::Dependency
|
|
14
28
|
name: omniauth
|
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -64,22 +78,36 @@ executables: []
|
|
|
64
78
|
extensions: []
|
|
65
79
|
extra_rdoc_files: []
|
|
66
80
|
files:
|
|
67
|
-
- ".circleci/config.yml"
|
|
68
81
|
- ".devcontainer/devcontainer.json"
|
|
69
|
-
- ".gemrelease"
|
|
70
82
|
- ".github/CODEOWNERS"
|
|
71
83
|
- ".github/ISSUE_TEMPLATE/Bug Report.yml"
|
|
72
84
|
- ".github/ISSUE_TEMPLATE/Feature Request.yml"
|
|
73
85
|
- ".github/ISSUE_TEMPLATE/config.yml"
|
|
74
86
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
|
87
|
+
- ".github/actions/get-prerelease/action.yml"
|
|
88
|
+
- ".github/actions/get-release-notes/action.yml"
|
|
89
|
+
- ".github/actions/get-version/action.yml"
|
|
90
|
+
- ".github/actions/release-create/action.yml"
|
|
91
|
+
- ".github/actions/rl-scanner/action.yml"
|
|
92
|
+
- ".github/actions/rubygems-publish/action.yml"
|
|
93
|
+
- ".github/actions/setup/action.yml"
|
|
94
|
+
- ".github/actions/tag-exists/action.yml"
|
|
95
|
+
- ".github/dependabot.yml"
|
|
75
96
|
- ".github/stale.yml"
|
|
76
|
-
- ".github/workflows/
|
|
97
|
+
- ".github/workflows/codeql.yml"
|
|
98
|
+
- ".github/workflows/matrix.json"
|
|
99
|
+
- ".github/workflows/publish.yml"
|
|
100
|
+
- ".github/workflows/rl-scanner.yml"
|
|
101
|
+
- ".github/workflows/ruby-release.yml"
|
|
102
|
+
- ".github/workflows/snyk.yml"
|
|
103
|
+
- ".github/workflows/test.yml"
|
|
77
104
|
- ".gitignore"
|
|
78
105
|
- ".rspec"
|
|
79
106
|
- ".rubocop.yml"
|
|
80
107
|
- ".semgrepignore"
|
|
81
108
|
- ".shiprc"
|
|
82
109
|
- ".snyk"
|
|
110
|
+
- ".version"
|
|
83
111
|
- CHANGELOG.md
|
|
84
112
|
- CONTRIBUTING.md
|
|
85
113
|
- EXAMPLES.md
|
|
@@ -95,11 +123,13 @@ files:
|
|
|
95
123
|
- lib/omniauth-auth0.rb
|
|
96
124
|
- lib/omniauth-auth0/version.rb
|
|
97
125
|
- lib/omniauth/auth0/errors.rb
|
|
126
|
+
- lib/omniauth/auth0/jwt_token.rb
|
|
98
127
|
- lib/omniauth/auth0/jwt_validator.rb
|
|
99
128
|
- lib/omniauth/auth0/telemetry.rb
|
|
100
129
|
- lib/omniauth/strategies/auth0.rb
|
|
101
130
|
- omniauth-auth0.gemspec
|
|
102
131
|
- opslevel.yml
|
|
132
|
+
- spec/omniauth/auth0/jwt_token_spec.rb
|
|
103
133
|
- spec/omniauth/auth0/jwt_validator_spec.rb
|
|
104
134
|
- spec/omniauth/auth0/telemetry_spec.rb
|
|
105
135
|
- spec/omniauth/strategies/auth0_spec.rb
|
|
@@ -109,7 +139,7 @@ homepage: https://github.com/auth0/omniauth-auth0
|
|
|
109
139
|
licenses:
|
|
110
140
|
- MIT
|
|
111
141
|
metadata: {}
|
|
112
|
-
post_install_message:
|
|
142
|
+
post_install_message:
|
|
113
143
|
rdoc_options: []
|
|
114
144
|
require_paths:
|
|
115
145
|
- lib
|
|
@@ -124,8 +154,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
124
154
|
- !ruby/object:Gem::Version
|
|
125
155
|
version: '0'
|
|
126
156
|
requirements: []
|
|
127
|
-
rubygems_version: 3.4.
|
|
128
|
-
signing_key:
|
|
157
|
+
rubygems_version: 3.4.19
|
|
158
|
+
signing_key:
|
|
129
159
|
specification_version: 4
|
|
130
160
|
summary: OmniAuth OAuth2 strategy for the Auth0 platform.
|
|
131
161
|
test_files: []
|
data/.circleci/config.yml
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
version: 2.1
|
|
2
|
-
orbs:
|
|
3
|
-
ship: auth0/ship@dev:d1e3a7f
|
|
4
|
-
codecov: codecov/codecov@3
|
|
5
|
-
|
|
6
|
-
matrix_rubyversions: &matrix_rubyversions
|
|
7
|
-
matrix:
|
|
8
|
-
parameters:
|
|
9
|
-
rubyversion: ["3.0", "3.1", "3.2"]
|
|
10
|
-
# Default version of ruby to use for lint and publishing
|
|
11
|
-
default_rubyversion: &default_rubyversion "3.2"
|
|
12
|
-
|
|
13
|
-
executors:
|
|
14
|
-
ruby:
|
|
15
|
-
parameters:
|
|
16
|
-
rubyversion:
|
|
17
|
-
type: string
|
|
18
|
-
default: *default_rubyversion
|
|
19
|
-
docker:
|
|
20
|
-
- image: cimg/ruby:<< parameters.rubyversion >>
|
|
21
|
-
|
|
22
|
-
jobs:
|
|
23
|
-
run-tests:
|
|
24
|
-
parameters:
|
|
25
|
-
rubyversion:
|
|
26
|
-
type: string
|
|
27
|
-
default: *default_rubyversion
|
|
28
|
-
executor:
|
|
29
|
-
name: ruby
|
|
30
|
-
rubyversion: "<< parameters.rubyversion >>"
|
|
31
|
-
steps:
|
|
32
|
-
- checkout
|
|
33
|
-
- restore_cache:
|
|
34
|
-
keys:
|
|
35
|
-
- gems-v2-{{ checksum "Gemfile" }}
|
|
36
|
-
- gems-v2-
|
|
37
|
-
- run: |
|
|
38
|
-
echo 'export BUNDLER_VERSION=$(cat Gemfile.lock | tail -1 | tr -d " ")' >> $BASH_ENV
|
|
39
|
-
source $BASH_ENV
|
|
40
|
-
gem install bundler
|
|
41
|
-
bundle check || bundle install
|
|
42
|
-
- save_cache:
|
|
43
|
-
key: gems-v2--{{ checksum "Gemfile" }}
|
|
44
|
-
paths:
|
|
45
|
-
- vendor/bundle
|
|
46
|
-
- run: bundle exec rake spec
|
|
47
|
-
- codecov/upload
|
|
48
|
-
|
|
49
|
-
workflows:
|
|
50
|
-
tests:
|
|
51
|
-
jobs:
|
|
52
|
-
- run-tests:
|
|
53
|
-
<<: *matrix_rubyversions
|
|
54
|
-
- ship/ruby-publish:
|
|
55
|
-
context:
|
|
56
|
-
- publish-rubygems
|
|
57
|
-
- publish-gh
|
|
58
|
-
filters:
|
|
59
|
-
branches:
|
|
60
|
-
only:
|
|
61
|
-
- master
|
|
62
|
-
requires:
|
|
63
|
-
- run-tests
|
data/.gemrelease
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
name: Semgrep
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request: {}
|
|
5
|
-
|
|
6
|
-
push:
|
|
7
|
-
branches: ["master", "main"]
|
|
8
|
-
|
|
9
|
-
schedule:
|
|
10
|
-
- cron: '30 0 1,15 * *'
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
semgrep:
|
|
14
|
-
name: Scan
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
container:
|
|
17
|
-
image: returntocorp/semgrep
|
|
18
|
-
if: (github.actor != 'dependabot[bot]')
|
|
19
|
-
steps:
|
|
20
|
-
- uses: actions/checkout@v3
|
|
21
|
-
|
|
22
|
-
- run: semgrep ci
|
|
23
|
-
env:
|
|
24
|
-
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
|