omniauth_oidc 0.2.3 → 0.2.5
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 +6 -0
- data/lib/omniauth/oidc/version.rb +1 -1
- data/lib/omniauth/strategies/oidc/verify.rb +1 -1
- data/lib/omniauth/strategies/oidc.rb +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6f216e9adf3f5977be7fa947c1bb68b2bc0b8f839782d1c74242ed80e96e82bf
|
|
4
|
+
data.tar.gz: be732231d8223e0eaf8141cebb79bb76e0d3870b38d8cdd321750375a825f900
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 358eff70be45aac9029a2b099168c0a70232d137e78acdceea95189c69d49be57b1b2e3873c60d15529526f5aeecf201acb029ed0cae32814e5344a23f575404
|
|
7
|
+
data.tar.gz: d79bd8f9edce7b976a900e976fb601e12f6f5a08bec4a3b7840c2755c70c9113795721f205ad06b2b03130473bfe0a336cce4d63697d8d49c858365f8aff1174
|
data/CHANGELOG.md
CHANGED
|
@@ -30,7 +30,7 @@ module OmniAuth
|
|
|
30
30
|
|
|
31
31
|
def_delegator :request, :params
|
|
32
32
|
|
|
33
|
-
option :name,
|
|
33
|
+
option :name, :oidc # to separate each oidc provider available in the app
|
|
34
34
|
option(:client_options, identifier: nil, # client id, required
|
|
35
35
|
secret: nil, # client secret, required
|
|
36
36
|
host: nil, # oidc provider host, optional
|
|
@@ -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.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Suleyman Musayev
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-10-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|
|
@@ -97,7 +97,7 @@ metadata:
|
|
|
97
97
|
homepage_uri: https://github.com/msuliq/omniauth_oidc
|
|
98
98
|
source_code_uri: https://github.com/msuliq/omniauth_oidc
|
|
99
99
|
changelog_uri: https://github.com/msuliq/omniauth_oidc/blob/main/CHANGELOG.md
|
|
100
|
-
post_install_message:
|
|
100
|
+
post_install_message:
|
|
101
101
|
rdoc_options: []
|
|
102
102
|
require_paths:
|
|
103
103
|
- lib
|
|
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
113
113
|
version: '0'
|
|
114
114
|
requirements: []
|
|
115
115
|
rubygems_version: 3.1.6
|
|
116
|
-
signing_key:
|
|
116
|
+
signing_key:
|
|
117
117
|
specification_version: 4
|
|
118
118
|
summary: Omniauth strategy to authenticate and retrieve user data using OpenID Connect
|
|
119
119
|
(OIDC)
|