omniauth_oidc 0.2.4 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5aa5a757616dc09eb3aa25438db2a4cca9faeb39fc95138868f7a081ace62b60
4
- data.tar.gz: ee7b81ed9f08ff12a40213601889c1fb1ac729b8ae539bf6f6dcc6d46d83b37e
3
+ metadata.gz: 6f216e9adf3f5977be7fa947c1bb68b2bc0b8f839782d1c74242ed80e96e82bf
4
+ data.tar.gz: be732231d8223e0eaf8141cebb79bb76e0d3870b38d8cdd321750375a825f900
5
5
  SHA512:
6
- metadata.gz: 19493067196e2c2825fd7cdf1dd0ae9e00224a0a7ef36b4e972d358c893dc99f5ae3209293d5687f0d9f0fcc8758dd31bc838367d5adf9e91f6688c85feeb721
7
- data.tar.gz: f1a3b4f7afea89fc5fe3318f5fd494b8605cbbb3dee763a94b97b2e1174c2028f1a045127f3352b5d4ea1788099ceb9ad202801b4bb963082d3f15d6e22af9d3
6
+ metadata.gz: 358eff70be45aac9029a2b099168c0a70232d137e78acdceea95189c69d49be57b1b2e3873c60d15529526f5aeecf201acb029ed0cae32814e5344a23f575404
7
+ data.tar.gz: d79bd8f9edce7b976a900e976fb601e12f6f5a08bec4a3b7840c2755c70c9113795721f205ad06b2b03130473bfe0a336cce4d63697d8d49c858365f8aff1174
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## [Released]
2
2
 
3
+ ## [0.2.5] - 2024-10-16
4
+ - Fix for uninitialized constant Oidc in strategy.rb:163
5
+
3
6
  ## [0.2.4] - 2024-09-28
4
7
  - Fix bug with configurable scopes
5
8
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OmniauthOidc
4
- VERSION = "0.2.4"
4
+ VERSION = "0.2.5"
5
5
  end
@@ -30,7 +30,7 @@ module OmniAuth
30
30
  private
31
31
 
32
32
  def fetch_key
33
- @fetch_key ||= parse_jwk_key(::Oidc.http_client.get(config.jwks_uri).body)
33
+ @fetch_key ||= parse_jwk_key(::OpenIDConnect.http_client.get(config.jwks_uri).body)
34
34
  end
35
35
 
36
36
  def base64_decoded_jwt_secret
@@ -30,7 +30,7 @@ module OmniAuth
30
30
 
31
31
  def_delegator :request, :params
32
32
 
33
- option :name, "oidc" # to separate each oidc provider available in the app
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
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
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-09-28 00:00:00.000000000 Z
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)