omniauth_oidc 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/omniauth/oidc/version.rb +1 -1
- data/lib/omniauth/strategies/oidc.rb +2 -2
- 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: 5aa5a757616dc09eb3aa25438db2a4cca9faeb39fc95138868f7a081ace62b60
|
4
|
+
data.tar.gz: ee7b81ed9f08ff12a40213601889c1fb1ac729b8ae539bf6f6dcc6d46d83b37e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19493067196e2c2825fd7cdf1dd0ae9e00224a0a7ef36b4e972d358c893dc99f5ae3209293d5687f0d9f0fcc8758dd31bc838367d5adf9e91f6688c85feeb721
|
7
|
+
data.tar.gz: f1a3b4f7afea89fc5fe3318f5fd494b8605cbbb3dee763a94b97b2e1174c2028f1a045127f3352b5d4ea1788099ceb9ad202801b4bb963082d3f15d6e22af9d3
|
data/CHANGELOG.md
CHANGED
@@ -48,7 +48,7 @@ module OmniAuth
|
|
48
48
|
option :jwt_secret_base64
|
49
49
|
option :client_jwk_signing_key
|
50
50
|
option :client_x509_signing_key
|
51
|
-
option :scope,
|
51
|
+
option :scope, nil
|
52
52
|
option :response_type, "code" # ['code', 'id_token']
|
53
53
|
option :require_state, true
|
54
54
|
option :state
|
@@ -158,7 +158,7 @@ module OmniAuth
|
|
158
158
|
|
159
159
|
# By default Returns all scopes supported by the OIDC provider
|
160
160
|
def scope
|
161
|
-
config.scopes_supported ||
|
161
|
+
options.scope || config.scopes_supported || [:open_id]
|
162
162
|
end
|
163
163
|
|
164
164
|
def authorization_code
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth_oidc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Suleyman Musayev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|