omniauth-doximity-oauth2 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cd4168ebbb583aef33b4c183194026aacdd5e1f57215b568743cf89dc834a61
4
- data.tar.gz: b4984e99c6b174f1453b590ff3d3896edcd0eca5832daccee672dc8b816ee35e
3
+ metadata.gz: cf813db7037fb33b1686e59c4614fbf59a9f5e99688343c570d6f4200d511412
4
+ data.tar.gz: ae6c58fb3bc46e82a4b10cd28036559af7bf66f1d24739ad5bd8acba88b2fbec
5
5
  SHA512:
6
- metadata.gz: 9ce4f60fdc733fcc7bc30415a928e3d33ee70629f4dce10864c0ee6c3833dcbd90ad9aaf79292f323dab636cf1bfed8766ec6143cca3ccaf0c7d561b28ad962c
7
- data.tar.gz: d7af1fded7ea8756cd81f0d4bf7b1551af902a803c1ca562550f6a14d2baf37741de186c593851cb62ba81a5cadec09df78887d74d4086eca1dfde12b35db033
6
+ metadata.gz: ec8ee4bbdcb90f991967700051e8c5286d55172d34c9ceebf81161802f53fe9ed24b166cf3c6ef972cb1068c7a0b0c4a98612c305699599ea4c05ccfe4a7d3c3
7
+ data.tar.gz: 51596cea2530c67056b039f291dd413b70f5bc337a81665757ab591d0cef299c496cb61ea9db18484e80e945197a3c29fb08daec01b143c49fbc1665b61c8bc9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## 1.4.0 - 10/24/2023
5
+ * Support sending "callback_query_params" through the request phase, which will be treated as additional state params.
6
+
4
7
  ## 1.3.0 - 08/09/2023
5
8
  * Handle 'theme' parameter to be passed along to the OAuth authorization
6
9
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-doximity-oauth2 (1.3.0)
4
+ omniauth-doximity-oauth2 (1.4.0)
5
5
  activesupport
6
6
  faraday
7
7
  jwt
@@ -111,7 +111,11 @@ module OmniAuth
111
111
  end
112
112
 
113
113
  def callback_url
114
- options[:callback_url] || full_host + script_name + callback_path
114
+ options[:callback_url] || full_host + script_name + callback_path + callback_query_params
115
+ end
116
+
117
+ def callback_query_params
118
+ request.params["callback_query_params"] || ""
115
119
  end
116
120
 
117
121
  def prune(hash)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module DoximityOauth2
5
- VERSION = "1.3.0"
5
+ VERSION = "1.4.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-doximity-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Harvey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-12 00:00:00.000000000 Z
11
+ date: 2023-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -269,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
269
  - !ruby/object:Gem::Version
270
270
  version: '0'
271
271
  requirements: []
272
- rubygems_version: 3.3.26
272
+ rubygems_version: 3.4.18
273
273
  signing_key:
274
274
  specification_version: 4
275
275
  summary: OmniAuth strategy for Doximity