omniauth-doximity-oauth2 1.2.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +0 -49
- data/.github/CODEOWNERS +1 -1
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +2 -2
- data/lib/omniauth/strategies/doximity_oauth2.rb +6 -2
- data/lib/omniauth-doximity-oauth2/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf813db7037fb33b1686e59c4614fbf59a9f5e99688343c570d6f4200d511412
|
4
|
+
data.tar.gz: ae6c58fb3bc46e82a4b10cd28036559af7bf66f1d24739ad5bd8acba88b2fbec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec8ee4bbdcb90f991967700051e8c5286d55172d34c9ceebf81161802f53fe9ed24b166cf3c6ef972cb1068c7a0b0c4a98612c305699599ea4c05ccfe4a7d3c3
|
7
|
+
data.tar.gz: 51596cea2530c67056b039f291dd413b70f5bc337a81665757ab591d0cef299c496cb61ea9db18484e80e945197a3c29fb08daec01b143c49fbc1665b61c8bc9
|
data/.circleci/config.yml
CHANGED
@@ -1,8 +1,5 @@
|
|
1
1
|
version: 2.1
|
2
2
|
|
3
|
-
orbs:
|
4
|
-
gem: doximity/gem-publisher@0
|
5
|
-
|
6
3
|
executors:
|
7
4
|
ruby-2-6:
|
8
5
|
resource_class: small
|
@@ -46,16 +43,9 @@ jobs:
|
|
46
43
|
bundle config set --local frozen 'true'
|
47
44
|
bundle config set --local jobs '4'
|
48
45
|
bundle config set --local retry '3'
|
49
|
-
- restore_cache:
|
50
|
-
keys:
|
51
|
-
- v1-bundle-{{ checksum "Gemfile.lock" }}-
|
52
46
|
- run:
|
53
47
|
name: Install Ruby Dependencies
|
54
48
|
command: bundle install --local
|
55
|
-
- save_cache:
|
56
|
-
key: v1-bundle-{{ checksum "Gemfile.lock" }}-
|
57
|
-
paths:
|
58
|
-
- vendor/bundle
|
59
49
|
- run:
|
60
50
|
name: Run Rubocop
|
61
51
|
command: bundle exec rake ci:rubocop
|
@@ -83,52 +73,13 @@ workflows:
|
|
83
73
|
jobs:
|
84
74
|
- build:
|
85
75
|
<<: *master_only
|
86
|
-
- gem/build:
|
87
|
-
<<: *master_only
|
88
|
-
executor: ruby-2-6
|
89
|
-
name: gem-build
|
90
|
-
requires:
|
91
|
-
- build
|
92
76
|
|
93
77
|
pull-requests:
|
94
78
|
jobs:
|
95
79
|
- build:
|
96
80
|
<<: *pr_only
|
97
|
-
- gem/build:
|
98
|
-
<<: *pr_only
|
99
|
-
executor: ruby-2-6
|
100
|
-
name: gem-build
|
101
|
-
requires:
|
102
|
-
- build
|
103
|
-
- pre-release-approval:
|
104
|
-
<<: *pr_only
|
105
|
-
type: approval
|
106
|
-
requires:
|
107
|
-
- gem-build
|
108
|
-
- gem/publish:
|
109
|
-
<<: *pr_only
|
110
|
-
name: gem-publish
|
111
|
-
to_rubygems: true
|
112
|
-
pre_release: true
|
113
|
-
requires:
|
114
|
-
- pre-release-approval
|
115
|
-
context: artifact_publishing
|
116
81
|
|
117
82
|
final-release:
|
118
83
|
jobs:
|
119
84
|
- build:
|
120
85
|
<<: *version_tags_only
|
121
|
-
- gem/build:
|
122
|
-
<<: *version_tags_only
|
123
|
-
executor: ruby-2-6
|
124
|
-
name: gem-build
|
125
|
-
requires:
|
126
|
-
- build
|
127
|
-
- gem/publish:
|
128
|
-
<<: *version_tags_only
|
129
|
-
name: gem-publish
|
130
|
-
to_rubygems: true
|
131
|
-
pre_release: false
|
132
|
-
requires:
|
133
|
-
- gem-build
|
134
|
-
context: artifact_publishing
|
data/.github/CODEOWNERS
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,12 @@
|
|
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
|
+
|
7
|
+
## 1.3.0 - 08/09/2023
|
8
|
+
* Handle 'theme' parameter to be passed along to the OAuth authorization
|
9
|
+
|
4
10
|
## 1.2.0 - 05/05/2023
|
5
11
|
* Update mechanism for verifying RSA public keys to work on OpenSSL 3
|
6
12
|
* Ensure state persists between initial call and on callback
|
data/Gemfile.lock
CHANGED
@@ -20,7 +20,7 @@ module OmniAuth
|
|
20
20
|
|
21
21
|
option :pkce, true
|
22
22
|
|
23
|
-
option :authorize_options, %i[scope prompt]
|
23
|
+
option :authorize_options, %i[scope prompt theme]
|
24
24
|
|
25
25
|
option :client_options, {
|
26
26
|
site: "https://auth.doximity.com",
|
@@ -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)
|
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.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Harvey
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -254,7 +254,7 @@ metadata:
|
|
254
254
|
homepage_uri: https://github.com/doximity/omniauth-doximity-oauth2.git
|
255
255
|
source_code_uri: https://github.com/doximity/omniauth-doximity-oauth2.git
|
256
256
|
changelog_uri: https://github.com/doximity/omniauth-doximity-oauth2/blob/master/CHANGELOG.md
|
257
|
-
post_install_message:
|
257
|
+
post_install_message:
|
258
258
|
rdoc_options: []
|
259
259
|
require_paths:
|
260
260
|
- lib
|
@@ -269,8 +269,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
269
269
|
- !ruby/object:Gem::Version
|
270
270
|
version: '0'
|
271
271
|
requirements: []
|
272
|
-
rubygems_version: 3.
|
273
|
-
signing_key:
|
272
|
+
rubygems_version: 3.4.18
|
273
|
+
signing_key:
|
274
274
|
specification_version: 4
|
275
275
|
summary: OmniAuth strategy for Doximity
|
276
276
|
test_files:
|