Skip to content

Commit

Permalink
Bump go-auth0 to v0.17.2 (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiught authored May 22, 2023
1 parent f80f7e5 commit 87bc19f
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 146 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/auth0/terraform-provider-auth0
go 1.20

require (
github.com/auth0/go-auth0 v0.17.1
github.com/auth0/go-auth0 v0.17.2
github.com/google/go-cmp v0.5.9
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
github.com/hashicorp/go-multierror v1.1.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
github.com/auth0/go-auth0 v0.17.1 h1:xfk6Zuit4Tigg985RPZ6tpue5VHako8KfVkjjC+6X5g=
github.com/auth0/go-auth0 v0.17.1/go.mod h1:CMHBK8TF30dmqCItdcDHVyXg0UbYxT0laf4MGDMseN0=
github.com/auth0/go-auth0 v0.17.2 h1:qEttAY4yYeEJl6wu0iOwlet26wUKA2G5YOUomfuxcy4=
github.com/auth0/go-auth0 v0.17.2/go.mod h1:Hlp4kYcvn2JSD1tAmPQ8DD7MMoiO0bwVJwTHXqJbDDE=
github.com/aybabtme/iocontrol v0.0.0-20150809002002-ad15bcfc95a0 h1:0NmehRCgyk5rljDQLKUO+cRJCnduDyn11+zGZIc9Z48=
github.com/aybabtme/iocontrol v0.0.0-20150809002002-ad15bcfc95a0/go.mod h1:6L7zgvqo0idzI7IO8de6ZC051AfXb5ipkIJ7bIA2tGA=
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
Expand Down
286 changes: 143 additions & 143 deletions test/data/recordings/TestAccConnectionCustomSMS.yaml
Original file line number Diff line number Diff line change
@@ -1,146 +1,146 @@
---
version: 2
interactions:
- id: 0
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 656
transfer_encoding: [ ]
trailer: { }
host: terraform-provider-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
{"name":"Acceptance-Test-Custom-SMS-TestAccConnectionCustomSMS","strategy":"sms","is_domain_connection":false,"options":{"name":"sms","from":"+12345678","syntax":"md_with_macros","template":"@@password@@","totp":{"time_step":300,"length":6},"provider":"sms_gateway","gateway_url":"https://somewhere.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"https://somewhere.com/sms-gateway","secret":"4e2680bb72ec2ae24836476dd37ed6c2","secret_base64_encoded":false},"forward_request_info":true,"disable_signup":false,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: { }
headers:
Content-Type:
- application/json
User-Agent:
- Go-Auth0-SDK/0.10.0
url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
transfer_encoding: [ ]
trailer: { }
content_length: -1
uncompressed: false
body: '{"id":"con_J3syXgCMcrkKzMoZ","options":{"name":"sms","from":"+12345678","syntax":"md_with_macros","template":"@@password@@","totp":{"time_step":300,"length":6},"provider":"sms_gateway","gateway_url":"https://somewhere.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"https://somewhere.com/sms-gateway","secret":"4e2680bb72ec2ae24836476dd37ed6c2","secret_base64_encoded":false},"forward_request_info":true,"disable_signup":false,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Acceptance-Test-Custom-SMS-TestAccConnectionCustomSMS","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Custom-SMS-TestAccConnectionCustomSMS"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
duration: 1ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 5
transfer_encoding: [ ]
trailer: { }
host: terraform-provider-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
null
form: { }
headers:
Content-Type:
- application/json
User-Agent:
- Go-Auth0-SDK/0.10.0
url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_J3syXgCMcrkKzMoZ
method: GET
response:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
transfer_encoding: [ ]
trailer: { }
content_length: -1
uncompressed: true
body: '{"id":"con_J3syXgCMcrkKzMoZ","options":{"from":"+12345678","name":"sms","totp":{"length":6,"time_step":300},"syntax":"md_with_macros","provider":"sms_gateway","template":"@@password@@","gateway_url":"https://somewhere.com/sms-gateway","disable_signup":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"forward_request_info":true,"brute_force_protection":true,"gateway_authentication":{"method":"bearer","secret":"4e2680bb72ec2ae24836476dd37ed6c2","subject":"test.us.auth0.com:sms","audience":"https://somewhere.com/sms-gateway","secret_base64_encoded":false}},"strategy":"sms","name":"Acceptance-Test-Custom-SMS-TestAccConnectionCustomSMS","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Custom-SMS-TestAccConnectionCustomSMS"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
duration: 1ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 5
transfer_encoding: [ ]
trailer: { }
host: terraform-provider-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
null
form: { }
headers:
Content-Type:
- application/json
User-Agent:
- Go-Auth0-SDK/0.10.0
url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_J3syXgCMcrkKzMoZ
method: GET
response:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
transfer_encoding: [ ]
trailer: { }
content_length: -1
uncompressed: true
body: '{"id":"con_J3syXgCMcrkKzMoZ","options":{"from":"+12345678","name":"sms","totp":{"length":6,"time_step":300},"syntax":"md_with_macros","provider":"sms_gateway","template":"@@password@@","gateway_url":"https://somewhere.com/sms-gateway","disable_signup":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"forward_request_info":true,"brute_force_protection":true,"gateway_authentication":{"method":"bearer","secret":"4e2680bb72ec2ae24836476dd37ed6c2","subject":"test.us.auth0.com:sms","audience":"https://somewhere.com/sms-gateway","secret_base64_encoded":false}},"strategy":"sms","name":"Acceptance-Test-Custom-SMS-TestAccConnectionCustomSMS","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Custom-SMS-TestAccConnectionCustomSMS"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
duration: 1ms
- id: 3
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 0
transfer_encoding: [ ]
trailer: { }
host: terraform-provider-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: ""
form: { }
headers:
Content-Type:
- application/json
User-Agent:
- Go-Auth0-SDK/0.10.0
url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_J3syXgCMcrkKzMoZ
method: DELETE
response:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
transfer_encoding: [ ]
trailer: { }
content_length: 0
uncompressed: false
body: ""
headers:
Content-Type:
- application/json; charset=utf-8
status: 204 No Content
code: 204
duration: 1ms
- id: 0
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 652
transfer_encoding: []
trailer: {}
host: terraform-provider-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
{"name":"Acceptance-Test-Custom-SMS-TestAccConnectionCustomSMS","strategy":"sms","is_domain_connection":false,"options":{"name":"sms","from":"+12345678","syntax":"md_with_macros","template":"@@password@@","totp":{"time_step":300,"length":6},"provider":"sms_gateway","gateway_url":"https://somewhere.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"https://somewhere.com/sms-gateway","secret":"4e2680bb72ec2ae24836476dd37ed6c2","secret_base64_encoded":false},"forward_req_info":true,"disable_signup":false,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- Go-Auth0-SDK/0.17.2
url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
transfer_encoding: []
trailer: {}
content_length: 767
uncompressed: false
body: '{"id":"con_Or6glBi2mtwLw1nB","options":{"name":"sms","from":"+12345678","syntax":"md_with_macros","template":"@@password@@","totp":{"time_step":300,"length":6},"provider":"sms_gateway","gateway_url":"https://somewhere.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"https://somewhere.com/sms-gateway","secret":"4e2680bb72ec2ae24836476dd37ed6c2","secret_base64_encoded":false},"forward_req_info":true,"disable_signup":false,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Acceptance-Test-Custom-SMS-TestAccConnectionCustomSMS","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Custom-SMS-TestAccConnectionCustomSMS"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
duration: 150.055709ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 5
transfer_encoding: []
trailer: {}
host: terraform-provider-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
null
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- Go-Auth0-SDK/0.17.2
url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_Or6glBi2mtwLw1nB
method: GET
response:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
transfer_encoding: []
trailer: {}
content_length: -1
uncompressed: true
body: '{"id":"con_Or6glBi2mtwLw1nB","options":{"from":"+12345678","name":"sms","totp":{"length":6,"time_step":300},"syntax":"md_with_macros","provider":"sms_gateway","template":"@@password@@","gateway_url":"https://somewhere.com/sms-gateway","disable_signup":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"forward_req_info":true,"brute_force_protection":true,"gateway_authentication":{"method":"bearer","secret":"4e2680bb72ec2ae24836476dd37ed6c2","subject":"test.us.auth0.com:sms","audience":"https://somewhere.com/sms-gateway","secret_base64_encoded":false}},"strategy":"sms","name":"Acceptance-Test-Custom-SMS-TestAccConnectionCustomSMS","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Custom-SMS-TestAccConnectionCustomSMS"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
duration: 97.256ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 5
transfer_encoding: []
trailer: {}
host: terraform-provider-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
null
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- Go-Auth0-SDK/0.17.2
url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_Or6glBi2mtwLw1nB
method: GET
response:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
transfer_encoding: []
trailer: {}
content_length: -1
uncompressed: true
body: '{"id":"con_Or6glBi2mtwLw1nB","options":{"from":"+12345678","name":"sms","totp":{"length":6,"time_step":300},"syntax":"md_with_macros","provider":"sms_gateway","template":"@@password@@","gateway_url":"https://somewhere.com/sms-gateway","disable_signup":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"forward_req_info":true,"brute_force_protection":true,"gateway_authentication":{"method":"bearer","secret":"4e2680bb72ec2ae24836476dd37ed6c2","subject":"test.us.auth0.com:sms","audience":"https://somewhere.com/sms-gateway","secret_base64_encoded":false}},"strategy":"sms","name":"Acceptance-Test-Custom-SMS-TestAccConnectionCustomSMS","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Custom-SMS-TestAccConnectionCustomSMS"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
duration: 102.110958ms
- id: 3
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 0
transfer_encoding: []
trailer: {}
host: terraform-provider-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- Go-Auth0-SDK/0.17.2
url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_Or6glBi2mtwLw1nB
method: DELETE
response:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
transfer_encoding: []
trailer: {}
content_length: 41
uncompressed: false
body: '{"deleted_at":"2023-05-22T12:13:13.406Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
duration: 138.935458ms

0 comments on commit 87bc19f

Please sign in to comment.