auth0 5.1.1 → 5.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +5 -0
  3. data/CHANGELOG.md +45 -1
  4. data/README.md +1 -0
  5. data/auth0.gemspec +6 -6
  6. data/lib/auth0/api/v2/branding.rb +0 -1
  7. data/lib/auth0/api/v2/connections.rb +5 -2
  8. data/lib/auth0/api/v2/device_credentials.rb +3 -3
  9. data/lib/auth0/api/v2/logs.rb +2 -2
  10. data/lib/auth0/api/v2/organizations.rb +19 -3
  11. data/lib/auth0/api/v2/roles.rb +7 -3
  12. data/lib/auth0/exception.rb +1 -1
  13. data/lib/auth0/mixins/httpproxy.rb +13 -3
  14. data/lib/auth0/version.rb +1 -1
  15. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connection/_filters/should_exclude_the_fields_indicated.yml +38 -26
  16. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connection/_filters/should_include_the_fields_indicated.yml +38 -24
  17. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connection/should_find_the_correct_connection.yml +38 -26
  18. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/_filters/should_include_previously-created_connection_when_filtered.yml +41 -21
  19. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/_filters/should_should_exclude_the_fields_indicated_from_filtered_results.yml +41 -21
  20. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/_filters/should_should_include_the_fields_indicated_from_filtered_results.yml +41 -21
  21. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/should_include_the_previously_created_connection.yml +41 -21
  22. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_connections/should_not_be_empty.yml +41 -21
  23. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_delete_connection/should_delete_the_connection.yml +45 -24
  24. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_delete_connection_user/should_delete_the_user_created.yml +75 -39
  25. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/_update_connection/should_update_the_connection.yml +39 -28
  26. data/spec/fixtures/vcr_cassettes/Auth0_Api_V2_Connections/create_test_connection.yml +37 -25
  27. data/spec/lib/auth0/api/v2/connections_spec.rb +1 -1
  28. data/spec/lib/auth0/api/v2/device_credentials_spec.rb +2 -2
  29. data/spec/lib/auth0/api/v2/organizations_spec.rb +31 -6
  30. data/spec/lib/auth0/api/v2/roles_spec.rb +5 -1
  31. data/spec/lib/auth0/mixins/httpproxy_spec.rb +35 -33
  32. data/spec/support/dummy_class_for_proxy.rb +1 -2
  33. metadata +14 -19
  34. data/.yardoc/checksums +0 -22
  35. data/.yardoc/complete +0 -0
  36. data/.yardoc/object_types +0 -0
  37. data/.yardoc/objects/root.dat +0 -0
  38. data/.yardoc/proxy_types +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6363fb309ed21f92b00feb47e3df1a870fb5bdec7e6786eafb436d6c93249afd
4
- data.tar.gz: d45130f889436020fea8acb76385fa4a5f884b8c04cda38345ccb06b4408699d
3
+ metadata.gz: fc12c7c72ce796f0bc1a7599037731d8561438b610c45c7401e164f5c0ffa78e
4
+ data.tar.gz: a821ee4bccbaa05ecef61d586c36d6088318eaf28f254ee78f387740b4949725
5
5
  SHA512:
6
- metadata.gz: c736ed7cc86e68643659bec55bca8b26e5a2262f0a1c81547c505c3e9375698a24e4094a72f08412fb6962abe3717c3055bb5ad7c86a91626e1e9585e102a27d
7
- data.tar.gz: f201783d610980d679e5c13741c278acd070060f917b4015dc098e2c56c81b265ef3a1e3901849a6662ba97c8627b95b80337e9562461cf825baaa6eec64b7f6
6
+ metadata.gz: 758ede4765b01d316a9dab22abc0d4ecc315d1e743e8700d5451f61f70e4f8d57c5a3561dfe96f0732546139ff39696e12e16d5ff20daf5e168f726ca1c1d571
7
+ data.tar.gz: f29e16f61158cbc0651a0b76429032c61c5cde9006ce267d008d9f7ac5ce91136a575e64f419be937df7add6e0f36e7e88e5ea3afa2ea3a654d8c2d7123ef1b2
data/.gitignore CHANGED
@@ -12,3 +12,8 @@ coverage
12
12
  spec/auth0.yml
13
13
  .env
14
14
  /Gemfile.lock
