auth0 5.1.0 → 5.3.0
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 +41 -0
- data/README.md +1 -0
- data/auth0.gemspec +6 -6
- data/lib/auth0/api/v2/connections.rb +5 -2
- data/lib/auth0/api/v2/device_credentials.rb +3 -3
- data/lib/auth0/api/v2/logs.rb +2 -2
- data/lib/auth0/api/v2/organizations.rb +23 -4
- data/lib/auth0/api/v2/roles.rb +7 -3
- data/lib/auth0/exception.rb +1 -1
- data/lib/auth0/mixins/httpproxy.rb +4 -1
- data/lib/auth0/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connection/_filters/should_exclude_the_fields_indicated.yml +38 -26
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connection/_filters/should_include_the_fields_indicated.yml +38 -24
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connection/should_find_the_correct_connection.yml +38 -26
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/_filters/should_include_previously-created_connection_when_filtered.yml +41 -21
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/_filters/should_should_exclude_the_fields_indicated_from_filtered_results.yml +41 -21
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/_filters/should_should_include_the_fields_indicated_from_filtered_results.yml +41 -21
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/should_include_the_previously_created_connection.yml +41 -21
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/should_not_be_empty.yml +41 -21
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_delete_connection/should_delete_the_connection.yml +45 -24
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_delete_connection_user/should_delete_the_user_created.yml +75 -39
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_update_connection/should_update_the_connection.yml +39 -28
- data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/create_test_connection.yml +37 -25
- data/spec/lib/auth0/api/v2/connections_spec.rb +1 -1
- data/spec/lib/auth0/api/v2/device_credentials_spec.rb +2 -2
- data/spec/lib/auth0/api/v2/organizations_spec.rb +38 -8
- data/spec/lib/auth0/api/v2/roles_spec.rb +5 -1
- data/spec/lib/auth0/mixins/httpproxy_spec.rb +8 -8
- metadata +15 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1d21b8018643c7c1fbe1749efc7bd375c6fca4bc67b8a7f6c1036bf17594c886
|
|
4
|
+
data.tar.gz: 7b89fc89c380469c0db6c86ddd4f00e6c1502a68c5f13c4bfcbbc35d58c6a23f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 93fc45bd2a0c457d2f387291eb77cfabcad12c68bfa95d012b9ceeff3b62e25dfd31e8bd7ea67047c89a131f99ef375beb87dedaaabbaae391d6c210860b25cd
|
|
7
|
+
data.tar.gz: 694021376e92ab80198642919be1c2b94d27eb74a75862c4fdc15509251339faa6dd7eda013f7ab06df202ee4beeceab7465dfa0ae53b454e30c05e6338dbe09
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v5.3.0](https://github.com/auth0/ruby-auth0/tree/v5.3.0) (2021-07-23)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.2.0..v5.3.0)
|
|
6
|
+
|
|
7
|
+
**Added**
|
|
8
|
+
|
|
9
|
+
- Checkpoint Pagination [\#284](https://github.com/auth0/ruby-auth0/pull/284) ([davidpatrick](https://github.com/davidpatrick))
|
|
10
|
+
|
|
11
|
+
## [v5.2.0](https://github.com/auth0/ruby-auth0/tree/v5.2.0) (2021-07-20)
|
|
12
|
+
|
|
13
|
+
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.1.2..v5.2.0)
|
|
14
|
+
|
|
15
|
+
**Fixed**
|
|
16
|
+
|
|
17
|
+
- Ensure email param is properly encoded in delete_connection_user [\#280](https://github.com/auth0/ruby-auth0/pull/280) ([widcket](https://github.com/widcket))
|
|
18
|
+
|
|
19
|
+
**Added**
|
|
20
|
+
|
|
21
|
+
- Adds Rotating Refresh Token type to Device Credentials [\#275](https://github.com/auth0/ruby-auth0/pull/275) ([epintos](https://github.com/epintos))
|
|
22
|
+
|
|
23
|
+
**Changed**
|
|
24
|
+
|
|
25
|
+
- Do not lock dependencies to minor version [\#279](https://github.com/auth0/ruby-auth0/pull/279) ([athix](https://github.com/athix))
|
|
26
|
+
|
|
27
|
+
## [v5.1.2](https://github.com/auth0/ruby-auth0/tree/v5.1.2) (2021-07-15)
|
|
28
|
+
|
|
29
|
+
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.1.1..v5.1.2)
|
|
30
|
+
|
|
31
|
+
**Security**
|
|
32
|
+
|
|
33
|
+
- Bump addressable version per CVE-2021-32740 [\#276](https://github.com/auth0/ruby-auth0/pull/276) ([lostapathy](https://github.com/lostapathy))
|
|
34
|
+
|
|
35
|
+
## [v5.1.1](https://github.com/auth0/ruby-auth0/tree/v5.1.1) (2021-04-14)
|
|
36
|
+
|
|
37
|
+
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.1.0..v5.1.1)
|
|
38
|
+
|
|
39
|
+
**Fixed**
|
|
40
|
+
|
|
41
|
+
- Fixes create_organizations_enabled_connection [\#269](https://github.com/auth0/ruby-auth0/pull/269) ([davidpatrick](https://github.com/apps/davidpatrick))
|
|
42
|
+
|
|
43
|
+
|
|
3
44
|
## [v5.1.0](https://github.com/auth0/ruby-auth0/tree/v5.1.0) (2021-04-09)
|
|
4
45
|
|
|
5
46
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.0.1..v5.1.0)
|
data/README.md
CHANGED
|
@@ -234,6 +234,7 @@ begin
|
|
|
234
234
|
rescue Auth0::InvalidIdToken => e
|
|
235
235
|
# In this case the ID Token contents should not be trusted
|
|
236
236
|
end
|
|
237
|
+
```
|
|
237
238
|
|
|
238
239
|
For more information, please read [Work with Tokens and Organizations](https://auth0.com/docs/organizations/using-tokens) on Auth0 Docs.
|
|
239
240
|
|
data/auth0.gemspec
CHANGED
|
@@ -16,10 +16,10 @@ Gem::Specification.new do |s|
|
|
|
16
16
|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
|
17
17
|
s.require_paths = ['lib']
|
|
18
18
|
|
|
19
|
-
s.add_runtime_dependency 'rest-client', '~> 2.0.0
|
|
20
|
-
s.add_runtime_dependency 'jwt', '~> 2.2
|
|
21
|
-
s.add_runtime_dependency 'zache', '~> 0.12
|
|
22
|
-
s.add_runtime_dependency 'addressable', '~> 2.
|
|
19
|
+
s.add_runtime_dependency 'rest-client', '~> 2.0.2' #2.1.0 has breaking changes
|
|
20
|
+
s.add_runtime_dependency 'jwt', '~> 2.2'
|
|
21
|
+
s.add_runtime_dependency 'zache', '~> 0.12'
|
|
22
|
+
s.add_runtime_dependency 'addressable', '~> 2.8'
|
|
23
23
|
|
|
24
24
|
s.add_development_dependency 'bundler'
|
|
25
25
|
s.add_development_dependency 'rake', '~> 13.0'
|
|
@@ -27,10 +27,10 @@ Gem::Specification.new do |s|
|
|
|
27
27
|
s.add_development_dependency 'guard-rspec', '~> 4.5' unless ENV['CIRCLECI']
|
|
28
28
|
s.add_development_dependency 'dotenv-rails', '~> 2.0'
|
|
29
29
|
s.add_development_dependency 'pry', '~> 0.10'
|
|
30
|
-
s.add_development_dependency 'pry-nav', '~> 0.2
|
|
30
|
+
s.add_development_dependency 'pry-nav', '~> 0.2'
|
|
31
31
|
s.add_development_dependency 'rspec', '~> 3.5'
|
|
32
32
|
s.add_development_dependency 'rack-test', '~> 0.6'
|
|
33
|
-
s.add_development_dependency 'rack', '~> 2.1
|
|
33
|
+
s.add_development_dependency 'rack', '~> 2.1'
|
|
34
34
|
s.add_development_dependency 'simplecov', '~> 0.9'
|
|
35
35
|
s.add_development_dependency 'faker', '~> 2.0'
|
|
36
36
|
s.add_development_dependency 'gem-release', '~> 0.7'
|
|
@@ -81,8 +81,11 @@ module Auth0
|
|
|
81
81
|
def delete_connection_user(connection_id, user_email)
|
|
82
82
|
raise Auth0::InvalidParameter, 'Must supply a valid connection id' if connection_id.to_s.empty?
|
|
83
83
|
raise Auth0::InvalidParameter, 'Must supply a valid user email' if user_email.to_s.empty?
|
|
84
|
-
path = "#{connections_path}/#{connection_id}/users
|
|
85
|
-
|
|
84
|
+
path = "#{connections_path}/#{connection_id}/users"
|
|
85
|
+
request_params = {
|
|
86
|
+
email: user_email
|
|
87
|
+
}
|
|
88
|
+
delete(path, request_params)
|
|
86
89
|
end
|
|
87
90
|
|
|
88
91
|
# Updates a connection. Updates the fields specified in the body parameter.
|
|
@@ -12,7 +12,7 @@ module Auth0
|
|
|
12
12
|
# * :fields [string] A comma separated list of fields to include or exclude from the result.
|
|
13
13
|
# * :include_fields [boolean] True if the fields specified are to be included in the result, false otherwise.
|
|
14
14
|
# * :user_id [string] The user_id of the devices to retrieve.
|
|
15
|
-
# * :type [string]
|
|
15
|
+
# * :type [string] Type of credentials to retrieve. Must be 'public_key', 'refresh_token' or 'rotating_refresh_token'
|
|
16
16
|
#
|
|
17
17
|
# @return [json] Returns the list of existing devices for the specified client_id.
|
|
18
18
|
# rubocop:disable Metrics/AbcSize
|
|
@@ -25,8 +25,8 @@ module Auth0
|
|
|
25
25
|
type: options.fetch(:type, nil)
|
|
26
26
|
}
|
|
27
27
|
raise Auth0::InvalidParameter, 'Must supply a valid client_id' if client_id.to_s.empty?
|
|
28
|
-
if !request_params[:type].nil? && !%w(public_key refresh_token).include?(request_params[:type])
|
|
29
|
-
raise Auth0::InvalidParameter, 'Type must be one of \'public_key\', \'refresh_token\''
|
|
28
|
+
if !request_params[:type].nil? && !%w(public_key refresh_token rotating_refresh_token).include?(request_params[:type])
|
|
29
|
+
raise Auth0::InvalidParameter, 'Type must be one of \'public_key\', \'refresh_token\', \'rotating_refresh_token\''
|
|
30
30
|
end
|
|
31
31
|
get(device_credentials_path, request_params)
|
|
32
32
|
end
|
data/lib/auth0/api/v2/logs.rb
CHANGED
|
@@ -16,8 +16,8 @@ module Auth0
|
|
|
16
16
|
# * :fields [string] A comma separated list of fields to include or exclude from the result.
|
|
17
17
|
# * :include_fields [boolean] True if the fields specified are to be included in the result, false otherwise.
|
|
18
18
|
# * :include_totals [string] True if a query summary must be included in the result, false otherwise.
|
|
19
|
-
# * :from [string]
|
|
20
|
-
# * :take [integer]
|
|
19
|
+
# * :from [string] For checkpoint pagination, the ID from which to start selection from.
|
|
20
|
+
# * :take [integer] For checkpoint pagination, the number of entries to retrieve. Default is 50.
|
|
21
21
|
# Default: 50. Max value: 100.
|
|
22
22
|
#
|
|
23
23
|
# @return [json] Returns the list of existing log entries.
|
|
@@ -12,12 +12,16 @@ module Auth0
|
|
|
12
12
|
# @param options [hash] The Hash options used to define the paging of rersults
|
|
13
13
|
# * :per_page [integer] The amount of entries per page. Default: 50. Max value: 100.
|
|
14
14
|
# * :page [integer] The page number. Zero based.
|
|
15
|
+
# * :from [string] For checkpoint pagination, the ID from which to start selection from.
|
|
16
|
+
# * :take [integer] For checkpoint pagination, the number of entries to retrieve. Default is 50.
|
|
15
17
|
# * :include_totals [boolean] True to include query summary in the result, false or nil otherwise.
|
|
16
18
|
# @return [json] All Organizations
|
|
17
19
|
def organizations(options = {})
|
|
18
20
|
request_params = {
|
|
19
21
|
per_page: options.fetch(:per_page, nil),
|
|
20
22
|
page: options.fetch(:page, nil),
|
|
23
|
+
from: options.fetch(:from, nil),
|
|
24
|
+
take: options.fetch(:take, nil),
|
|
21
25
|
include_totals: options.fetch(:include_totals, nil)
|
|
22
26
|
}
|
|
23
27
|
get(organizations_path, request_params)
|
|
@@ -127,15 +131,18 @@ module Auth0
|
|
|
127
131
|
# Add an enabled connection for an Organization
|
|
128
132
|
# @see https://auth0.com/docs/api/management/v2/#!/Organizations/post_enabled_connections
|
|
129
133
|
# @param organization_id [string] The Organization ID
|
|
134
|
+
# @param connection_id [string] The Organization ID
|
|
130
135
|
# @param assign_membership_on_login [boolean] flag to allow assign membership on login
|
|
131
136
|
#
|
|
132
137
|
# @return [json] Returns the connection for the given organization
|
|
133
|
-
def create_organizations_enabled_connection(organization_id, assign_membership_on_login: false)
|
|
138
|
+
def create_organizations_enabled_connection(organization_id, connection_id, assign_membership_on_login: false)
|
|
134
139
|
raise Auth0::MissingOrganizationId, 'Must supply a valid organization_id' if organization_id.to_s.empty?
|
|
140
|
+
raise Auth0::InvalidParameter, 'Must supply a valid connection id' if connection_id.to_s.empty?
|
|
135
141
|
path = "#{organizations_enabled_connections_path(organization_id)}"
|
|
136
142
|
|
|
137
143
|
body = {}
|
|
138
144
|
body[:assign_membership_on_login] = assign_membership_on_login
|
|
145
|
+
body[:connection_id] = connection_id
|
|
139
146
|
|
|
140
147
|
post(path, body)
|
|
141
148
|
end
|
|
@@ -209,13 +216,25 @@ module Auth0
|
|
|
209
216
|
# Get Members in a Organization
|
|
210
217
|
# @see https://auth0.com/docs/api/management/v2/#!/Organizations/get_members
|
|
211
218
|
# @param organization_id [string] The Organization ID
|
|
212
|
-
# @param
|
|
219
|
+
# @param options [hash] The Hash options used to define the paging of rersults
|
|
220
|
+
# * :per_page [integer] The amount of entries per page. Default: 50. Max value: 100.
|
|
221
|
+
# * :page [integer] The page number. Zero based.
|
|
222
|
+
# * :from [string] For checkpoint pagination, the ID from which to start selection from.
|
|
223
|
+
# * :take [integer] For checkpoint pagination, the number of entries to retrieve. Default is 50.
|
|
224
|
+
# * :include_totals [boolean] True to include query summary in the result, false or nil otherwise.
|
|
213
225
|
#
|
|
214
226
|
# @return [json] Returns the members for the given organization
|
|
215
|
-
def get_organizations_members(organization_id)
|
|
227
|
+
def get_organizations_members(organization_id, options = {})
|
|
216
228
|
raise Auth0::MissingOrganizationId, 'Must supply a valid organization_id' if organization_id.to_s.empty?
|
|
229
|
+
request_params = {
|
|
230
|
+
per_page: options.fetch(:per_page, nil),
|
|
231
|
+
page: options.fetch(:page, nil),
|
|
232
|
+
from: options.fetch(:from, nil),
|
|
233
|
+
take: options.fetch(:take, nil),
|
|
234
|
+
include_totals: options.fetch(:include_totals, nil)
|
|
235
|
+
}
|
|
217
236
|
path = "#{organizations_members_path(organization_id)}"
|
|
218
|
-
get(path)
|
|
237
|
+
get(path, request_params)
|
|
219
238
|
end
|
|
220
239
|
|
|
221
240
|
# Add members in an organization
|
data/lib/auth0/api/v2/roles.rb
CHANGED
|
@@ -87,13 +87,17 @@ module Auth0
|
|
|
87
87
|
# @param options [hash] A hash of options for getting Roles
|
|
88
88
|
# - per_page: Number of Roles to return.
|
|
89
89
|
# - page: Page number to return, zero-based.
|
|
90
|
-
#
|
|
90
|
+
# * :from [string] For checkpoint pagination, the ID from which to start selection from.
|
|
91
|
+
# * :take [integer] For checkpoint pagination, the number of entries to retrieve. Default is 50.
|
|
92
|
+
# * :include_totals [boolean] True to include query summary in the result, false or nil otherwise.
|
|
91
93
|
def get_role_users(role_id, options = {})
|
|
92
94
|
raise Auth0::MissingParameter, 'Must supply a valid role_id' if role_id.to_s.empty?
|
|
93
95
|
|
|
94
96
|
request_params = {
|
|
95
|
-
per_page:
|
|
96
|
-
page:
|
|
97
|
+
per_page: options.fetch(:per_page, nil),
|
|
98
|
+
page: options.fetch(:page, nil),
|
|
99
|
+
from: options.fetch(:from, nil),
|
|
100
|
+
take: options.fetch(:take, nil),
|
|
97
101
|
include_totals: options.fetch(:include_totals, nil)
|
|
98
102
|
}
|
|
99
103
|
get "#{roles_path}/#{role_id}/users", request_params
|
data/lib/auth0/exception.rb
CHANGED
|
@@ -26,7 +26,10 @@ module Auth0
|
|
|
26
26
|
call(:delete, url(safe_path), timeout, headers, body.to_json)
|
|
27
27
|
elsif method == :post_file
|
|
28
28
|
body.merge!(multipart: true)
|
|
29
|
-
|
|
29
|
+
# Ignore the default Content-Type headers and let the HTTP client define them
|
|
30
|
+
post_file_headers = headers.slice(*headers.keys - ['Content-Type'])
|
|
31
|
+
# Actual call with the altered headers
|
|
32
|
+
call(:post, url(safe_path), timeout, post_file_headers, body)
|
|
30
33
|
else
|
|
31
34
|
call(method, url(safe_path), timeout, headers, body.to_json)
|
|
32
35
|
end
|
data/lib/auth0/version.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri: https://auth0-sdk-tests.auth0.com/api/v2/connections/
|
|
5
|
+
uri: https://auth0-sdk-tests.auth0.com/api/v2/connections/con_n8MJ02x2Zs0JBUWN?fields=name,id&include_fields=false
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -12,52 +12,64 @@ http_interactions:
|
|
|
12
12
|
Accept-Encoding:
|
|
13
13
|
- gzip, deflate
|
|
14
14
|
User-Agent:
|
|
15
|
-
-
|
|
15
|
+
- rest-client/2.0.2 (darwin20.2.0 x86_64) ruby/2.7.2p137
|
|
16
16
|
Content-Type:
|
|
17
17
|
- application/json
|
|
18
18
|
Auth0-Client:
|
|
19
|
-
-
|
|
19
|
+
- eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI1LjEuMiIsImVudiI6eyJydWJ5IjoiMi43LjIifX0=
|
|
20
20
|
Authorization:
|
|
21
21
|
- Bearer API_TOKEN
|
|
22
|
-
Host:
|
|
23
|
-
- auth0-sdk-tests.auth0.com
|
|
24
22
|
response:
|
|
25
23
|
status:
|
|
26
24
|
code: 200
|
|
27
25
|
message: OK
|
|
28
26
|
headers:
|
|
29
27
|
Date:
|
|
30
|
-
-
|
|
28
|
+
- Tue, 20 Jul 2021 02:14:49 GMT
|
|
31
29
|
Content-Type:
|
|
32
30
|
- application/json; charset=utf-8
|
|
33
31
|
Transfer-Encoding:
|
|
34
32
|
- chunked
|
|
35
33
|
Connection:
|
|
36
34
|
- keep-alive
|
|
37
|
-
|
|
38
|
-
-
|
|
39
|
-
X-Ratelimit-Remaining:
|
|
40
|
-
- '7'
|
|
41
|
-
X-Ratelimit-Reset:
|
|
42
|
-
- '1538770639'
|
|
43
|
-
Vary:
|
|
44
|
-
- origin,accept-encoding
|
|
35
|
+
Cf-Ray:
|
|
36
|
+
- 6718ada05caf0d20-LAX
|
|
45
37
|
Cache-Control:
|
|
46
|
-
-
|
|
38
|
+
- no-cache
|
|
47
39
|
Content-Encoding:
|
|
48
40
|
- gzip
|
|
49
41
|
Strict-Transport-Security:
|
|
50
|
-
- max-age=
|
|
51
|
-
|
|
52
|
-
-
|
|
42
|
+
- max-age=31536000
|
|
43
|
+
Vary:
|
|
44
|
+
- origin,accept-encoding
|
|
45
|
+
Cf-Cache-Status:
|
|
46
|
+
- DYNAMIC
|
|
47
|
+
Expect-Ct:
|
|
48
|
+
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
|
49
|
+
Ot-Baggage-Auth0-Request-Id:
|
|
50
|
+
- 6718ada05caf0d20
|
|
51
|
+
Ot-Tracer-Sampled:
|
|
52
|
+
- 'true'
|
|
53
|
+
Ot-Tracer-Spanid:
|
|
54
|
+
- 25f1c5cc01ec17ff
|
|
55
|
+
Ot-Tracer-Traceid:
|
|
56
|
+
- 1a4dd66f250d867d
|
|
57
|
+
X-Content-Type-Options:
|
|
58
|
+
- nosniff
|
|
59
|
+
X-Ratelimit-Limit:
|
|
60
|
+
- '50'
|
|
61
|
+
X-Ratelimit-Remaining:
|
|
62
|
+
- '49'
|
|
63
|
+
X-Ratelimit-Reset:
|
|
64
|
+
- '1626747290'
|
|
65
|
+
Server:
|
|
66
|
+
- cloudflare
|
|
67
|
+
Alt-Svc:
|
|
68
|
+
- h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443";
|
|
69
|
+
ma=86400
|
|
53
70
|
body:
|
|
54
71
|
encoding: ASCII-8BIT
|
|
55
72
|
string: !binary |-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
mTBxiML8lQyYrVqIscvUh5gTsddOl+vWF/O07XAm8+PvaqelW7wiuK4ve7Zv
|
|
60
|
-
I/YAAAA=
|
|
61
|
-
http_version:
|
|
62
|
-
recorded_at: Fri, 05 Oct 2018 20:17:17 GMT
|
|
63
|
-
recorded_with: VCR 4.0.0
|
|
73
|
+
H4sIAAAAAAAAAz2PwWrDQAxE/0VnF5xQCvGtFAK9BdqSQAjLei27G9aSkbQpbsi/d5M2PQk0o6eZM/BkkUmhOcPY++vwweIJoTHJWIGgZSGHJJySUzSLNOiveqlg8qpfLN2GUwwzNDAwd1CBmnjDYXYnFC0PoFlW0Eo2dD1LQDcJGwa7SX+s+02h+GyfdcFEdR2PPpILTHT39z5piYbk24SdCykiWcm0h2Wgbc7D07df7xbHesDFZrU6Pn9QvX7cveVXOFwb+TTe3O+o9vLPfZDczlZWcLj8ALzgJBkYAQAA
|
|
74
|
+
recorded_at: Tue, 20 Jul 2021 02:14:49 GMT
|
|
75
|
+
recorded_with: VCR 6.0.0
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri: https://auth0-sdk-tests.auth0.com/api/v2/connections/
|
|
5
|
+
uri: https://auth0-sdk-tests.auth0.com/api/v2/connections/con_n8MJ02x2Zs0JBUWN?fields=name,id&include_fields=true
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -12,50 +12,64 @@ http_interactions:
|
|
|
12
12
|
Accept-Encoding:
|
|
13
13
|
- gzip, deflate
|
|
14
14
|
User-Agent:
|
|
15
|
-
-
|
|
15
|
+
- rest-client/2.0.2 (darwin20.2.0 x86_64) ruby/2.7.2p137
|
|
16
16
|
Content-Type:
|
|
17
17
|
- application/json
|
|
18
18
|
Auth0-Client:
|
|
19
|
-
-
|
|
19
|
+
- eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI1LjEuMiIsImVudiI6eyJydWJ5IjoiMi43LjIifX0=
|
|
20
20
|
Authorization:
|
|
21
21
|
- Bearer API_TOKEN
|
|
22
|
-
Host:
|
|
23
|
-
- auth0-sdk-tests.auth0.com
|
|
24
22
|
response:
|
|
25
23
|
status:
|
|
26
24
|
code: 200
|
|
27
25
|
message: OK
|
|
28
26
|
headers:
|
|
29
27
|
Date:
|
|
30
|
-
-
|
|
28
|
+
- Tue, 20 Jul 2021 02:14:49 GMT
|
|
31
29
|
Content-Type:
|
|
32
30
|
- application/json; charset=utf-8
|
|
33
31
|
Transfer-Encoding:
|
|
34
32
|
- chunked
|
|
35
33
|
Connection:
|
|
36
34
|
- keep-alive
|
|
37
|
-
|
|
38
|
-
-
|
|
39
|
-
X-Ratelimit-Remaining:
|
|
40
|
-
- '8'
|
|
41
|
-
X-Ratelimit-Reset:
|
|
42
|
-
- '1538770639'
|
|
43
|
-
Vary:
|
|
44
|
-
- origin,accept-encoding
|
|
35
|
+
Cf-Ray:
|
|
36
|
+
- 6718ad9ea9c23173-LAX
|
|
45
37
|
Cache-Control:
|
|
46
|
-
-
|
|
38
|
+
- no-cache
|
|
47
39
|
Content-Encoding:
|
|
48
40
|
- gzip
|
|
49
41
|
Strict-Transport-Security:
|
|
50
|
-
- max-age=
|
|
51
|
-
|
|
52
|
-
-
|
|
42
|
+
- max-age=31536000
|
|
43
|
+
Vary:
|
|
44
|
+
- origin,accept-encoding
|
|
45
|
+
Cf-Cache-Status:
|
|
46
|
+
- DYNAMIC
|
|
47
|
+
Expect-Ct:
|
|
48
|
+
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
|
49
|
+
Ot-Baggage-Auth0-Request-Id:
|
|
50
|
+
- 6718ad9ea9c23173
|
|
51
|
+
Ot-Tracer-Sampled:
|
|
52
|
+
- 'true'
|
|
53
|
+
Ot-Tracer-Spanid:
|
|
54
|
+
- 1bb309994137c31b
|
|
55
|
+
Ot-Tracer-Traceid:
|
|
56
|
+
- 0747a0f428a15eca
|
|
57
|
+
X-Content-Type-Options:
|
|
58
|
+
- nosniff
|
|
59
|
+
X-Ratelimit-Limit:
|
|
60
|
+
- '50'
|
|
61
|
+
X-Ratelimit-Remaining:
|
|
62
|
+
- '49'
|
|
63
|
+
X-Ratelimit-Reset:
|
|
64
|
+
- '1626747290'
|
|
65
|
+
Server:
|
|
66
|
+
- cloudflare
|
|
67
|
+
Alt-Svc:
|
|
68
|
+
- h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443";
|
|
69
|
+
ma=86400
|
|
53
70
|
body:
|
|
54
71
|
encoding: ASCII-8BIT
|
|
55
72
|
string: !binary |-
|
|
56
|
-
H4sIAAAAAAAAA6tWykxRslJKzs+
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
http_version:
|
|
60
|
-
recorded_at: Fri, 05 Oct 2018 20:17:17 GMT
|
|
61
|
-
recorded_with: VCR 4.0.0
|
|
73
|
+
H4sIAAAAAAAAA6tWykxRslJKzs+Lz7Pw9TIwqjCKKjbwcgoN91PSUcpLzE0FyoakFpc45+flpSaXZObn6RaVJlWWAIWACjKL41PycxMz8+KT4fJKVmmJOcWptQAJ916aWwAAAA==
|
|
74
|
+
recorded_at: Tue, 20 Jul 2021 02:14:49 GMT
|
|
75
|
+
recorded_with: VCR 6.0.0
|