omniauth-lever 0.3.0 → 0.3.1
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/CHANGELOG.md +7 -0
- data/Gemfile.lock +3 -3
- data/lib/omniauth/lever/version.rb +1 -1
- data/lib/omniauth/strategies/lever.rb +3 -0
- 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: 33ab8aa2719ff086d47b59ace1d6de1bd05b1871ac4c143441213f5a18c08199
|
4
|
+
data.tar.gz: f85ba69417902735bdb0249cff3da174b75f75dbcc31ce73e906b7414c81e74a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c3aab28674a4a0064c095e6c16357c49717fc66960b887b8bde6fb29828acc528929f2e776b89ccc694e269d211dcdda8fe7976bfa0fef178d08d2055dbde46
|
7
|
+
data.tar.gz: 02a8a8ee5a18ac77a2066ad4275c027be70f448d82eee4383871eb1e3961db40a3fac8a4274a7a6a8dd7a1a9a3de8212f43ba09a41352592a8cc60aaf3556e24
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
### [0.3.1](https://www.github.com/ScreenLoop/omniauth-lever/compare/v0.3.0...v0.3.1) (2021-09-24)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* Add audience option ([6e06fe6](https://www.github.com/ScreenLoop/omniauth-lever/commit/6e06fe6b8fb156a4bc7775283d29ede714c4fd80))
|
9
|
+
|
3
10
|
## [0.3.0](https://www.github.com/ScreenLoop/omniauth-lever/compare/v0.2.1...v0.3.0) (2021-09-16)
|
4
11
|
|
5
12
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
omniauth-lever (0.3.
|
4
|
+
omniauth-lever (0.3.1)
|
5
5
|
omniauth (~> 2.0)
|
6
6
|
omniauth-oauth2 (~> 1.7.1)
|
7
7
|
|
@@ -10,7 +10,7 @@ GEM
|
|
10
10
|
specs:
|
11
11
|
ast (2.4.2)
|
12
12
|
diff-lcs (1.4.4)
|
13
|
-
faraday (1.
|
13
|
+
faraday (1.8.0)
|
14
14
|
faraday-em_http (~> 1.0)
|
15
15
|
faraday-em_synchrony (~> 1.0)
|
16
16
|
faraday-excon (~> 1.1)
|
@@ -99,4 +99,4 @@ DEPENDENCIES
|
|
99
99
|
rubocop-rspec (~> 2.4.0)
|
100
100
|
|
101
101
|
BUNDLED WITH
|
102
|
-
2.
|
102
|
+
2.2.20
|
@@ -13,6 +13,7 @@ module OmniAuth
|
|
13
13
|
SANDBOX_OAUTH_URL = 'https://sandbox-lever.auth0.com'
|
14
14
|
SANDBOX_CLIENT_OPTIONS = {
|
15
15
|
site: 'https://api.sandbox.lever.co/v1',
|
16
|
+
audience: 'https://api.sandbox.lever.co/v1/',
|
16
17
|
authorize_url: "#{SANDBOX_OAUTH_URL}/authorize",
|
17
18
|
token_url: "#{SANDBOX_OAUTH_URL}/oauth/token",
|
18
19
|
}
|
@@ -21,6 +22,7 @@ module OmniAuth
|
|
21
22
|
|
22
23
|
option :client_options, {
|
23
24
|
site: 'https://api.lever.co/v1',
|
25
|
+
audience: 'https://api.lever.co/v1/',
|
24
26
|
authorize_url: 'https://auth.lever.co/authorize',
|
25
27
|
token_url: 'https://auth.lever.co/oauth/token',
|
26
28
|
}
|
@@ -38,6 +40,7 @@ module OmniAuth
|
|
38
40
|
params[:prompt] ||= DEFAULT_PROMPT
|
39
41
|
params[:response_type] ||= DEFAULT_RESPONSE_TYPE
|
40
42
|
params[:scope] ||= DEFAULT_SCOPE
|
43
|
+
params[:audience] ||= options.client_options[:audience]
|
41
44
|
end
|
42
45
|
end
|
43
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-lever
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Santos
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|