15
+ /.yardoc/checksums
16
+ /.yardoc/complete
17
+ /.yardoc/object_types
18
+ /.yardoc/objects/root.dat
19
+ /.yardoc/proxy_types
data/CHANGELOG.md CHANGED
@@ -1,6 +1,50 @@
1
1
  # Change Log
2
2
 
3
- ## [v5.1.01(https://github.com/auth0/ruby-auth0/tree/v5.1.1) (2021-04-14)
3
+ ## [v5.4.0](https://github.com/auth0/ruby-auth0/tree/v5.4.0) (2021-07-23)
4
+
5
+ [Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.3.0..v5.4.0)
6
+
7
+ **Fixed**
8
+
9
+ - Fixing yard issues with documentation [\#288](https://github.com/auth0/ruby-auth0/pull/288) ([davidpatrick](https://github.com/davidpatrick))
10
+
11
+ **Changed**
12
+
13
+ - Change strategy when normalizing path [\#287](https://github.com/auth0/ruby-auth0/pull/287) ([davidpatrick](https://github.com/davidpatrick))
14
+
15
+ ## [v5.3.0](https://github.com/auth0/ruby-auth0/tree/v5.3.0) (2021-07-23)
16
+
17
+ [Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.2.0..v5.3.0)
18
+
19
+ **Added**
20
+
21
+ - Checkpoint Pagination [\#284](https://github.com/auth0/ruby-auth0/pull/284) ([davidpatrick](https://github.com/davidpatrick))
22
+
23
+ ## [v5.2.0](https://github.com/auth0/ruby-auth0/tree/v5.2.0) (2021-07-20)
24
+
25
+ [Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.1.2..v5.2.0)
26
+
27
+ **Fixed**
28
+
29
+ - Ensure email param is properly encoded in delete_connection_user [\#280](https://github.com/auth0/ruby-auth0/pull/280) ([widcket](https://github.com/widcket))
30
+
31
+ **Added**
32
+
33
+ - Adds Rotating Refresh Token type to Device Credentials [\#275](https://github.com/auth0/ruby-auth0/pull/275) ([epintos](https://github.com/epintos))
34
+
35
+ **Changed**
36
+
37
+ - Do not lock dependencies to minor version [\#279](https://github.com/auth0/ruby-auth0/pull/279) ([athix](https://github.com/athix))
38
+
39
+ ## [v5.1.2](https://github.com/auth0/ruby-auth0/tree/v5.1.2) (2021-07-15)
40
+
41
+ [Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.1.1..v5.1.2)
42
+
43
+ **Security**
44
+
45
+ - Bump addressable version per CVE-2021-32740 [\#276](https://github.com/auth0/ruby-auth0/pull/276) ([lostapathy](https://github.com/lostapathy))
46
+
47
+ ## [v5.1.1](https://github.com/auth0/ruby-auth0/tree/v5.1.1) (2021-04-14)
4
48
 
5
49
  [Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.1.0..v5.1.1)
6
50
 
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.0'
21
- s.add_runtime_dependency 'zache', '~> 0.12.0'
22
- s.add_runtime_dependency 'addressable', '~> 2.7.0'
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.4'
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.2'
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'
@@ -35,7 +35,6 @@ module Auth0
35
35
 
36
36
  # Delete template for New Universal Login Experience
37
37
  # @see https://auth0.com/docs/api/management/v2/#!/Branding/delete_universal_login
38
- # @param rule_id [string] The id of the rule to delete.
39
38
  def delete_branding_templates_for_universal_login
40
39
  delete(templates_path)
41
40
  end
@@ -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?email=#{user_email}"
85
- delete(path)
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] The type of credentials. Possible values: 'public_key' or 'refresh_token'.
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
@@ -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] Log Event Id to start retrieving logs. You can limit the amount of logs using the take parameter.
20
- # * :take [integer] The total amount of entries to retrieve when using the from parameter.
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)
@@ -212,13 +216,25 @@ module Auth0
212
216
  # Get Members in a Organization
213
217
  # @see https://auth0.com/docs/api/management/v2/#!/Organizations/get_members
214
218
  # @param organization_id [string] The Organization ID
215
- # @param user_id [string] The User ID
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.
216
225
  #
217
226
  # @return [json] Returns the members for the given organization
218
- def get_organizations_members(organization_id)
227
+ def get_organizations_members(organization_id, options = {})
219
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
+ }
220
236
  path = "#{organizations_members_path(organization_id)}"
221
- get(path)
237
+ get(path, request_params)
222
238
  end
223
239
 
224
240
  # Add members in an organization
@@ -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
- # - include_totals: True to include query summary in the result, false or nil otherwise.
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: options.fetch(:per_page, nil),
96
- page: options.fetch(:page, nil),
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
@@ -53,7 +53,7 @@ module Auth0
53
53
  # Auth0 API rate-limiting encountered
54
54
  class RateLimitEncountered < Auth0::HTTPError
55
55
  def reset
56
- Time.at(headers['X-RateLimit-Reset']).utc
56
+ Time.at(Integer(headers[:x_ratelimit_reset])).utc
57
57
  end
58
58
  end
59
59
 
@@ -9,8 +9,15 @@ module Auth0
9
9
 
10
10
  # proxying requests from instance methods to HTTP class methods
11
11
  %i(get post post_file put patch delete delete_with_body).each do |method|
12
- define_method(method) do |path, body = {}, extra_headers = {}|
13
- safe_path = Addressable::URI.escape(path)
12
+ define_method(method) do |uri, body = {}, extra_headers = {}|
13
+
14
+ if base_uri
15
+ # if a base_uri is set then the uri can be encoded as a path
16
+ safe_path = Addressable::URI.new(path: uri).normalized_path
17
+ else
18
+ safe_path = Addressable::URI.escape(uri)
19
+ end
20
+
14
21
  body = body.delete_if { |_, v| v.nil? }
15
22
  result = if method == :get
16
23
  # Mutate the headers property to add parameters.
@@ -26,7 +33,10 @@ module Auth0
26
33
  call(:delete, url(safe_path), timeout, headers, body.to_json)
27
34
  elsif method == :post_file
28
35
  body.merge!(multipart: true)
29
- call(:post, url(safe_path), timeout, headers, body)
36
+ # Ignore the default Content-Type headers and let the HTTP client define them
37
+ post_file_headers = headers.slice(*headers.keys - ['Content-Type'])
38
+ # Actual call with the altered headers
39
+ call(:post, url(safe_path), timeout, post_file_headers, body)
30
40
  else
31
41
  call(method, url(safe_path), timeout, headers, body.to_json)
32
42
  end
data/lib/auth0/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # current version of gem
2
2
  module Auth0
3
- VERSION = '5.1.1'.freeze
3
+ VERSION = '5.4.0'.freeze
4
4
  end
@@ -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/con_LW7vB80FsVmRF4fN?fields=name,id&include_fields=false
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
- - Ruby/2.3.1
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
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjUuMCJ9
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
- - Fri, 05 Oct 2018 20:17:17 GMT
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
- X-Ratelimit-Limit:
38
- - '10'
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
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
38
+ - no-cache
47
39
  Content-Encoding:
48
40
  - gzip
49
41
  Strict-Transport-Security:
50
- - max-age=15724800
51
- X-Robots-Tag:
52
- - noindex, nofollow, nosnippet, noarchive
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
- H4sIAAAAAAAAA0WOQQrCQAxF75J1BXHZrRdw4U5kSKdpHZgmJckoRXp3p4q6
57
- SnifvPwnyOxJ2KB9wjTgNjB6uhO0roUaUPKiHIhVcg5G7olH+6RrAzOaPUT7
58
- k+QUF2hhFOmhgU6LUxhEI4VZxSlub75Sc0WncQl3Unvzw/qn1YLFb/uqSRZ6
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/con_LW7vB80FsVmRF4fN?fields=name,id&include_fields=true
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
- - Ruby/2.3.1
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
- - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI0LjUuMCJ9
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
- - Fri, 05 Oct 2018 20:17:17 GMT
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
- X-Ratelimit-Limit:
38
- - '10'
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
- - private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
38
+ - no-cache
47
39
  Content-Encoding:
48
40
  - gzip
49
41
  Strict-Transport-Security:
50
- - max-age=15724800
51
- X-Robots-Tag:
52
- - noindex, nofollow, nosnippet, noarchive
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+L9wk3L3OyMHArDssNcjNJ81PSUcpLzE0F
57
- yoakFpc45+flpSaXZObn6RaVJlWWAIWACjKL41PycxMz8+KT4fJKVmmJOcWp
58
- tQCC/XfpWwAAAA==
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