From af854c4840638adcf1a42b97eede39fdc04009bf Mon Sep 17 00:00:00 2001
From: KunalOfficial <35455566+developerkunal@users.noreply.github.com>
Date: Thu, 25 Apr 2024 17:56:49 +0530
Subject: [PATCH] Fix OIDC Connection DiscoveryURL TestCase (#392)
---
management/connection_test.go | 1 +
...successfully_create_a_ADFS_Connection.yaml | 22 ++++-----
...n_successfully_create_a_AD_Connection.yaml | 18 +++----
...uccessfully_create_a_Apple_Connection.yaml | 16 +++---
...uccessfully_create_a_Auth0_Connection.yaml | 18 +++----
...sfully_create_a_Custom_SMS_Connection.yaml | 20 ++++----
...uccessfully_create_a_Email_Connection.yaml | 16 +++---
...essfully_create_a_Facebook_Connection.yaml | 16 +++---
...ccessfully_create_a_GitHub_Connection.yaml | 16 +++---
...sfully_create_a_GoogleApps_Connection.yaml | 18 +++----
...ully_create_a_GoogleOAuth2_Connection.yaml | 16 +++---
...essfully_create_a_LinkedIn_Connection.yaml | 22 ++++-----
...successfully_create_a_OIDC_Connection.yaml | 20 ++++----
...successfully_create_a_Okta_Connection.yaml | 18 +++----
...lly_create_a_Ping_Federate_Connection.yaml | 16 +++---
...successfully_create_a_SAML_Connection.yaml | 16 +++---
..._successfully_create_a_SMS_Connection.yaml | 22 ++++-----
...sfully_create_a_SalesForce_Connection.yaml | 22 ++++-----
...fully_create_a_WindowsLive_Connection.yaml | 22 ++++-----
.../TestConnectionManager_Delete.yaml | 41 ++++++++--------
.../TestConnectionManager_List.yaml | 35 +++++++------
...n_successfully_read_a_ADFS_Connection.yaml | 41 ++++++++--------
...can_successfully_read_a_AD_Connection.yaml | 37 +++++++-------
..._successfully_read_a_Apple_Connection.yaml | 43 ++++++++--------
..._successfully_read_a_Auth0_Connection.yaml | 37 +++++++-------
...essfully_read_a_Custom_SMS_Connection.yaml | 45 +++++++++--------
..._successfully_read_a_Email_Connection.yaml | 43 ++++++++--------
...ccessfully_read_a_Facebook_Connection.yaml | 35 +++++++------
...successfully_read_a_GitHub_Connection.yaml | 35 +++++++------
...essfully_read_a_GoogleApps_Connection.yaml | 37 +++++++-------
...sfully_read_a_GoogleOAuth2_Connection.yaml | 35 +++++++------
...ccessfully_read_a_LinkedIn_Connection.yaml | 35 +++++++------
...n_successfully_read_a_OIDC_Connection.yaml | 47 +++++++++---------
...n_successfully_read_a_Okta_Connection.yaml | 37 +++++++-------
...fully_read_a_Ping_Federate_Connection.yaml | 41 ++++++++--------
...n_successfully_read_a_SAML_Connection.yaml | 43 ++++++++--------
...an_successfully_read_a_SMS_Connection.yaml | 35 +++++++------
...essfully_read_a_SalesForce_Connection.yaml | 43 ++++++++--------
...ssfully_read_a_WindowsLive_Connection.yaml | 35 +++++++------
...ly_find_a_ADFS_Connection_by_its_name.yaml | 35 +++++++------
...ully_find_a_AD_Connection_by_its_name.yaml | 37 +++++++-------
...y_find_a_Apple_Connection_by_its_name.yaml | 43 ++++++++--------
...y_find_a_Auth0_Connection_by_its_name.yaml | 37 +++++++-------
...d_a_Custom_SMS_Connection_by_its_name.yaml | 45 +++++++++--------
...y_find_a_Email_Connection_by_its_name.yaml | 43 ++++++++--------
...ind_a_Facebook_Connection_by_its_name.yaml | 35 +++++++------
..._find_a_GitHub_Connection_by_its_name.yaml | 35 +++++++------
...d_a_GoogleApps_Connection_by_its_name.yaml | 45 +++++++++--------
...a_GoogleOAuth2_Connection_by_its_name.yaml | 49 +++++++++----------
...ind_a_LinkedIn_Connection_by_its_name.yaml | 35 +++++++------
...ly_find_a_OIDC_Connection_by_its_name.yaml | 45 +++++++++--------
...ly_find_a_Okta_Connection_by_its_name.yaml | 43 ++++++++--------
..._Ping_Federate_Connection_by_its_name.yaml | 49 +++++++++----------
...ly_find_a_SAML_Connection_by_its_name.yaml | 43 ++++++++--------
...lly_find_a_SMS_Connection_by_its_name.yaml | 35 +++++++------
...d_a_SalesForce_Connection_by_its_name.yaml | 35 +++++++------
..._a_WindowsLive_Connection_by_its_name.yaml | 35 +++++++------
...n_successfully_update_a_AD_Connection.yaml | 39 +++++++--------
...uccessfully_update_a_Apple_Connection.yaml | 37 +++++++-------
...uccessfully_update_a_Auth0_Connection.yaml | 39 +++++++--------
...sfully_update_a_Custom_SMS_Connection.yaml | 41 ++++++++--------
...uccessfully_update_a_Email_Connection.yaml | 43 ++++++++--------
...essfully_update_a_Facebook_Connection.yaml | 43 ++++++++--------
...ccessfully_update_a_GitHub_Connection.yaml | 43 ++++++++--------
...sfully_update_a_GoogleApps_Connection.yaml | 39 +++++++--------
...ully_update_a_GoogleOAuth2_Connection.yaml | 39 +++++++--------
...essfully_update_a_LinkedIn_Connection.yaml | 37 +++++++-------
..._successfully_update_a_SMS_Connection.yaml | 37 +++++++-------
...sfully_update_a_SalesForce_Connection.yaml | 43 ++++++++--------
...fully_update_a_WindowsLive_Connection.yaml | 37 +++++++-------
70 files changed, 1153 insertions(+), 1203 deletions(-)
diff --git a/management/connection_test.go b/management/connection_test.go
index 4354506a..fe1816d3 100644
--- a/management/connection_test.go
+++ b/management/connection_test.go
@@ -367,6 +367,7 @@ ZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g
AuthorizationEndpoint: auth0.String("https://example.com"),
JWKSURI: auth0.String("https://example.com/jwks"),
Type: auth0.String("front_channel"),
+ DiscoveryURL: auth0.String("https://example.com//.well-known/openid-configuration"),
UpstreamParams: map[string]interface{}{
"screen_name": map[string]interface{}{
"alias": "login_hint",
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_ADFS_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_ADFS_Connection.yaml
index 8ad767a2..6258f9fb 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_ADFS_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_ADFS_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-ADFS-Connection-1675099550","strategy":"adfs","options":{"fedMetadataXml":"\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cEntityDescriptor entityID=\"https://example.com\"\n xmlns=\"urn:oasis:names:tc:SAML:2.0:metadata\"\u003e\n \u003cRoleDescriptor xsi:type=\"fed:ApplicationServiceType\"\n protocolSupportEnumeration=\"http://docs.oasis-open.org/wsfed/federation/200706\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:fed=\"http://docs.oasis-open.org/wsfed/federation/200706\"\u003e\n \u003cfed:TargetScopes\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:TargetScopes\u003e\n \u003cfed:ApplicationServiceEndpoint\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/wsfed\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:ApplicationServiceEndpoint\u003e\n \u003cfed:PassiveRequestorEndpoint\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/wsfed\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:PassiveRequestorEndpoint\u003e\n \u003c/RoleDescriptor\u003e\n \u003cIDPSSODescriptor protocolSupportEnumeration=\"urn:oasis:names:tc:SAML:2.0:protocol\"\u003e\n \u003cSingleLogoutService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"https://adfs.provider/sign_out\"/\u003e\n \u003cSingleSignOnService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"https://adfs.provider/sign_in\"/\u003e\n \u003c/IDPSSODescriptor\u003e\n\u003c/EntityDescriptor\u003e\n","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-ADFS-Connection-1714039090","strategy":"adfs","options":{"fedMetadataXml":"\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cEntityDescriptor entityID=\"https://example.com\"\n xmlns=\"urn:oasis:names:tc:SAML:2.0:metadata\"\u003e\n \u003cRoleDescriptor xsi:type=\"fed:ApplicationServiceType\"\n protocolSupportEnumeration=\"http://docs.oasis-open.org/wsfed/federation/200706\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:fed=\"http://docs.oasis-open.org/wsfed/federation/200706\"\u003e\n \u003cfed:TargetScopes\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:TargetScopes\u003e\n \u003cfed:ApplicationServiceEndpoint\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/wsfed\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:ApplicationServiceEndpoint\u003e\n \u003cfed:PassiveRequestorEndpoint\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/wsfed\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:PassiveRequestorEndpoint\u003e\n \u003c/RoleDescriptor\u003e\n \u003cIDPSSODescriptor protocolSupportEnumeration=\"urn:oasis:names:tc:SAML:2.0:protocol\"\u003e\n \u003cSingleLogoutService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"https://adfs.provider/sign_out\"/\u003e\n \u003cSingleSignOnService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"https://adfs.provider/sign_in\"/\u003e\n \u003c/IDPSSODescriptor\u003e\n\u003c/EntityDescriptor\u003e\n","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_3E5pG3gpHoOgvFIY","options":{"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n","upstream_params":{"screen_name":{"alias":"login_hint"}},"thumbprints":[],"signInEndpoint":"https://adfs.provider/wsfed","should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Test-ADFS-Connection-1675099550","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/UfydMqWU","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1675099550"]}'
+ body: '{"id":"con_99dCf1MTlQiNP56U","options":{"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n","upstream_params":{"screen_name":{"alias":"login_hint"}},"thumbprints":[],"signInEndpoint":"https://adfs.provider/wsfed","should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Test-ADFS-Connection-1714039090","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/adfs/8Il6A5Qd","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 444.808542ms
+ duration: 317.085292ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3E5pG3gpHoOgvFIY
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_99dCf1MTlQiNP56U
method: DELETE
response:
proto: HTTP/2.0
@@ -63,12 +63,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:58:17.762Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 171.074334ms
+ status: 202 Accepted
+ code: 202
+ duration: 289.661625ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_AD_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_AD_Connection.yaml
index 9ec2df1d..3b4dc799 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_AD_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_AD_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-AD-Connection-1674668511","strategy":"ad","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-AD-Connection-1714039090","strategy":"ad","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,15 +28,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 408
+ content_length: 407
uncompressed: false
- body: '{"id":"con_jgSwy6no6kdmpvIb","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1674668511","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/8gRJFxSqvVhtgXw5VuOohfaHEVdD2kou","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1674668511"]}'
+ body: '{"id":"con_HzF4tG8cdHmnnn30","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1714039090","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/ad/ITTPn4ckD4O3R2JUiLJl0h0NjGGlBotS","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 6.282886458s
+ duration: 329.268584ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_jgSwy6no6kdmpvIb
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_HzF4tG8cdHmnnn30
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:35.916Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:17.153Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 132.793166ms
+ duration: 298.261542ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Apple_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Apple_Connection.yaml
index 2e92d7d0..5ba8c8b2 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Apple_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Apple_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Apple-Connection-1674668511","strategy":"apple","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Apple-Connection-1714039090","strategy":"apple","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 255
uncompressed: false
- body: '{"id":"con_UwqvaPZt42Z3r8Ch","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1674668511"]}'
+ body: '{"id":"con_Y8Kj7ui38hZiC8fp","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1714039090","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 163.2495ms
+ duration: 304.10175ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_UwqvaPZt42Z3r8Ch
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Y8Kj7ui38hZiC8fp
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:36.504Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:19.013Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 141.128875ms
+ duration: 302.679292ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Auth0_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Auth0_Connection.yaml
index 270729b1..d83161e4 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Auth0_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Auth0_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-1674668511","strategy":"auth0","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Auth0-Connection-1714039090","strategy":"auth0","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,15 +28,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 382
+ content_length: 577
uncompressed: false
- body: '{"id":"con_c5zI4XDdzzbD0qav","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1674668511"]}'
+ body: '{"id":"con_pcnj6AYiMPfhD3Xj","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"authentication_methods":{"password":{"enabled":true},"passkey":{"enabled":false}},"passkey_options":{"challenge_ui":"both","progressive_enrollment_enabled":true,"local_enrollment_enabled":true},"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1714039090","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 6.24284425s
+ duration: 1.234447666s
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_c5zI4XDdzzbD0qav
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pcnj6AYiMPfhD3Xj
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:27.472Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:11.936Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 163.993584ms
+ duration: 320.527083ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Custom_SMS_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Custom_SMS_Connection.yaml
index 0dba0b25..3d255407 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Custom_SMS_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Custom_SMS_Connection.yaml
@@ -6,20 +6,20 @@ interactions:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 610
+ content_length: 635
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Custom-SMS-Connection-1674668511","strategy":"sms","options":{"name":"Test-Connection-Custom-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"provider":"sms_gateway","gateway_url":"https://test.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret":"my-secret","secret_base64_encoded":false},"forward_request_info":true,"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Custom-SMS-Connection-1714039090","strategy":"sms","options":{"name":"Test-Connection-Custom-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"messaging_service_sid":null,"provider":"sms_gateway","gateway_url":"https://test.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret":"my-secret","secret_base64_encoded":false},"forward_req_info":true,"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,15 +28,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 738
+ content_length: 763
uncompressed: false
- body: '{"id":"con_P9KDEp0MTOxd00dE","options":{"name":"Test-Connection-Custom-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"provider":"sms_gateway","gateway_url":"https://test.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret":"my-secret","secret_base64_encoded":false},"forward_request_info":true,"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Test-Custom-SMS-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1674668511"]}'
+ body: '{"id":"con_4ufaOPCb5X7w3CE3","options":{"name":"Test-Connection-Custom-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"messaging_service_sid":null,"provider":"sms_gateway","gateway_url":"https://test.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret":"my-secret","secret_base64_encoded":false},"forward_req_info":true,"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Test-Custom-SMS-Connection-1714039090","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 114.816292ms
+ duration: 498.095167ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_P9KDEp0MTOxd00dE
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_4ufaOPCb5X7w3CE3
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:29.061Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:15.876Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 180.880125ms
+ duration: 299.285917ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Email_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Email_Connection.yaml
index eefd4252..ea80cd3a 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Email_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Email_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Email-Connection-1674668511","strategy":"email","options":{"name":"Test-Connection-Email","email":{"syntax":"liquid","from":"{{application.name}} \u003ctest@example.com\u003e","subject":"Email Login - {{application.name}}","body":"\u003chtml\u003e\u003cbody\u003eemail contents\u003c/body\u003e\u003c/html\u003e"},"totp":{"time_step":100,"length":4},"authParams":{"scope":"openid profile"},"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Email-Connection-1714039090","strategy":"email","options":{"name":"Test-Connection-Email","email":{"syntax":"liquid","from":"{{application.name}} \u003ctest@example.com\u003e","subject":"Email Login - {{application.name}}","body":"\u003chtml\u003e\u003cbody\u003eemail contents\u003c/body\u003e\u003c/html\u003e"},"totp":{"time_step":100,"length":4},"authParams":{"scope":"openid profile"},"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 588
uncompressed: false
- body: '{"id":"con_IF0sUnFMZdHzrjPj","options":{"name":"Test-Connection-Email","email":{"syntax":"liquid","from":"{{application.name}} ","subject":"Email Login - {{application.name}}","body":"email contents"},"totp":{"time_step":100,"length":4},"authParams":{"scope":"openid profile"},"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"email","name":"Test-Email-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1674668511"]}'
+ body: '{"id":"con_bOSN9UAfIz3cbLJ5","options":{"name":"Test-Connection-Email","email":{"syntax":"liquid","from":"{{application.name}} ","subject":"Email Login - {{application.name}}","body":"email contents"},"totp":{"time_step":100,"length":4},"authParams":{"scope":"openid profile"},"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"email","name":"Test-Email-Connection-1714039090","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 117.936625ms
+ duration: 320.399458ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_IF0sUnFMZdHzrjPj
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_bOSN9UAfIz3cbLJ5
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:28.392Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:14.445Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 233.213958ms
+ duration: 303.483833ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Facebook_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Facebook_Connection.yaml
index 419b577f..01d5985c 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Facebook_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Facebook_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Facebook-Connection-1674668511","strategy":"facebook","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Facebook-Connection-1714039090","strategy":"facebook","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 275
uncompressed: false
- body: '{"id":"con_1gklGXesSxzH2Vg9","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1674668511"]}'
+ body: '{"id":"con_PgWaMhpWrX8NAyJG","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1714039090","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 116.796833ms
+ duration: 321.464792ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_1gklGXesSxzH2Vg9
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_PgWaMhpWrX8NAyJG
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:36.183Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:18.398Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 160.698667ms
+ duration: 326.34525ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_GitHub_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_GitHub_Connection.yaml
index 220611f8..1081bd40 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_GitHub_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_GitHub_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GitHub-Connection-1674668511","strategy":"github","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-GitHub-Connection-1714039090","strategy":"github","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 269
uncompressed: false
- body: '{"id":"con_ojs63B9jVBIB0C9l","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1674668511"]}'
+ body: '{"id":"con_6R4edWvsVXC1sr4O","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1714039090","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 174.726ms
+ duration: 1.78463775s
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ojs63B9jVBIB0C9l
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6R4edWvsVXC1sr4O
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:37.233Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:21.842Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 188.55475ms
+ duration: 685.960583ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_GoogleApps_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_GoogleApps_Connection.yaml
index e52a4d9b..1e4929dc 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_GoogleApps_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_GoogleApps_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleApps-Connection-1674668511","strategy":"google-apps","options":{"domain":"example.com","tenant_domain":"example.com","basic_profile":true,"ext_profile":true,"ext_groups":true,"ext_is_admin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-GoogleApps-Connection-1714039090","strategy":"google-apps","options":{"domain":"example.com","tenant_domain":"example.com","basic_profile":true,"ext_profile":true,"ext_groups":true,"ext_is_admin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,15 +28,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 628
+ content_length: 627
uncompressed: false
- body: '{"id":"con_TcuZVn6PZjcIKeab","options":{"domain":"example.com","tenant_domain":"example.com","basic_profile":true,"ext_profile":true,"ext_groups":true,"ext_is_admin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"map_user_id_to_id":false,"email":true,"profile":true,"scope":["email","profile"],"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1674668511","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/0Gzf3l2h","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1674668511"]}'
+ body: '{"id":"con_iJf7zQKi1LHgzKoM","options":{"domain":"example.com","tenant_domain":"example.com","basic_profile":true,"ext_profile":true,"ext_groups":true,"ext_is_admin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"map_user_id_to_id":false,"email":true,"profile":true,"scope":["email","profile"],"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1714039090","provisioning_ticket_url":"https://login.us.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/EGqzsZGc","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 148.94875ms
+ duration: 424.161083ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TcuZVn6PZjcIKeab
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_iJf7zQKi1LHgzKoM
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:28.069Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:13.787Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 193.856042ms
+ duration: 341.964375ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_GoogleOAuth2_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_GoogleOAuth2_Connection.yaml
index 5daa6a09..78967b96 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_GoogleOAuth2_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_GoogleOAuth2_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleOAuth2-Connection-1674668511","strategy":"google-oauth2","options":{"allowed_audiences":["example.com","api.example.com"],"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-GoogleOAuth2-Connection-1714039090","strategy":"google-oauth2","options":{"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 462
uncompressed: false
- body: '{"id":"con_KFlTdcjrZUE0epFX","options":{"allowed_audiences":["example.com","api.example.com"],"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"email":true,"scope":["profile","https://www.googleapis.com/auth/calendar","email"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1674668511"]}'
+ body: '{"id":"con_Sa4O6pSH5FKgxMr6","options":{"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"],"email":true,"scope":["profile","https://www.googleapis.com/auth/calendar","email"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1714039090","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 131.516583ms
+ duration: 402.828ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_KFlTdcjrZUE0epFX
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Sa4O6pSH5FKgxMr6
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:27.767Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:13.042Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 146.21625ms
+ duration: 700.637958ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_LinkedIn_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_LinkedIn_Connection.yaml
index 7232b88f..bd30a03e 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_LinkedIn_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_LinkedIn_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-LinkedIn-Connection-1674668511","strategy":"linkedin","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-LinkedIn-Connection-1714039090","strategy":"linkedin","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 306
uncompressed: false
- body: '{"id":"con_mOMPbi7TWQtyWndF","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"profile":true,"scope":["r_basicprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1674668511"]}'
+ body: '{"id":"con_yU1dsr25pBOE4KoF","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"profile":true,"scope":["r_basicprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1714039090","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 241.789084ms
+ duration: 304.820042ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_mOMPbi7TWQtyWndF
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_yU1dsr25pBOE4KoF
method: DELETE
response:
proto: HTTP/2.0
@@ -63,12 +63,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:58:19.609Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 165.032792ms
+ status: 202 Accepted
+ code: 202
+ duration: 288.470875ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_OIDC_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_OIDC_Connection.yaml
index 83dfdefa..26501651 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_OIDC_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_OIDC_Connection.yaml
@@ -6,20 +6,20 @@ interactions:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 394
+ content_length: 456
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-OIDC-Connection-1674668511","strategy":"oidc","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":null,"authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","type":null,"userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-OIDC-Connection-1714039090","strategy":"oidc","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://example.com//.well-known/openid-configuration","authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","type":"front_channel","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,15 +28,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 599
+ content_length: 601
uncompressed: false
- body: '{"id":"con_q20iJLSqDmjMGy1D","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":null,"authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","type":"front_channel","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"oidc","name":"Test-OIDC-Connection-1674668511","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1674668511","enabled_clients":[],"realms":["Test-OIDC-Connection-1674668511"]}'
+ body: '{"id":"con_gwUQcKszoR4YzqJh","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://example.com//.well-known/openid-configuration","authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","type":"front_channel","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"oidc","name":"Test-OIDC-Connection-1714039090","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-OIDC-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 6.237137875s
+ duration: 466.066583ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_q20iJLSqDmjMGy1D
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_gwUQcKszoR4YzqJh
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:44.313Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:25.239Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 252.165584ms
+ duration: 1.0150705s
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Okta_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Okta_Connection.yaml
index 0a5abd8d..d618bcaa 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Okta_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Okta_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1674668511","strategy":"okta","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","domain":"domain.okta.com","authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Okta-Connection-1714039090","strategy":"okta","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","domain":"domain.okta.com","authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,15 +28,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 687
+ content_length: -1
uncompressed: false
- body: '{"id":"con_xSoqAdBdR6y6ufdN","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","domain":"domain.okta.com","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","token_endpoint":"https://domain.okta.com/oauth2/v1/token","scope":"openid profile","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"okta","name":"Test-Okta-Connection-1674668511","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Okta-Connection-1674668511"]}'
+ body: '{"id":"con_UNM36xniapct7Fdg","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","domain":"domain.okta.com","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","token_endpoint":"https://domain.okta.com/oauth2/v1/token","scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}},"oidc_metadata":{"issuer":"https://domain.okta.com","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","token_endpoint":"https://domain.okta.com/oauth2/v1/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"subject_types_supported":["public"],"id_token_signing_alg_values_supported":["RS256"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"code_challenge_methods_supported":["S256"],"introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","request_parameter_supported":true,"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","dpop_signing_alg_values_supported":["RS256","RS384","RS512","ES256","ES384","ES512"]}},"strategy":"okta","name":"Test-Okta-Connection-1714039090","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Okta-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 753.129042ms
+ duration: 2.004119209s
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_xSoqAdBdR6y6ufdN
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_UNM36xniapct7Fdg
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:45.307Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:27.774Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 246.875292ms
+ duration: 294.757417ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Ping_Federate_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Ping_Federate_Connection.yaml
index 115fba94..745ff8f9 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Ping_Federate_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Ping_Federate_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Ping-Federate-Connection-1678372717","strategy":"pingfederate","options":{"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com"}}
+ {"name":"Test-Ping-Federate-Connection-1714039090","strategy":"pingfederate","options":{"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com"}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_R96acQao7HOUjVnE","options":{"digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com","signInEndpoint":"https://ping.example.com","expires":"2010-09-09T22:05:43.000Z","subject":{"countryName":"AU","stateOrProvinceName":"Some-State","organizationName":"Internet Widgits Pty Ltd","commonName":"europa.sfo.corp.google.com"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----"},"strategy":"pingfederate","name":"Test-Ping-Federate-Connection-1678372717","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/mw8OUGSy","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1678372717"]}'
+ body: '{"id":"con_zb1phW3cVWRcc1Z8","options":{"digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com","signInEndpoint":"https://ping.example.com","expires":"2010-09-09T22:05:43.000Z","subject":{"countryName":"AU","stateOrProvinceName":"Some-State","organizationName":"Internet Widgits Pty Ltd","commonName":"europa.sfo.corp.google.com"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----"},"strategy":"pingfederate","name":"Test-Ping-Federate-Connection-1714039090","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/pingfederate/Xpsski7H","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 355.842625ms
+ duration: 309.462875ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_R96acQao7HOUjVnE
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_zb1phW3cVWRcc1Z8
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-03-09T14:38:38.467Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:28.392Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 142.75ms
+ duration: 304.251458ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_SAML_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_SAML_Connection.yaml
index a963ed29..93b78d2d 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_SAML_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_SAML_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SAML-Connection-1690280896","strategy":"samlp","options":{"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","fieldsMap":{"email":"EmailAddress","family_name":"LastName","given_name":"FirstName"},"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-SAML-Connection-1714039090","strategy":"samlp","options":{"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","fieldsMap":{"email":"EmailAddress","family_name":"LastName","given_name":"FirstName"},"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_ilvCPeyFVv8NrvR0","options":{"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","fieldsMap":{"email":"EmailAddress","family_name":"LastName","given_name":"FirstName"},"upstream_params":{"screen_name":{"alias":"login_hint"}},"expires":"2010-09-09T22:05:43.000Z","subject":{"countryName":"AU","stateOrProvinceName":"Some-State","organizationName":"Internet Widgits Pty Ltd","commonName":"europa.sfo.corp.google.com"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----"},"strategy":"samlp","name":"Test-SAML-Connection-1690280896","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/QjocHwpG","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1690280896"]}'
+ body: '{"id":"con_Kq4CT6aSuGAE2tmh","options":{"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","fieldsMap":{"email":"EmailAddress","family_name":"LastName","given_name":"FirstName"},"upstream_params":{"screen_name":{"alias":"login_hint"}},"expires":"2010-09-09T22:05:43.000Z","subject":{"countryName":"AU","stateOrProvinceName":"Some-State","organizationName":"Internet Widgits Pty Ltd","commonName":"europa.sfo.corp.google.com"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----"},"strategy":"samlp","name":"Test-SAML-Connection-1714039090","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/samlp/TYwMKw5u","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 339.948292ms
+ duration: 338.630541ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ilvCPeyFVv8NrvR0
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Kq4CT6aSuGAE2tmh
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-07-25T10:28:16.521Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:16.520Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 144.648208ms
+ duration: 297.435833ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_SMS_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_SMS_Connection.yaml
index 31913297..833ced20 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_SMS_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_SMS_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SMS-Connection-1674668511","strategy":"sms","options":{"name":"Test-Connection-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","messaging_service_sid":"273248090982390423","disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-SMS-Connection-1714039090","strategy":"sms","options":{"name":"Test-Connection-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","messaging_service_sid":"273248090982390423","disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 606
uncompressed: false
- body: '{"id":"con_D5CYNHkBPXwhcvtu","options":{"name":"Test-Connection-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","messaging_service_sid":"273248090982390423","disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Test-SMS-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1674668511"]}'
+ body: '{"id":"con_iKq24od5UExzvR6v","options":{"name":"Test-Connection-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","messaging_service_sid":"273248090982390423","disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Test-SMS-Connection-1714039090","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 171.869416ms
+ duration: 315.465333ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_D5CYNHkBPXwhcvtu
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_iKq24od5UExzvR6v
method: DELETE
response:
proto: HTTP/2.0
@@ -63,12 +63,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:58:15.065Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 143.876542ms
+ status: 202 Accepted
+ code: 202
+ duration: 319.833583ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_SalesForce_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_SalesForce_Connection.yaml
index e21e0e9d..e76c9358 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_SalesForce_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_SalesForce_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SalesForce-Connection-1674668511","strategy":"salesforce","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-SalesForce-Connection-1714039090","strategy":"salesforce","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 281
uncompressed: false
- body: '{"id":"con_IuEQGpQB7sMM5AOA","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1674668511"]}'
+ body: '{"id":"con_XcQCQDdgps4WlT0E","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1714039090","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 129.610958ms
+ duration: 298.047833ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_IuEQGpQB7sMM5AOA
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_XcQCQDdgps4WlT0E
method: DELETE
response:
proto: HTTP/2.0
@@ -63,12 +63,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:58:23.986Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 143.272208ms
+ status: 202 Accepted
+ code: 202
+ duration: 305.483166ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_WindowsLive_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_WindowsLive_Connection.yaml
index 7fd8042d..f0c852e8 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_WindowsLive_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_WindowsLive_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-WindowsLive-Connection-1674668511","strategy":"windowslive","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-WindowsLive-Connection-1714039090","strategy":"windowslive","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 309
uncompressed: false
- body: '{"id":"con_bRCOH9HFf6hTAVjk","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"signin":true,"scope":["wl.signin"]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1674668511"]}'
+ body: '{"id":"con_OJEwRqLoDmRsrQwX","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"signin":true,"scope":["wl.signin"]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1714039090","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1714039090"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 113.309833ms
+ duration: 996.973917ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_bRCOH9HFf6hTAVjk
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_OJEwRqLoDmRsrQwX
method: DELETE
response:
proto: HTTP/2.0
@@ -63,12 +63,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:58:23.380Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 192.135584ms
+ status: 202 Accepted
+ code: 202
+ duration: 292.195167ms
diff --git a/test/data/recordings/TestConnectionManager_Delete.yaml b/test/data/recordings/TestConnectionManager_Delete.yaml
index f08be318..6b9fa3c8 100644
--- a/test/data/recordings/TestConnectionManager_Delete.yaml
+++ b/test/data/recordings/TestConnectionManager_Delete.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-1674668735","strategy":"auth0"}
+ {"name":"Test-Auth0-Connection-1714039361","strategy":"auth0"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,15 +28,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 325
+ content_length: 520
uncompressed: false
- body: '{"id":"con_Uh1mK3tMnOvprXGz","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1674668735","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1674668735"]}'
+ body: '{"id":"con_eDAiZ1UPsIUzjZZD","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"authentication_methods":{"password":{"enabled":true},"passkey":{"enabled":false}},"passkey_options":{"challenge_ui":"both","progressive_enrollment_enabled":true,"local_enrollment_enabled":true},"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1714039361","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1714039361"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 143.8485ms
+ duration: 719.911542ms
- id: 1
request:
proto: HTTP/1.1
@@ -54,8 +54,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Uh1mK3tMnOvprXGz
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_eDAiZ1UPsIUzjZZD
method: DELETE
response:
proto: HTTP/2.0
@@ -63,35 +63,34 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T10:02:42.108Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 190.307125ms
+ status: 202 Accepted
+ code: 202
+ duration: 307.303583ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Uh1mK3tMnOvprXGz
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_eDAiZ1UPsIUzjZZD
method: GET
response:
proto: HTTP/2.0
@@ -107,7 +106,7 @@ interactions:
- application/json; charset=utf-8
status: 404 Not Found
code: 404
- duration: 92.2415ms
+ duration: 286.915125ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Uh1mK3tMnOvprXGz
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_eDAiZ1UPsIUzjZZD
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 116.961208ms
+ duration: 278.150167ms
diff --git a/test/data/recordings/TestConnectionManager_List.yaml b/test/data/recordings/TestConnectionManager_List.yaml
index b83ddcb1..8a734bb0 100644
--- a/test/data/recordings/TestConnectionManager_List.yaml
+++ b/test/data/recordings/TestConnectionManager_List.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-List-1674668736","strategy":"auth0"}
+ {"name":"Test-Auth0-Connection-List-1714039374","strategy":"auth0"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,34 +28,33 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 335
+ content_length: 530
uncompressed: false
- body: '{"id":"con_uDjgqwHVu4PxYE7U","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-List-1674668736","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-List-1674668736"]}'
+ body: '{"id":"con_DuRWr9eEHgCRBxh5","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"authentication_methods":{"password":{"enabled":true},"passkey":{"enabled":false}},"passkey_options":{"challenge_ui":"both","progressive_enrollment_enabled":true,"local_enrollment_enabled":true},"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-List-1714039374","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-List-1714039374"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 132.511792ms
+ duration: 680.305709ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?fields=id&include_fields=true&include_totals=true&per_page=50
method: GET
response:
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":8,"start":0,"limit":50,"connections":[{"id":"con_HMVQGtsmSqSxkSVh","is_domain_connection":false},{"id":"con_47S3hqmuxbaOvPiB","is_domain_connection":false},{"id":"con_OX3PbtQiHlGEFyjC","is_domain_connection":false},{"id":"con_bj23KQ8QtEd1l4EV","is_domain_connection":false},{"id":"con_AyuS1yvUEQjoFaoX","is_domain_connection":false},{"id":"con_vdBe5gMM9KrNxicl","is_domain_connection":false},{"id":"con_uDjgqwHVu4PxYE7U","is_domain_connection":false},{"id":"con_ftSSLHb0O7rcUGmF","is_domain_connection":false}]}'
+ body: '{"total":5,"start":0,"limit":50,"connections":[{"id":"con_zKW9Xxoj0tFV5LnK","is_domain_connection":false},{"id":"con_hxpwEaue9vG1Nmah","is_domain_connection":false},{"id":"con_DuRWr9eEHgCRBxh5","is_domain_connection":false},{"id":"con_j2mkms4M0wmxNiSx","is_domain_connection":false},{"id":"con_o1RfqDaIvuekh5T5","is_domain_connection":false}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 94.039292ms
+ duration: 280.450917ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_uDjgqwHVu4PxYE7U
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DuRWr9eEHgCRBxh5
method: DELETE
response:
proto: HTTP/2.0
@@ -99,12 +98,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T10:02:56.036Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 150.248708ms
+ status: 202 Accepted
+ code: 202
+ duration: 300.531209ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_ADFS_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_ADFS_Connection.yaml
index 51a6876b..39a31625 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_ADFS_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_ADFS_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-ADFS-Connection-1675099558","strategy":"adfs","options":{"fedMetadataXml":"\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cEntityDescriptor entityID=\"https://example.com\"\n xmlns=\"urn:oasis:names:tc:SAML:2.0:metadata\"\u003e\n \u003cRoleDescriptor xsi:type=\"fed:ApplicationServiceType\"\n protocolSupportEnumeration=\"http://docs.oasis-open.org/wsfed/federation/200706\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:fed=\"http://docs.oasis-open.org/wsfed/federation/200706\"\u003e\n \u003cfed:TargetScopes\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:TargetScopes\u003e\n \u003cfed:ApplicationServiceEndpoint\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/wsfed\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:ApplicationServiceEndpoint\u003e\n \u003cfed:PassiveRequestorEndpoint\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/wsfed\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:PassiveRequestorEndpoint\u003e\n \u003c/RoleDescriptor\u003e\n \u003cIDPSSODescriptor protocolSupportEnumeration=\"urn:oasis:names:tc:SAML:2.0:protocol\"\u003e\n \u003cSingleLogoutService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"https://adfs.provider/sign_out\"/\u003e\n \u003cSingleSignOnService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"https://adfs.provider/sign_in\"/\u003e\n \u003c/IDPSSODescriptor\u003e\n\u003c/EntityDescriptor\u003e\n","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-ADFS-Connection-1714039119","strategy":"adfs","options":{"fedMetadataXml":"\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cEntityDescriptor entityID=\"https://example.com\"\n xmlns=\"urn:oasis:names:tc:SAML:2.0:metadata\"\u003e\n \u003cRoleDescriptor xsi:type=\"fed:ApplicationServiceType\"\n protocolSupportEnumeration=\"http://docs.oasis-open.org/wsfed/federation/200706\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:fed=\"http://docs.oasis-open.org/wsfed/federation/200706\"\u003e\n \u003cfed:TargetScopes\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:TargetScopes\u003e\n \u003cfed:ApplicationServiceEndpoint\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/wsfed\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:ApplicationServiceEndpoint\u003e\n \u003cfed:PassiveRequestorEndpoint\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/wsfed\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:PassiveRequestorEndpoint\u003e\n \u003c/RoleDescriptor\u003e\n \u003cIDPSSODescriptor protocolSupportEnumeration=\"urn:oasis:names:tc:SAML:2.0:protocol\"\u003e\n \u003cSingleLogoutService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"https://adfs.provider/sign_out\"/\u003e\n \u003cSingleSignOnService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"https://adfs.provider/sign_in\"/\u003e\n \u003c/IDPSSODescriptor\u003e\n\u003c/EntityDescriptor\u003e\n","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_vfghlk5WOESlXbdR","options":{"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n","upstream_params":{"screen_name":{"alias":"login_hint"}},"thumbprints":[],"signInEndpoint":"https://adfs.provider/wsfed","should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Test-ADFS-Connection-1675099558","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/mjtVfNWe","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1675099558"]}'
+ body: '{"id":"con_Pf8jZhMH5fUfas7S","options":{"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n","upstream_params":{"screen_name":{"alias":"login_hint"}},"thumbprints":[],"signInEndpoint":"https://adfs.provider/wsfed","should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Test-ADFS-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/adfs/agYNWXCB","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 1.757118375s
+ duration: 1.828168125s
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_vfghlk5WOESlXbdR
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Pf8jZhMH5fUfas7S
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_vfghlk5WOESlXbdR","options":{"thumbprints":[],"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n","signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Test-ADFS-Connection-1675099558","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/mjtVfNWe","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1675099558"]}'
+ body: '{"id":"con_Pf8jZhMH5fUfas7S","options":{"thumbprints":[],"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n","signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Test-ADFS-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/adfs/agYNWXCB","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 167.136542ms
+ duration: 283.031666ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_vfghlk5WOESlXbdR
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Pf8jZhMH5fUfas7S
method: DELETE
response:
proto: HTTP/2.0
@@ -99,15 +98,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:58:57.761Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 225.648125ms
+ status: 202 Accepted
+ code: 202
+ duration: 359.249042ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_vfghlk5WOESlXbdR
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Pf8jZhMH5fUfas7S
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 143.929333ms
+ duration: 281.2415ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_AD_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_AD_Connection.yaml
index 878e96d4..957f34f2 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_AD_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_AD_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-AD-Connection-1674668511","strategy":"ad","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-AD-Connection-1714039119","strategy":"ad","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,35 +28,34 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 408
+ content_length: 407
uncompressed: false
- body: '{"id":"con_wonErjgQhxlKPXzd","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1674668511","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/ydwBxeneYYppAZFd6c6caYZfaUNLxfLd","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1674668511"]}'
+ body: '{"id":"con_liiPTODci0164g0d","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/ad/d8yQjHWI7ZmcelIM8QCz7PqVZTPRHS6d","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 125.331417ms
+ duration: 312.809166ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_wonErjgQhxlKPXzd
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_liiPTODci0164g0d
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_wonErjgQhxlKPXzd","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1674668511","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/ydwBxeneYYppAZFd6c6caYZfaUNLxfLd","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1674668511"]}'
+ body: '{"id":"con_liiPTODci0164g0d","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/ad/d8yQjHWI7ZmcelIM8QCz7PqVZTPRHS6d","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 99.9145ms
+ duration: 287.541791ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_wonErjgQhxlKPXzd
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_liiPTODci0164g0d
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:02.746Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:54.400Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 150.491875ms
+ duration: 287.127875ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_wonErjgQhxlKPXzd
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_liiPTODci0164g0d
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 170.692167ms
+ duration: 904.360708ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Apple_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Apple_Connection.yaml
index 69a4125b..01b2c417 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Apple_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Apple_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Apple-Connection-1674668511","strategy":"apple","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Apple-Connection-1714039119","strategy":"apple","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 255
uncompressed: false
- body: '{"id":"con_XrDF8QYS8W7r8AHT","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1674668511"]}'
+ body: '{"id":"con_ulUkCQdIpt4Rc35k","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 120.009083ms
+ duration: 279.609083ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_XrDF8QYS8W7r8AHT
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ulUkCQdIpt4Rc35k
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_XrDF8QYS8W7r8AHT","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1674668511"]}'
+ body: '{"id":"con_ulUkCQdIpt4Rc35k","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 6.18877125s
+ duration: 1.008866583s
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_XrDF8QYS8W7r8AHT
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ulUkCQdIpt4Rc35k
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:09.871Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:01.023Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 552.3715ms
+ duration: 291.508625ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_XrDF8QYS8W7r8AHT
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ulUkCQdIpt4Rc35k
method: DELETE
response:
proto: HTTP/2.0
@@ -134,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:59:01.023Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 108.66775ms
+ status: 202 Accepted
+ code: 202
+ duration: 286.908542ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Auth0_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Auth0_Connection.yaml
index 8cdcc120..9d1449d0 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Auth0_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Auth0_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-1674668511","strategy":"auth0","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Auth0-Connection-1714039119","strategy":"auth0","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,35 +28,34 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 382
+ content_length: 577
uncompressed: false
- body: '{"id":"con_hV9OiBXn2n4MvXJ0","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1674668511"]}'
+ body: '{"id":"con_5AsdYqbYZK1UHvJG","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"authentication_methods":{"password":{"enabled":true},"passkey":{"enabled":false}},"passkey_options":{"challenge_ui":"both","progressive_enrollment_enabled":true,"local_enrollment_enabled":true},"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 143.151083ms
+ duration: 676.395708ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_hV9OiBXn2n4MvXJ0
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_5AsdYqbYZK1UHvJG
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_hV9OiBXn2n4MvXJ0","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1674668511"]}'
+ body: '{"id":"con_5AsdYqbYZK1UHvJG","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 142.432ms
+ duration: 278.576333ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_hV9OiBXn2n4MvXJ0
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_5AsdYqbYZK1UHvJG
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:45.771Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:40.979Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 128.033084ms
+ duration: 718.49725ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_hV9OiBXn2n4MvXJ0
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_5AsdYqbYZK1UHvJG
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 80.385625ms
+ duration: 296.858084ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Custom_SMS_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Custom_SMS_Connection.yaml
index 42d37f5f..8aaadd99 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Custom_SMS_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Custom_SMS_Connection.yaml
@@ -6,20 +6,20 @@ interactions:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 610
+ content_length: 635
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Custom-SMS-Connection-1674668511","strategy":"sms","options":{"name":"Test-Connection-Custom-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"provider":"sms_gateway","gateway_url":"https://test.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret":"my-secret","secret_base64_encoded":false},"forward_request_info":true,"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Custom-SMS-Connection-1714039119","strategy":"sms","options":{"name":"Test-Connection-Custom-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"messaging_service_sid":null,"provider":"sms_gateway","gateway_url":"https://test.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret":"my-secret","secret_base64_encoded":false},"forward_req_info":true,"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,35 +28,34 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 738
+ content_length: 763
uncompressed: false
- body: '{"id":"con_MJv8NDekDjiQXoZP","options":{"name":"Test-Connection-Custom-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"provider":"sms_gateway","gateway_url":"https://test.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret":"my-secret","secret_base64_encoded":false},"forward_request_info":true,"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Test-Custom-SMS-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1674668511"]}'
+ body: '{"id":"con_kg5g3CWVxE01lql9","options":{"name":"Test-Connection-Custom-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"messaging_service_sid":null,"provider":"sms_gateway","gateway_url":"https://test.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret":"my-secret","secret_base64_encoded":false},"forward_req_info":true,"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Test-Custom-SMS-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 157.739417ms
+ duration: 533.0365ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MJv8NDekDjiQXoZP
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_kg5g3CWVxE01lql9
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_MJv8NDekDjiQXoZP","options":{"from":"+17777777777","name":"Test-Connection-Custom-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","provider":"sms_gateway","template":"Your verification code is { code }}","gateway_url":"https://test.com/sms-gateway","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"forward_request_info":true,"brute_force_protection":true,"gateway_authentication":{"method":"bearer","secret":"my-secret","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret_base64_encoded":false}},"strategy":"sms","name":"Test-Custom-SMS-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1674668511"]}'
+ body: '{"id":"con_kg5g3CWVxE01lql9","options":{"from":"+17777777777","name":"Test-Connection-Custom-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","provider":"sms_gateway","template":"Your verification code is { code }}","gateway_url":"https://test.com/sms-gateway","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"forward_req_info":true,"messaging_service_sid":null,"brute_force_protection":true,"gateway_authentication":{"method":"bearer","secret":"my-secret","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret_base64_encoded":false}},"strategy":"sms","name":"Test-Custom-SMS-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 139.246833ms
+ duration: 321.263833ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MJv8NDekDjiQXoZP
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_kg5g3CWVxE01lql9
method: DELETE
response:
proto: HTTP/2.0
@@ -99,15 +98,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:58:50.789Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 148.812792ms
+ status: 202 Accepted
+ code: 202
+ duration: 532.929208ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MJv8NDekDjiQXoZP
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_kg5g3CWVxE01lql9
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 90.825084ms
+ duration: 1.111852833s
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Email_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Email_Connection.yaml
index 5ea0b9f2..797cb595 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Email_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Email_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Email-Connection-1674668511","strategy":"email","options":{"name":"Test-Connection-Email","email":{"syntax":"liquid","from":"{{application.name}} \u003ctest@example.com\u003e","subject":"Email Login - {{application.name}}","body":"\u003chtml\u003e\u003cbody\u003eemail contents\u003c/body\u003e\u003c/html\u003e"},"totp":{"time_step":100,"length":4},"authParams":{"scope":"openid profile"},"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Email-Connection-1714039119","strategy":"email","options":{"name":"Test-Connection-Email","email":{"syntax":"liquid","from":"{{application.name}} \u003ctest@example.com\u003e","subject":"Email Login - {{application.name}}","body":"\u003chtml\u003e\u003cbody\u003eemail contents\u003c/body\u003e\u003c/html\u003e"},"totp":{"time_step":100,"length":4},"authParams":{"scope":"openid profile"},"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 588
uncompressed: false
- body: '{"id":"con_SV8SqIxMb1tu8BZG","options":{"name":"Test-Connection-Email","email":{"syntax":"liquid","from":"{{application.name}} ","subject":"Email Login - {{application.name}}","body":"email contents"},"totp":{"time_step":100,"length":4},"authParams":{"scope":"openid profile"},"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"email","name":"Test-Email-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1674668511"]}'
+ body: '{"id":"con_MWvrzZGqfpZdjojf","options":{"name":"Test-Connection-Email","email":{"syntax":"liquid","from":"{{application.name}} ","subject":"Email Login - {{application.name}}","body":"email contents"},"totp":{"time_step":100,"length":4},"authParams":{"scope":"openid profile"},"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"email","name":"Test-Email-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 112.164125ms
+ duration: 1.83537625s
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_SV8SqIxMb1tu8BZG
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MWvrzZGqfpZdjojf
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_SV8SqIxMb1tu8BZG","options":{"name":"Test-Connection-Email","totp":{"length":4,"time_step":100},"email":{"body":"email contents","from":"{{application.name}} ","syntax":"liquid","subject":"Email Login - {{application.name}}"},"authParams":{"scope":"openid profile"},"disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"brute_force_protection":true},"strategy":"email","name":"Test-Email-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1674668511"]}'
+ body: '{"id":"con_MWvrzZGqfpZdjojf","options":{"name":"Test-Connection-Email","totp":{"length":4,"time_step":100},"email":{"body":"email contents","from":"{{application.name}} ","syntax":"liquid","subject":"Email Login - {{application.name}}"},"authParams":{"scope":"openid profile"},"disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"brute_force_protection":true},"strategy":"email","name":"Test-Email-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 122.565791ms
+ duration: 284.650959ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_SV8SqIxMb1tu8BZG
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MWvrzZGqfpZdjojf
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:54.462Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:47.235Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 133.117291ms
+ duration: 303.03975ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_SV8SqIxMb1tu8BZG
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MWvrzZGqfpZdjojf
method: DELETE
response:
proto: HTTP/2.0
@@ -134,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:58:47.235Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 96.065375ms
+ status: 202 Accepted
+ code: 202
+ duration: 296.719333ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Facebook_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Facebook_Connection.yaml
index bfd332f4..df231f2c 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Facebook_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Facebook_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Facebook-Connection-1674668511","strategy":"facebook","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Facebook-Connection-1714039119","strategy":"facebook","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 275
uncompressed: false
- body: '{"id":"con_Rz8A0PsuLuNTS3wz","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1674668511"]}'
+ body: '{"id":"con_rEOcYHfO6hayZeVf","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 136.696834ms
+ duration: 290.859541ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Rz8A0PsuLuNTS3wz
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_rEOcYHfO6hayZeVf
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_Rz8A0PsuLuNTS3wz","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1674668511"]}'
+ body: '{"id":"con_rEOcYHfO6hayZeVf","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 93.340416ms
+ duration: 270.879958ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Rz8A0PsuLuNTS3wz
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_rEOcYHfO6hayZeVf
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:03.307Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:58.910Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 146.4925ms
+ duration: 538.240583ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Rz8A0PsuLuNTS3wz
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_rEOcYHfO6hayZeVf
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 104.534792ms
+ duration: 277.320666ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_GitHub_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_GitHub_Connection.yaml
index ab69e8ee..6c26eeef 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_GitHub_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_GitHub_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GitHub-Connection-1674668511","strategy":"github","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-GitHub-Connection-1714039119","strategy":"github","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 269
uncompressed: false
- body: '{"id":"con_6fRy9MnOD9HBc5vB","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1674668511"]}'
+ body: '{"id":"con_pKErIJOvmCDBHDmu","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 254.175208ms
+ duration: 6.770864333s
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6fRy9MnOD9HBc5vB
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pKErIJOvmCDBHDmu
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_6fRy9MnOD9HBc5vB","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1674668511"]}'
+ body: '{"id":"con_pKErIJOvmCDBHDmu","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 105.10375ms
+ duration: 290.357042ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6fRy9MnOD9HBc5vB
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pKErIJOvmCDBHDmu
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:11.742Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:10.517Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 128.74125ms
+ duration: 940.935583ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6fRy9MnOD9HBc5vB
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pKErIJOvmCDBHDmu
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 96.535416ms
+ duration: 291.931083ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_GoogleApps_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_GoogleApps_Connection.yaml
index 23cccf1d..a2a37364 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_GoogleApps_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_GoogleApps_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleApps-Connection-1674668511","strategy":"google-apps","options":{"domain":"example.com","tenant_domain":"example.com","basic_profile":true,"ext_profile":true,"ext_groups":true,"ext_is_admin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-GoogleApps-Connection-1714039119","strategy":"google-apps","options":{"domain":"example.com","tenant_domain":"example.com","basic_profile":true,"ext_profile":true,"ext_groups":true,"ext_is_admin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,35 +28,34 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 628
+ content_length: 627
uncompressed: false
- body: '{"id":"con_akAPxlcT6vPHgYiM","options":{"domain":"example.com","tenant_domain":"example.com","basic_profile":true,"ext_profile":true,"ext_groups":true,"ext_is_admin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"map_user_id_to_id":false,"email":true,"profile":true,"scope":["email","profile"],"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1674668511","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/GRMzTunm","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1674668511"]}'
+ body: '{"id":"con_i0BNiwITSWk1tFSh","options":{"domain":"example.com","tenant_domain":"example.com","basic_profile":true,"ext_profile":true,"ext_groups":true,"ext_is_admin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"map_user_id_to_id":false,"email":true,"profile":true,"scope":["email","profile"],"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1714039119","provisioning_ticket_url":"https://login.us.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/8zC73qIN","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 201.711375ms
+ duration: 373.794375ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_akAPxlcT6vPHgYiM
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_i0BNiwITSWk1tFSh
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_akAPxlcT6vPHgYiM","options":{"email":true,"scope":["email","profile"],"domain":"example.com","profile":true,"ext_groups":true,"ext_profile":true,"ext_is_admin":true,"basic_profile":true,"tenant_domain":"example.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"map_user_id_to_id":false,"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1674668511","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/GRMzTunm","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1674668511"]}'
+ body: '{"id":"con_i0BNiwITSWk1tFSh","options":{"email":true,"scope":["email","profile"],"domain":"example.com","profile":true,"ext_groups":true,"ext_profile":true,"ext_is_admin":true,"basic_profile":true,"tenant_domain":"example.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"map_user_id_to_id":false,"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1714039119","provisioning_ticket_url":"https://login.us.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/8zC73qIN","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 90.039ms
+ duration: 940.760291ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_akAPxlcT6vPHgYiM
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_i0BNiwITSWk1tFSh
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:46.889Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:44.527Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 130.012625ms
+ duration: 283.51875ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_akAPxlcT6vPHgYiM
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_i0BNiwITSWk1tFSh
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 7.203448375s
+ duration: 281.428125ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_GoogleOAuth2_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_GoogleOAuth2_Connection.yaml
index 2083576b..eff1f045 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_GoogleOAuth2_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_GoogleOAuth2_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleOAuth2-Connection-1674668511","strategy":"google-oauth2","options":{"allowed_audiences":["example.com","api.example.com"],"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-GoogleOAuth2-Connection-1714039119","strategy":"google-oauth2","options":{"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 462
uncompressed: false
- body: '{"id":"con_lFH8MLnnmAHtFxbQ","options":{"allowed_audiences":["example.com","api.example.com"],"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"email":true,"scope":["profile","https://www.googleapis.com/auth/calendar","email"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1674668511"]}'
+ body: '{"id":"con_YuZ7vqMV4QOsZNcf","options":{"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"],"email":true,"scope":["profile","https://www.googleapis.com/auth/calendar","email"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 116.931ms
+ duration: 309.303ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_lFH8MLnnmAHtFxbQ
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_YuZ7vqMV4QOsZNcf
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_lFH8MLnnmAHtFxbQ","options":{"email":true,"scope":["profile","https://www.googleapis.com/auth/calendar","email"],"profile":true,"youtube":false,"calendar":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1674668511"]}'
+ body: '{"id":"con_YuZ7vqMV4QOsZNcf","options":{"email":true,"scope":["profile","https://www.googleapis.com/auth/calendar","email"],"profile":true,"youtube":false,"calendar":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 100.9765ms
+ duration: 298.592416ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_lFH8MLnnmAHtFxbQ
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_YuZ7vqMV4QOsZNcf
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:46.313Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:42.414Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 243.333625ms
+ duration: 298.447291ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_lFH8MLnnmAHtFxbQ
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_YuZ7vqMV4QOsZNcf
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 146.254083ms
+ duration: 504.469167ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_LinkedIn_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_LinkedIn_Connection.yaml
index 9291f38c..a3a4c7ab 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_LinkedIn_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_LinkedIn_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-LinkedIn-Connection-1674668511","strategy":"linkedin","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-LinkedIn-Connection-1714039119","strategy":"linkedin","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 306
uncompressed: false
- body: '{"id":"con_mV9KDohTHdQ9ZzEE","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"profile":true,"scope":["r_basicprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1674668511"]}'
+ body: '{"id":"con_nfU32kQA3KQ7ihtY","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"profile":true,"scope":["r_basicprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 376.893584ms
+ duration: 929.889834ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_mV9KDohTHdQ9ZzEE
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_nfU32kQA3KQ7ihtY
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_mV9KDohTHdQ9ZzEE","options":{"scope":["r_basicprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1674668511"]}'
+ body: '{"id":"con_nfU32kQA3KQ7ihtY","options":{"scope":["r_basicprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 252.735042ms
+ duration: 289.014083ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_mV9KDohTHdQ9ZzEE
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_nfU32kQA3KQ7ihtY
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:11.151Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:02.820Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 132.3565ms
+ duration: 281.665084ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_mV9KDohTHdQ9ZzEE
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_nfU32kQA3KQ7ihtY
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 90.26425ms
+ duration: 340.3295ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_OIDC_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_OIDC_Connection.yaml
index 62d7c650..c87f293a 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_OIDC_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_OIDC_Connection.yaml
@@ -6,20 +6,20 @@ interactions:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 394
+ content_length: 456
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-OIDC-Connection-1674668511","strategy":"oidc","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":null,"authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","type":null,"userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-OIDC-Connection-1714039119","strategy":"oidc","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://example.com//.well-known/openid-configuration","authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","type":"front_channel","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,35 +28,34 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 599
+ content_length: 601
uncompressed: false
- body: '{"id":"con_4BuDptdUefqhERBM","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":null,"authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","type":"front_channel","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"oidc","name":"Test-OIDC-Connection-1674668511","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1674668511","enabled_clients":[],"realms":["Test-OIDC-Connection-1674668511"]}'
+ body: '{"id":"con_y7zUsbV329xFLrMO","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://example.com//.well-known/openid-configuration","authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","type":"front_channel","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"oidc","name":"Test-OIDC-Connection-1714039119","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-OIDC-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 126.490459ms
+ duration: 608.625625ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_4BuDptdUefqhERBM
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_y7zUsbV329xFLrMO
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_4BuDptdUefqhERBM","options":{"type":"front_channel","scope":"openid","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":null,"token_endpoint":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":null,"authorization_endpoint":"https://example.com"},"strategy":"oidc","name":"Test-OIDC-Connection-1674668511","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1674668511","enabled_clients":[],"realms":["Test-OIDC-Connection-1674668511"]}'
+ body: '{"id":"con_y7zUsbV329xFLrMO","options":{"type":"front_channel","scope":"openid","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://example.com//.well-known/openid-configuration","token_endpoint":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":null,"authorization_endpoint":"https://example.com"},"strategy":"oidc","name":"Test-OIDC-Connection-1714039119","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-OIDC-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 98.843625ms
+ duration: 303.0795ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_4BuDptdUefqhERBM
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_y7zUsbV329xFLrMO
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:19.930Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:15.016Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 156.815083ms
+ duration: 282.691833ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_4BuDptdUefqhERBM
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_y7zUsbV329xFLrMO
method: DELETE
response:
proto: HTTP/2.0
@@ -134,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:59:15.016Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 141.369917ms
+ status: 202 Accepted
+ code: 202
+ duration: 289.665792ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Okta_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Okta_Connection.yaml
index 8630d9e5..eb8be846 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Okta_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Okta_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1674668511","strategy":"okta","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","domain":"domain.okta.com","authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Okta-Connection-1714039119","strategy":"okta","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","domain":"domain.okta.com","authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,35 +28,34 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 687
+ content_length: -1
uncompressed: false
- body: '{"id":"con_Du1PgUMeKLurG0Gt","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","domain":"domain.okta.com","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","token_endpoint":"https://domain.okta.com/oauth2/v1/token","scope":"openid profile","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"okta","name":"Test-Okta-Connection-1674668511","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Okta-Connection-1674668511"]}'
+ body: '{"id":"con_8lirb7WPfkQCJbHO","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","domain":"domain.okta.com","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","token_endpoint":"https://domain.okta.com/oauth2/v1/token","scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}},"oidc_metadata":{"issuer":"https://domain.okta.com","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","token_endpoint":"https://domain.okta.com/oauth2/v1/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"subject_types_supported":["public"],"id_token_signing_alg_values_supported":["RS256"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"code_challenge_methods_supported":["S256"],"introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","request_parameter_supported":true,"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","dpop_signing_alg_values_supported":["RS256","RS384","RS512","ES256","ES384","ES512"]}},"strategy":"okta","name":"Test-Okta-Connection-1714039119","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Okta-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 725.921833ms
+ duration: 530.491167ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Du1PgUMeKLurG0Gt
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_8lirb7WPfkQCJbHO
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_Du1PgUMeKLurG0Gt","options":{"scope":"openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","token_endpoint":"https://domain.okta.com/oauth2/v1/token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize"},"strategy":"okta","name":"Test-Okta-Connection-1674668511","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Okta-Connection-1674668511"]}'
+ body: '{"id":"con_8lirb7WPfkQCJbHO","options":{"scope":"openid","domain":"domain.okta.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","code_challenge_methods_supported":["S256"],"dpop_signing_alg_values_supported":["RS256","RS384","RS512","ES256","ES384","ES512"],"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"token_endpoint":"https://domain.okta.com/oauth2/v1/token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize"},"strategy":"okta","name":"Test-Okta-Connection-1714039119","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Okta-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 90.8885ms
+ duration: 275.73625ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Du1PgUMeKLurG0Gt
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_8lirb7WPfkQCJbHO
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:21.054Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:16.423Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 131.217291ms
+ duration: 306.130625ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Du1PgUMeKLurG0Gt
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_8lirb7WPfkQCJbHO
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 95.265083ms
+ duration: 279.331084ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Ping_Federate_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Ping_Federate_Connection.yaml
index f4bcc2b0..73cb7d40 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Ping_Federate_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Ping_Federate_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Ping-Federate-Connection-1678372744","strategy":"pingfederate","options":{"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com"}}
+ {"name":"Test-Ping-Federate-Connection-1714039119","strategy":"pingfederate","options":{"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com"}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_7q53TRfAGRRMshAO","options":{"digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com","signInEndpoint":"https://ping.example.com","expires":"2010-09-09T22:05:43.000Z","subject":{"countryName":"AU","stateOrProvinceName":"Some-State","organizationName":"Internet Widgits Pty Ltd","commonName":"europa.sfo.corp.google.com"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----"},"strategy":"pingfederate","name":"Test-Ping-Federate-Connection-1678372744","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/psIoTLpq","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1678372744"]}'
+ body: '{"id":"con_3IDb76XUJe64wte9","options":{"digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com","signInEndpoint":"https://ping.example.com","expires":"2010-09-09T22:05:43.000Z","subject":{"countryName":"AU","stateOrProvinceName":"Some-State","organizationName":"Internet Widgits Pty Ltd","commonName":"europa.sfo.corp.google.com"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----"},"strategy":"pingfederate","name":"Test-Ping-Federate-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/pingfederate/jgCUtTsq","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 369.499875ms
+ duration: 565.412833ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_7q53TRfAGRRMshAO
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3IDb76XUJe64wte9
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_7q53TRfAGRRMshAO","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","expires":"2010-09-09T22:05:43.000Z","subject":{"commonName":"europa.sfo.corp.google.com","countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"signInEndpoint":"https://ping.example.com","digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com"},"strategy":"pingfederate","name":"Test-Ping-Federate-Connection-1678372744","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/psIoTLpq","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1678372744"]}'
+ body: '{"id":"con_3IDb76XUJe64wte9","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","expires":"2010-09-09T22:05:43.000Z","subject":{"commonName":"europa.sfo.corp.google.com","countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"signInEndpoint":"https://ping.example.com","digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com"},"strategy":"pingfederate","name":"Test-Ping-Federate-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/pingfederate/jgCUtTsq","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 172.967209ms
+ duration: 288.681583ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_7q53TRfAGRRMshAO
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3IDb76XUJe64wte9
method: DELETE
response:
proto: HTTP/2.0
@@ -99,15 +98,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:59:17.855Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 153.580917ms
+ status: 202 Accepted
+ code: 202
+ duration: 6.76604075s
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_7q53TRfAGRRMshAO
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3IDb76XUJe64wte9
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 116.072625ms
+ duration: 301.09725ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_SAML_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_SAML_Connection.yaml
index 491b2831..c5d83b93 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_SAML_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_SAML_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SAML-Connection-1690280915","strategy":"samlp","options":{"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","fieldsMap":{"email":"EmailAddress","family_name":"LastName","given_name":"FirstName"},"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-SAML-Connection-1714039119","strategy":"samlp","options":{"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","fieldsMap":{"email":"EmailAddress","family_name":"LastName","given_name":"FirstName"},"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_IhsD9LC6X1dWqt0e","options":{"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","fieldsMap":{"email":"EmailAddress","family_name":"LastName","given_name":"FirstName"},"upstream_params":{"screen_name":{"alias":"login_hint"}},"expires":"2010-09-09T22:05:43.000Z","subject":{"countryName":"AU","stateOrProvinceName":"Some-State","organizationName":"Internet Widgits Pty Ltd","commonName":"europa.sfo.corp.google.com"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----"},"strategy":"samlp","name":"Test-SAML-Connection-1690280915","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/ATHFNfZY","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1690280915"]}'
+ body: '{"id":"con_OOotKswZ4NDuqxD6","options":{"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","fieldsMap":{"email":"EmailAddress","family_name":"LastName","given_name":"FirstName"},"upstream_params":{"screen_name":{"alias":"login_hint"}},"expires":"2010-09-09T22:05:43.000Z","subject":{"countryName":"AU","stateOrProvinceName":"Some-State","organizationName":"Internet Widgits Pty Ltd","commonName":"europa.sfo.corp.google.com"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----"},"strategy":"samlp","name":"Test-SAML-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/samlp/24shvsu0","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 344.254083ms
+ duration: 314.43ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_IhsD9LC6X1dWqt0e
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_OOotKswZ4NDuqxD6
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_IhsD9LC6X1dWqt0e","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","expires":"2010-09-09T22:05:43.000Z","subject":{"commonName":"europa.sfo.corp.google.com","countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"fieldsMap":{"email":"EmailAddress","given_name":"FirstName","family_name":"LastName"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"samlp","name":"Test-SAML-Connection-1690280915","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/ATHFNfZY","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1690280915"]}'
+ body: '{"id":"con_OOotKswZ4NDuqxD6","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","expires":"2010-09-09T22:05:43.000Z","subject":{"commonName":"europa.sfo.corp.google.com","countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"fieldsMap":{"email":"EmailAddress","given_name":"FirstName","family_name":"LastName"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"samlp","name":"Test-SAML-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/samlp/24shvsu0","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 112.326708ms
+ duration: 288.493042ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_IhsD9LC6X1dWqt0e
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_OOotKswZ4NDuqxD6
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-07-25T10:28:36.011Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:53.002Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 273.493209ms
+ duration: 271.65725ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_IhsD9LC6X1dWqt0e
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_OOotKswZ4NDuqxD6
method: DELETE
response:
proto: HTTP/2.0
@@ -134,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 41
+ content_length: 0
uncompressed: false
- body: '{"deleted_at":"2023-07-25T10:28:36.011Z"}'
+ body: ""
headers:
Content-Type:
- application/json; charset=utf-8
- status: 202 Accepted
- code: 202
- duration: 93.722583ms
+ status: 204 No Content
+ code: 204
+ duration: 507.191667ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_SMS_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_SMS_Connection.yaml
index 951a9acc..039108f5 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_SMS_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_SMS_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SMS-Connection-1674668511","strategy":"sms","options":{"name":"Test-Connection-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","messaging_service_sid":"273248090982390423","disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-SMS-Connection-1714039119","strategy":"sms","options":{"name":"Test-Connection-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","messaging_service_sid":"273248090982390423","disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 606
uncompressed: false
- body: '{"id":"con_TNiJApKdswcP2Ra5","options":{"name":"Test-Connection-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","messaging_service_sid":"273248090982390423","disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Test-SMS-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1674668511"]}'
+ body: '{"id":"con_QVhTByAUKCKGFPEe","options":{"name":"Test-Connection-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","messaging_service_sid":"273248090982390423","disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Test-SMS-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 121.435167ms
+ duration: 545.083041ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TNiJApKdswcP2Ra5
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_QVhTByAUKCKGFPEe
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_TNiJApKdswcP2Ra5","options":{"from":"+17777777777","name":"Test-Connection-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","template":"Your verification code is { code }}","authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"messaging_service_sid":"273248090982390423","brute_force_protection":true},"strategy":"sms","name":"Test-SMS-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1674668511"]}'
+ body: '{"id":"con_QVhTByAUKCKGFPEe","options":{"from":"+17777777777","name":"Test-Connection-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","template":"Your verification code is { code }}","authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"messaging_service_sid":"273248090982390423","brute_force_protection":true},"strategy":"sms","name":"Test-SMS-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 111.327625ms
+ duration: 519.649958ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TNiJApKdswcP2Ra5
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_QVhTByAUKCKGFPEe
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:43:54.936Z"}'
+ body: '{"deleted_at":"2024-04-25T09:58:48.906Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 161.585042ms
+ duration: 311.9005ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TNiJApKdswcP2Ra5
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_QVhTByAUKCKGFPEe
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 90.97875ms
+ duration: 701.853209ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_SalesForce_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_SalesForce_Connection.yaml
index a6aad137..80f74294 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_SalesForce_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_SalesForce_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SalesForce-Connection-1674668511","strategy":"salesforce","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-SalesForce-Connection-1714039119","strategy":"salesforce","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 281
uncompressed: false
- body: '{"id":"con_OqPicCLZEP0QysYC","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1674668511"]}'
+ body: '{"id":"con_RVKEsDIRPSWdVIW1","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 118.371958ms
+ duration: 285.587042ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_OqPicCLZEP0QysYC
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_RVKEsDIRPSWdVIW1
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_OqPicCLZEP0QysYC","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1674668511"]}'
+ body: '{"id":"con_RVKEsDIRPSWdVIW1","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 6.243562667s
+ duration: 292.226125ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_OqPicCLZEP0QysYC
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_RVKEsDIRPSWdVIW1
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:19.389Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:13.516Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 234.7455ms
+ duration: 292.118209ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_OqPicCLZEP0QysYC
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_RVKEsDIRPSWdVIW1
method: DELETE
response:
proto: HTTP/2.0
@@ -134,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:59:13.516Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 91.696334ms
+ status: 202 Accepted
+ code: 202
+ duration: 292.393417ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_WindowsLive_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_WindowsLive_Connection.yaml
index 4b0179af..634e77af 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_WindowsLive_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_WindowsLive_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-WindowsLive-Connection-1674668511","strategy":"windowslive","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-WindowsLive-Connection-1714039119","strategy":"windowslive","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 309
uncompressed: false
- body: '{"id":"con_whDz72atKOcA7qbx","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"signin":true,"scope":["wl.signin"]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1674668511"]}'
+ body: '{"id":"con_s20VSSN0ch6UGDsH","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"signin":true,"scope":["wl.signin"]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 124.428708ms
+ duration: 306.423875ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_whDz72atKOcA7qbx
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_s20VSSN0ch6UGDsH
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_whDz72atKOcA7qbx","options":{"scope":["wl.signin"],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1674668511"]}'
+ body: '{"id":"con_s20VSSN0ch6UGDsH","options":{"scope":["wl.signin"],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 98.752417ms
+ duration: 296.549583ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_whDz72atKOcA7qbx
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_s20VSSN0ch6UGDsH
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:12.198Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:12.363Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 727.964708ms
+ duration: 291.101917ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_whDz72atKOcA7qbx
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_s20VSSN0ch6UGDsH
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 86.679458ms
+ duration: 287.7265ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_ADFS_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_ADFS_Connection_by_its_name.yaml
index 7e2a0d0c..15d062c1 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_ADFS_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_ADFS_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-ADFS-Connection-1675099580","strategy":"adfs","options":{"fedMetadataXml":"\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cEntityDescriptor entityID=\"https://example.com\"\n xmlns=\"urn:oasis:names:tc:SAML:2.0:metadata\"\u003e\n \u003cRoleDescriptor xsi:type=\"fed:ApplicationServiceType\"\n protocolSupportEnumeration=\"http://docs.oasis-open.org/wsfed/federation/200706\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:fed=\"http://docs.oasis-open.org/wsfed/federation/200706\"\u003e\n \u003cfed:TargetScopes\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:TargetScopes\u003e\n \u003cfed:ApplicationServiceEndpoint\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/wsfed\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:ApplicationServiceEndpoint\u003e\n \u003cfed:PassiveRequestorEndpoint\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/wsfed\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:PassiveRequestorEndpoint\u003e\n \u003c/RoleDescriptor\u003e\n \u003cIDPSSODescriptor protocolSupportEnumeration=\"urn:oasis:names:tc:SAML:2.0:protocol\"\u003e\n \u003cSingleLogoutService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"https://adfs.provider/sign_out\"/\u003e\n \u003cSingleSignOnService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"https://adfs.provider/sign_in\"/\u003e\n \u003c/IDPSSODescriptor\u003e\n\u003c/EntityDescriptor\u003e\n","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-ADFS-Connection-1714039119","strategy":"adfs","options":{"fedMetadataXml":"\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cEntityDescriptor entityID=\"https://example.com\"\n xmlns=\"urn:oasis:names:tc:SAML:2.0:metadata\"\u003e\n \u003cRoleDescriptor xsi:type=\"fed:ApplicationServiceType\"\n protocolSupportEnumeration=\"http://docs.oasis-open.org/wsfed/federation/200706\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:fed=\"http://docs.oasis-open.org/wsfed/federation/200706\"\u003e\n \u003cfed:TargetScopes\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:TargetScopes\u003e\n \u003cfed:ApplicationServiceEndpoint\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/wsfed\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:ApplicationServiceEndpoint\u003e\n \u003cfed:PassiveRequestorEndpoint\u003e\n \u003cwsa:EndpointReference xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"\u003e\n \u003cwsa:Address\u003ehttps://adfs.provider/wsfed\u003c/wsa:Address\u003e\n \u003c/wsa:EndpointReference\u003e\n \u003c/fed:PassiveRequestorEndpoint\u003e\n \u003c/RoleDescriptor\u003e\n \u003cIDPSSODescriptor protocolSupportEnumeration=\"urn:oasis:names:tc:SAML:2.0:protocol\"\u003e\n \u003cSingleLogoutService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"https://adfs.provider/sign_out\"/\u003e\n \u003cSingleSignOnService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"https://adfs.provider/sign_in\"/\u003e\n \u003c/IDPSSODescriptor\u003e\n\u003c/EntityDescriptor\u003e\n","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_wAZKUoBsNHD1lKjJ","options":{"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n","upstream_params":{"screen_name":{"alias":"login_hint"}},"thumbprints":[],"signInEndpoint":"https://adfs.provider/wsfed","should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Test-ADFS-Connection-1675099580","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/fAHx3pNz","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1675099580"]}'
+ body: '{"id":"con_Eb5a0lw82xSQ7L2R","options":{"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n","upstream_params":{"screen_name":{"alias":"login_hint"}},"thumbprints":[],"signInEndpoint":"https://adfs.provider/wsfed","should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Test-ADFS-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/adfs/boL8bVmA","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 468.490959ms
+ duration: 554.73075ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-ADFS-Connection-1675099580&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-ADFS-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_wAZKUoBsNHD1lKjJ","options":{"thumbprints":[],"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n","signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Test-ADFS-Connection-1675099580","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/fAHx3pNz","is_domain_connection":false,"show_as_button":false,"realms":["Test-ADFS-Connection-1675099580"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_Eb5a0lw82xSQ7L2R","options":{"thumbprints":[],"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n","signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Test-ADFS-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/adfs/boL8bVmA","is_domain_connection":false,"show_as_button":false,"realms":["Test-ADFS-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 167.675208ms
+ duration: 286.625875ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_wAZKUoBsNHD1lKjJ
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Eb5a0lw82xSQ7L2R
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-30T17:26:21.392Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:40.625Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 153.464792ms
+ duration: 300.554541ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_wAZKUoBsNHD1lKjJ
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Eb5a0lw82xSQ7L2R
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 249.92475ms
+ duration: 269.242583ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_AD_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_AD_Connection_by_its_name.yaml
index 42516ad9..99d36a9f 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_AD_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_AD_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-AD-Connection-1674668511","strategy":"ad","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-AD-Connection-1714039119","strategy":"ad","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,35 +28,34 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 408
+ content_length: 407
uncompressed: false
- body: '{"id":"con_4ju1NhMvw9ICNjJE","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1674668511","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/b7ZatF6STujzFHKtr7Vr1TYSc8uaZLbN","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1674668511"]}'
+ body: '{"id":"con_y4u6xzf79w6o7ujq","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/ad/WZ04z8Ta5DVJFrkVO25atdDUpTOpZql5","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 138.326625ms
+ duration: 294.543792ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-AD-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-AD-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_4ju1NhMvw9ICNjJE","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1674668511","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/b7ZatF6STujzFHKtr7Vr1TYSc8uaZLbN","is_domain_connection":false,"show_as_button":false,"realms":["Test-AD-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_y4u6xzf79w6o7ujq","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/ad/WZ04z8Ta5DVJFrkVO25atdDUpTOpZql5","is_domain_connection":false,"show_as_button":false,"realms":["Test-AD-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 124.955709ms
+ duration: 282.695875ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_4ju1NhMvw9ICNjJE
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_y4u6xzf79w6o7ujq
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:43.918Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:39.223Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 6.287673958s
+ duration: 274.557583ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_4ju1NhMvw9ICNjJE
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_y4u6xzf79w6o7ujq
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 96.333667ms
+ duration: 255.857166ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Apple_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Apple_Connection_by_its_name.yaml
index aa52c96a..dd992e22 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Apple_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Apple_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Apple-Connection-1674668511","strategy":"apple","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Apple-Connection-1714039119","strategy":"apple","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 255
uncompressed: false
- body: '{"id":"con_s5tX8vQW9sqvOVc4","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1674668511"]}'
+ body: '{"id":"con_QQWSQL3NBr7jFMgR","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 130.25875ms
+ duration: 297.382458ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Apple-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Apple-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_s5tX8vQW9sqvOVc4","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1674668511","is_domain_connection":false,"realms":["Test-Apple-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_QQWSQL3NBr7jFMgR","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1714039119","is_domain_connection":false,"realms":["Test-Apple-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 127.09025ms
+ duration: 295.378ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_s5tX8vQW9sqvOVc4
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_QQWSQL3NBr7jFMgR
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:45.051Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:42.941Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 193.113042ms
+ duration: 311.191417ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_s5tX8vQW9sqvOVc4
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_QQWSQL3NBr7jFMgR
method: DELETE
response:
proto: HTTP/2.0
@@ -134,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:59:42.941Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 102.252541ms
+ status: 202 Accepted
+ code: 202
+ duration: 276.171ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Auth0_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Auth0_Connection_by_its_name.yaml
index 0af74484..3b96a3ce 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Auth0_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Auth0_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-1674668511","strategy":"auth0","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Auth0-Connection-1714039119","strategy":"auth0","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,35 +28,34 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 382
+ content_length: 577
uncompressed: false
- body: '{"id":"con_XGFArx5uRjJQ0w44","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1674668511"]}'
+ body: '{"id":"con_tfZFr7R6TuERRgdX","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"authentication_methods":{"password":{"enabled":true},"passkey":{"enabled":false}},"passkey_options":{"challenge_ui":"both","progressive_enrollment_enabled":true,"local_enrollment_enabled":true},"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 130.722708ms
+ duration: 307.732ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Auth0-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Auth0-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_XGFArx5uRjJQ0w44","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1674668511","is_domain_connection":false,"realms":["Test-Auth0-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_tfZFr7R6TuERRgdX","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1714039119","is_domain_connection":false,"realms":["Test-Auth0-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 114.928041ms
+ duration: 294.977125ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_XGFArx5uRjJQ0w44
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_tfZFr7R6TuERRgdX
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:21.537Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:25.529Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 149.609ms
+ duration: 282.262625ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_XGFArx5uRjJQ0w44
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_tfZFr7R6TuERRgdX
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 6.211486125s
+ duration: 268.172333ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Custom_SMS_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Custom_SMS_Connection_by_its_name.yaml
index dd71c9dc..d6dbe343 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Custom_SMS_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Custom_SMS_Connection_by_its_name.yaml
@@ -6,20 +6,20 @@ interactions:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 610
+ content_length: 635
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Custom-SMS-Connection-1674668511","strategy":"sms","options":{"name":"Test-Connection-Custom-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"provider":"sms_gateway","gateway_url":"https://test.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret":"my-secret","secret_base64_encoded":false},"forward_request_info":true,"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Custom-SMS-Connection-1714039119","strategy":"sms","options":{"name":"Test-Connection-Custom-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"messaging_service_sid":null,"provider":"sms_gateway","gateway_url":"https://test.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret":"my-secret","secret_base64_encoded":false},"forward_req_info":true,"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,35 +28,34 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 738
+ content_length: 763
uncompressed: false
- body: '{"id":"con_rnZU0F2sh9iD9Ysm","options":{"name":"Test-Connection-Custom-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"provider":"sms_gateway","gateway_url":"https://test.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret":"my-secret","secret_base64_encoded":false},"forward_request_info":true,"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Test-Custom-SMS-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1674668511"]}'
+ body: '{"id":"con_9JvXRKOlv2f59CWZ","options":{"name":"Test-Connection-Custom-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"messaging_service_sid":null,"provider":"sms_gateway","gateway_url":"https://test.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret":"my-secret","secret_base64_encoded":false},"forward_req_info":true,"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Test-Custom-SMS-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 134.403792ms
+ duration: 319.076709ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Custom-SMS-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Custom-SMS-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_rnZU0F2sh9iD9Ysm","options":{"from":"+17777777777","name":"Test-Connection-Custom-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","provider":"sms_gateway","template":"Your verification code is { code }}","gateway_url":"https://test.com/sms-gateway","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"forward_request_info":true,"brute_force_protection":true,"gateway_authentication":{"method":"bearer","secret":"my-secret","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret_base64_encoded":false}},"strategy":"sms","name":"Test-Custom-SMS-Connection-1674668511","is_domain_connection":false,"realms":["Test-Custom-SMS-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_9JvXRKOlv2f59CWZ","options":{"from":"+17777777777","name":"Test-Connection-Custom-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","provider":"sms_gateway","template":"Your verification code is { code }}","gateway_url":"https://test.com/sms-gateway","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"forward_req_info":true,"messaging_service_sid":null,"brute_force_protection":true,"gateway_authentication":{"method":"bearer","secret":"my-secret","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret_base64_encoded":false}},"strategy":"sms","name":"Test-Custom-SMS-Connection-1714039119","is_domain_connection":false,"realms":["Test-Custom-SMS-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 94.54375ms
+ duration: 268.253ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_rnZU0F2sh9iD9Ysm
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_9JvXRKOlv2f59CWZ
method: DELETE
response:
proto: HTTP/2.0
@@ -99,15 +98,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:59:31.674Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 170.500583ms
+ status: 202 Accepted
+ code: 202
+ duration: 286.25625ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_rnZU0F2sh9iD9Ysm
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_9JvXRKOlv2f59CWZ
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 96.885917ms
+ duration: 5.536023833s
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Email_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Email_Connection_by_its_name.yaml
index 5e5b47b2..3615310f 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Email_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Email_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Email-Connection-1674668511","strategy":"email","options":{"name":"Test-Connection-Email","email":{"syntax":"liquid","from":"{{application.name}} \u003ctest@example.com\u003e","subject":"Email Login - {{application.name}}","body":"\u003chtml\u003e\u003cbody\u003eemail contents\u003c/body\u003e\u003c/html\u003e"},"totp":{"time_step":100,"length":4},"authParams":{"scope":"openid profile"},"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Email-Connection-1714039119","strategy":"email","options":{"name":"Test-Connection-Email","email":{"syntax":"liquid","from":"{{application.name}} \u003ctest@example.com\u003e","subject":"Email Login - {{application.name}}","body":"\u003chtml\u003e\u003cbody\u003eemail contents\u003c/body\u003e\u003c/html\u003e"},"totp":{"time_step":100,"length":4},"authParams":{"scope":"openid profile"},"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 588
uncompressed: false
- body: '{"id":"con_D1yCw36QexlMqFm2","options":{"name":"Test-Connection-Email","email":{"syntax":"liquid","from":"{{application.name}} ","subject":"Email Login - {{application.name}}","body":"email contents"},"totp":{"time_step":100,"length":4},"authParams":{"scope":"openid profile"},"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"email","name":"Test-Email-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1674668511"]}'
+ body: '{"id":"con_BE9tW3vz5RItIKXa","options":{"name":"Test-Connection-Email","email":{"syntax":"liquid","from":"{{application.name}} ","subject":"Email Login - {{application.name}}","body":"email contents"},"totp":{"time_step":100,"length":4},"authParams":{"scope":"openid profile"},"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"email","name":"Test-Email-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 139.661542ms
+ duration: 309.864125ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Email-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Email-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_D1yCw36QexlMqFm2","options":{"name":"Test-Connection-Email","totp":{"length":4,"time_step":100},"email":{"body":"email contents","from":"{{application.name}} ","syntax":"liquid","subject":"Email Login - {{application.name}}"},"authParams":{"scope":"openid profile"},"disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"brute_force_protection":true},"strategy":"email","name":"Test-Email-Connection-1674668511","is_domain_connection":false,"realms":["Test-Email-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_BE9tW3vz5RItIKXa","options":{"name":"Test-Connection-Email","totp":{"length":4,"time_step":100},"email":{"body":"email contents","from":"{{application.name}} ","syntax":"liquid","subject":"Email Login - {{application.name}}"},"authParams":{"scope":"openid profile"},"disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"brute_force_protection":true},"strategy":"email","name":"Test-Email-Connection-1714039119","is_domain_connection":false,"realms":["Test-Email-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 108.737959ms
+ duration: 263.096083ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_D1yCw36QexlMqFm2
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_BE9tW3vz5RItIKXa
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:29.541Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:29.356Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 159.996791ms
+ duration: 279.080333ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_D1yCw36QexlMqFm2
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_BE9tW3vz5RItIKXa
method: DELETE
response:
proto: HTTP/2.0
@@ -134,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:59:29.356Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 134.851917ms
+ status: 202 Accepted
+ code: 202
+ duration: 257.493709ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Facebook_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Facebook_Connection_by_its_name.yaml
index b3cfb098..ed0ef002 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Facebook_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Facebook_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Facebook-Connection-1674668511","strategy":"facebook","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Facebook-Connection-1714039119","strategy":"facebook","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 275
uncompressed: false
- body: '{"id":"con_pnQhKQpPp17u668N","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1674668511"]}'
+ body: '{"id":"con_XP35DTZjHGlrxtJ2","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 160.071542ms
+ duration: 311.860542ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Facebook-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Facebook-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_pnQhKQpPp17u668N","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1674668511","is_domain_connection":false,"realms":["Test-Facebook-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_XP35DTZjHGlrxtJ2","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1714039119","is_domain_connection":false,"realms":["Test-Facebook-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 138.93625ms
+ duration: 283.588792ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pnQhKQpPp17u668N
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_XP35DTZjHGlrxtJ2
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:44.505Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:41.777Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 172.572541ms
+ duration: 276.754958ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pnQhKQpPp17u668N
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_XP35DTZjHGlrxtJ2
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 116.409084ms
+ duration: 260.40425ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_GitHub_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_GitHub_Connection_by_its_name.yaml
index 3b68e19f..3fd87981 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_GitHub_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_GitHub_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GitHub-Connection-1674668511","strategy":"github","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-GitHub-Connection-1714039119","strategy":"github","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 269
uncompressed: false
- body: '{"id":"con_yztbP8QYNiUfqmKS","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1674668511"]}'
+ body: '{"id":"con_RcckZlJhvfSjBY1R","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 148.102584ms
+ duration: 301.498333ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-GitHub-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-GitHub-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_yztbP8QYNiUfqmKS","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1674668511","is_domain_connection":false,"realms":["Test-GitHub-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_RcckZlJhvfSjBY1R","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1714039119","is_domain_connection":false,"realms":["Test-GitHub-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 97.470666ms
+ duration: 280.33575ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_yztbP8QYNiUfqmKS
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_RcckZlJhvfSjBY1R
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:52.282Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:51.306Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 147.606834ms
+ duration: 307.214917ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_yztbP8QYNiUfqmKS
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_RcckZlJhvfSjBY1R
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 117.915167ms
+ duration: 280.070042ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_GoogleApps_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_GoogleApps_Connection_by_its_name.yaml
index e518e874..2fbc56d3 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_GoogleApps_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_GoogleApps_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleApps-Connection-1674668511","strategy":"google-apps","options":{"domain":"example.com","tenant_domain":"example.com","basic_profile":true,"ext_profile":true,"ext_groups":true,"ext_is_admin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-GoogleApps-Connection-1714039119","strategy":"google-apps","options":{"domain":"example.com","tenant_domain":"example.com","basic_profile":true,"ext_profile":true,"ext_groups":true,"ext_is_admin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,35 +28,34 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 628
+ content_length: 627
uncompressed: false
- body: '{"id":"con_z9dIFrUoTcNjRBQD","options":{"domain":"example.com","tenant_domain":"example.com","basic_profile":true,"ext_profile":true,"ext_groups":true,"ext_is_admin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"map_user_id_to_id":false,"email":true,"profile":true,"scope":["email","profile"],"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1674668511","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/pz7AELJM","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1674668511"]}'
+ body: '{"id":"con_6I7X9m56rlIb6yLK","options":{"domain":"example.com","tenant_domain":"example.com","basic_profile":true,"ext_profile":true,"ext_groups":true,"ext_is_admin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"map_user_id_to_id":false,"email":true,"profile":true,"scope":["email","profile"],"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1714039119","provisioning_ticket_url":"https://login.us.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/XFQUoBp1","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 494.698666ms
+ duration: 604.915583ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-GoogleApps-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-GoogleApps-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_z9dIFrUoTcNjRBQD","options":{"email":true,"scope":["email","profile"],"domain":"example.com","profile":true,"ext_groups":true,"ext_profile":true,"ext_is_admin":true,"basic_profile":true,"tenant_domain":"example.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"map_user_id_to_id":false,"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1674668511","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/pz7AELJM","is_domain_connection":false,"show_as_button":false,"realms":["Test-GoogleApps-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_6I7X9m56rlIb6yLK","options":{"email":true,"scope":["email","profile"],"domain":"example.com","profile":true,"ext_groups":true,"ext_profile":true,"ext_is_admin":true,"basic_profile":true,"tenant_domain":"example.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"map_user_id_to_id":false,"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1714039119","provisioning_ticket_url":"https://login.us.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/XFQUoBp1","is_domain_connection":false,"show_as_button":false,"realms":["Test-GoogleApps-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 105.689875ms
+ duration: 288.721625ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_z9dIFrUoTcNjRBQD
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6I7X9m56rlIb6yLK
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:29.045Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:28.190Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 137.005708ms
+ duration: 352.645708ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_z9dIFrUoTcNjRBQD
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6I7X9m56rlIb6yLK
method: DELETE
response:
proto: HTTP/2.0
@@ -134,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:59:28.190Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 95.885125ms
+ status: 202 Accepted
+ code: 202
+ duration: 262.637583ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_GoogleOAuth2_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_GoogleOAuth2_Connection_by_its_name.yaml
index 6d9b687a..6291adf2 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_GoogleOAuth2_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_GoogleOAuth2_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleOAuth2-Connection-1674668511","strategy":"google-oauth2","options":{"allowed_audiences":["example.com","api.example.com"],"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-GoogleOAuth2-Connection-1714039119","strategy":"google-oauth2","options":{"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 462
uncompressed: false
- body: '{"id":"con_bRmdYowNkYVswKT9","options":{"allowed_audiences":["example.com","api.example.com"],"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"email":true,"scope":["profile","https://www.googleapis.com/auth/calendar","email"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1674668511"]}'
+ body: '{"id":"con_5Y7mJiuZzRmhXF0Z","options":{"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"],"email":true,"scope":["profile","https://www.googleapis.com/auth/calendar","email"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 120.937625ms
+ duration: 309.049125ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-GoogleOAuth2-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-GoogleOAuth2-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_bRmdYowNkYVswKT9","options":{"email":true,"scope":["profile","https://www.googleapis.com/auth/calendar","email"],"profile":true,"youtube":false,"calendar":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1674668511","is_domain_connection":false,"realms":["Test-GoogleOAuth2-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_5Y7mJiuZzRmhXF0Z","options":{"email":true,"scope":["profile","https://www.googleapis.com/auth/calendar","email"],"profile":true,"youtube":false,"calendar":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1714039119","is_domain_connection":false,"realms":["Test-GoogleOAuth2-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 109.587ms
+ duration: 293.278791ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_bRmdYowNkYVswKT9
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_5Y7mJiuZzRmhXF0Z
method: DELETE
response:
proto: HTTP/2.0
@@ -99,15 +98,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:59:26.709Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 226.604042ms
+ status: 202 Accepted
+ code: 202
+ duration: 308.996708ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_bRmdYowNkYVswKT9
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_5Y7mJiuZzRmhXF0Z
method: DELETE
response:
proto: HTTP/2.0
@@ -134,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:59:26.709Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 84.862875ms
+ status: 202 Accepted
+ code: 202
+ duration: 267.257167ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_LinkedIn_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_LinkedIn_Connection_by_its_name.yaml
index d0c653a3..cd0bcbd9 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_LinkedIn_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_LinkedIn_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-LinkedIn-Connection-1674668511","strategy":"linkedin","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-LinkedIn-Connection-1714039119","strategy":"linkedin","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 306
uncompressed: false
- body: '{"id":"con_acA6Le4yEs60bFl6","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"profile":true,"scope":["r_basicprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1674668511"]}'
+ body: '{"id":"con_AWLYaFqXQsNsWSoi","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"profile":true,"scope":["r_basicprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 211.980334ms
+ duration: 313.553625ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-LinkedIn-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-LinkedIn-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_acA6Le4yEs60bFl6","options":{"scope":["r_basicprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1674668511","is_domain_connection":false,"realms":["Test-LinkedIn-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_AWLYaFqXQsNsWSoi","options":{"scope":["r_basicprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1714039119","is_domain_connection":false,"realms":["Test-LinkedIn-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 122.852583ms
+ duration: 290.845291ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_acA6Le4yEs60bFl6
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_AWLYaFqXQsNsWSoi
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:45.678Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:49.480Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 136.663084ms
+ duration: 6.292603417s
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_acA6Le4yEs60bFl6
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_AWLYaFqXQsNsWSoi
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 6.215807916s
+ duration: 291.290542ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_OIDC_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_OIDC_Connection_by_its_name.yaml
index 75170082..9367db7e 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_OIDC_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_OIDC_Connection_by_its_name.yaml
@@ -6,20 +6,20 @@ interactions:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 394
+ content_length: 456
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-OIDC-Connection-1674668511","strategy":"oidc","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":null,"authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","type":null,"userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-OIDC-Connection-1714039119","strategy":"oidc","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://example.com//.well-known/openid-configuration","authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","type":"front_channel","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,35 +28,34 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 599
+ content_length: 601
uncompressed: false
- body: '{"id":"con_0j9lwft94QOY5c0S","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":null,"authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","type":"front_channel","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"oidc","name":"Test-OIDC-Connection-1674668511","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1674668511","enabled_clients":[],"realms":["Test-OIDC-Connection-1674668511"]}'
+ body: '{"id":"con_oavO85VKWUdxjTL4","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://example.com//.well-known/openid-configuration","authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","type":"front_channel","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"oidc","name":"Test-OIDC-Connection-1714039119","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-OIDC-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 6.264926708s
+ duration: 465.701209ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-OIDC-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-OIDC-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_0j9lwft94QOY5c0S","options":{"type":"front_channel","scope":"openid","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":null,"token_endpoint":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":null,"authorization_endpoint":"https://example.com"},"strategy":"oidc","name":"Test-OIDC-Connection-1674668511","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1674668511","realms":["Test-OIDC-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_oavO85VKWUdxjTL4","options":{"type":"front_channel","scope":"openid","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://example.com//.well-known/openid-configuration","token_endpoint":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":null,"authorization_endpoint":"https://example.com"},"strategy":"oidc","name":"Test-OIDC-Connection-1714039119","is_domain_connection":false,"show_as_button":false,"realms":["Test-OIDC-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 172.018292ms
+ duration: 773.123167ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_0j9lwft94QOY5c0S
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_oavO85VKWUdxjTL4
method: DELETE
response:
proto: HTTP/2.0
@@ -99,15 +98,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:59:55.818Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 143.771792ms
+ status: 202 Accepted
+ code: 202
+ duration: 292.169125ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_0j9lwft94QOY5c0S
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_oavO85VKWUdxjTL4
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 88.578ms
+ duration: 304.647375ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Okta_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Okta_Connection_by_its_name.yaml
index 53310068..8c176ff6 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Okta_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Okta_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1674668511","strategy":"okta","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","domain":"domain.okta.com","authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Okta-Connection-1714039119","strategy":"okta","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","domain":"domain.okta.com","authorization_endpoint":"https://example.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","userinfo_endpoint":null,"token_endpoint":null,"scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,35 +28,34 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 687
+ content_length: -1
uncompressed: false
- body: '{"id":"con_j2h3rWyhSAimN9mz","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","domain":"domain.okta.com","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","token_endpoint":"https://domain.okta.com/oauth2/v1/token","scope":"openid profile","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"okta","name":"Test-Okta-Connection-1674668511","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Okta-Connection-1674668511"]}'
+ body: '{"id":"con_SP4CdTOqji8SmKaf","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","domain":"domain.okta.com","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","token_endpoint":"https://domain.okta.com/oauth2/v1/token","scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}},"oidc_metadata":{"issuer":"https://domain.okta.com","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","token_endpoint":"https://domain.okta.com/oauth2/v1/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"subject_types_supported":["public"],"id_token_signing_alg_values_supported":["RS256"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"code_challenge_methods_supported":["S256"],"introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","request_parameter_supported":true,"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","dpop_signing_alg_values_supported":["RS256","RS384","RS512","ES256","ES384","ES512"]}},"strategy":"okta","name":"Test-Okta-Connection-1714039119","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Okta-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 732.332416ms
+ duration: 777.184708ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Okta-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Okta-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_j2h3rWyhSAimN9mz","options":{"scope":"openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","token_endpoint":"https://domain.okta.com/oauth2/v1/token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize"},"strategy":"okta","name":"Test-Okta-Connection-1674668511","is_domain_connection":false,"show_as_button":false,"realms":["Test-Okta-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_SP4CdTOqji8SmKaf","options":{"scope":"openid","domain":"domain.okta.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","client_secret":"mySecret","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","code_challenge_methods_supported":["S256"],"dpop_signing_alg_values_supported":["RS256","RS384","RS512","ES256","ES384","ES512"],"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"token_endpoint":"https://domain.okta.com/oauth2/v1/token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize"},"strategy":"okta","name":"Test-Okta-Connection-1714039119","is_domain_connection":false,"show_as_button":false,"realms":["Test-Okta-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 150.847625ms
+ duration: 318.276334ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_j2h3rWyhSAimN9mz
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_SP4CdTOqji8SmKaf
method: DELETE
response:
proto: HTTP/2.0
@@ -99,15 +98,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T09:59:57.532Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 301.366416ms
+ status: 202 Accepted
+ code: 202
+ duration: 523.684125ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_j2h3rWyhSAimN9mz
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_SP4CdTOqji8SmKaf
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 101.19125ms
+ duration: 271.990125ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Ping_Federate_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Ping_Federate_Connection_by_its_name.yaml
index 196864fe..8ac99c84 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Ping_Federate_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Ping_Federate_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Ping-Federate-Connection-1678372744","strategy":"pingfederate","options":{"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com"}}
+ {"name":"Test-Ping-Federate-Connection-1714039119","strategy":"pingfederate","options":{"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com"}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_F0lHxIBUHlskwlKP","options":{"digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com","signInEndpoint":"https://ping.example.com","expires":"2010-09-09T22:05:43.000Z","subject":{"countryName":"AU","stateOrProvinceName":"Some-State","organizationName":"Internet Widgits Pty Ltd","commonName":"europa.sfo.corp.google.com"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----"},"strategy":"pingfederate","name":"Test-Ping-Federate-Connection-1678372744","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/D1GyTN05","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1678372744"]}'
+ body: '{"id":"con_pxXUpEqz6lImRZsy","options":{"digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com","signInEndpoint":"https://ping.example.com","expires":"2010-09-09T22:05:43.000Z","subject":{"countryName":"AU","stateOrProvinceName":"Some-State","organizationName":"Internet Widgits Pty Ltd","commonName":"europa.sfo.corp.google.com"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----"},"strategy":"pingfederate","name":"Test-Ping-Federate-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/pingfederate/vQxjgHtA","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 170.465166ms
+ duration: 941.722375ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Ping-Federate-Connection-1678372744&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Ping-Federate-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_F0lHxIBUHlskwlKP","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","expires":"2010-09-09T22:05:43.000Z","subject":{"commonName":"europa.sfo.corp.google.com","countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"signInEndpoint":"https://ping.example.com","digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com"},"strategy":"pingfederate","name":"Test-Ping-Federate-Connection-1678372744","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/D1GyTN05","is_domain_connection":false,"show_as_button":false,"realms":["Test-Ping-Federate-Connection-1678372744"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_pxXUpEqz6lImRZsy","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","expires":"2010-09-09T22:05:43.000Z","subject":{"commonName":"europa.sfo.corp.google.com","countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"signInEndpoint":"https://ping.example.com","digestAlgorithm":"sha256","signSAMLRequest":true,"signatureAlgorithm":"rsa-sha256","pingFederateBaseUrl":"https://ping.example.com"},"strategy":"pingfederate","name":"Test-Ping-Federate-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/pingfederate/vQxjgHtA","is_domain_connection":false,"show_as_button":false,"realms":["Test-Ping-Federate-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 99.817875ms
+ duration: 928.417792ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_F0lHxIBUHlskwlKP
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pxXUpEqz6lImRZsy
method: DELETE
response:
proto: HTTP/2.0
@@ -99,15 +98,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T10:00:00.222Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 143.339042ms
+ status: 202 Accepted
+ code: 202
+ duration: 295.817834ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_F0lHxIBUHlskwlKP
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pxXUpEqz6lImRZsy
method: DELETE
response:
proto: HTTP/2.0
@@ -134,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T10:00:00.222Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 93.1565ms
+ status: 202 Accepted
+ code: 202
+ duration: 281.725333ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_SAML_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_SAML_Connection_by_its_name.yaml
index 5981ccf0..65739152 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_SAML_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_SAML_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SAML-Connection-1690280933","strategy":"samlp","options":{"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","fieldsMap":{"email":"EmailAddress","family_name":"LastName","given_name":"FirstName"},"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-SAML-Connection-1714039119","strategy":"samlp","options":{"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","fieldsMap":{"email":"EmailAddress","family_name":"LastName","given_name":"FirstName"},"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_Hdf8hhu32q100yhm","options":{"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","fieldsMap":{"email":"EmailAddress","family_name":"LastName","given_name":"FirstName"},"upstream_params":{"screen_name":{"alias":"login_hint"}},"expires":"2010-09-09T22:05:43.000Z","subject":{"countryName":"AU","stateOrProvinceName":"Some-State","organizationName":"Internet Widgits Pty Ltd","commonName":"europa.sfo.corp.google.com"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----"},"strategy":"samlp","name":"Test-SAML-Connection-1690280933","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/7vdywStZ","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1690280933"]}'
+ body: '{"id":"con_367wYAui2j9BVs1K","options":{"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","fieldsMap":{"email":"EmailAddress","family_name":"LastName","given_name":"FirstName"},"upstream_params":{"screen_name":{"alias":"login_hint"}},"expires":"2010-09-09T22:05:43.000Z","subject":{"countryName":"AU","stateOrProvinceName":"Some-State","organizationName":"Internet Widgits Pty Ltd","commonName":"europa.sfo.corp.google.com"},"thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----"},"strategy":"samlp","name":"Test-SAML-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/samlp/1BWHvJZn","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 275.82475ms
+ duration: 307.439416ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-SAML-Connection-1690280933&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-SAML-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_Hdf8hhu32q100yhm","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","expires":"2010-09-09T22:05:43.000Z","subject":{"commonName":"europa.sfo.corp.google.com","countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"fieldsMap":{"email":"EmailAddress","given_name":"FirstName","family_name":"LastName"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"samlp","name":"Test-SAML-Connection-1690280933","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/7vdywStZ","is_domain_connection":false,"show_as_button":false,"realms":["Test-SAML-Connection-1690280933"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_367wYAui2j9BVs1K","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","expires":"2010-09-09T22:05:43.000Z","subject":{"commonName":"europa.sfo.corp.google.com","countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"fieldsMap":{"email":"EmailAddress","given_name":"FirstName","family_name":"LastName"},"signingCert":"-----BEGIN CERTIFICATE-----\nMIID6TCCA1ICAQEwDQYJKoZIhvcNAQEFBQAwgYsxCzAJBgNVBAYTAlVTMRMwEQYD\nVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRQwEgYDVQQK\nEwtHb29nbGUgSW5jLjEMMAoGA1UECxMDRW5nMQwwCgYDVQQDEwNhZ2wxHTAbBgkq\nhkiG9w0BCQEWDmFnbEBnb29nbGUuY29tMB4XDTA5MDkwOTIyMDU0M1oXDTEwMDkw\nOTIyMDU0M1owajELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAf\nBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEjMCEGA1UEAxMaZXVyb3Bh\nLnNmby5jb3JwLmdvb2dsZS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK\nAoICAQC6pgYt7/EibBDumASF+S0qvqdL/f+nouJw2T1Qc8GmXF/iiUcrsgzh/Fd8\npDhz/T96Qg9IyR4ztuc2MXrmPra+zAuSf5bevFReSqvpIt8Duv0HbDbcqs/XKPfB\nuMDe+of7a9GCywvAZ4ZUJcp0thqD9fKTTjUWOBzHY1uNE4RitrhmJCrbBGXbJ249\nbvgmb7jgdInH2PU7PT55hujvOoIsQW2osXBFRur4pF1wmVh4W4lTLD6pjfIMUcML\nICHEXEN73PDic8KS3EtNYCwoIld+tpIBjE1QOb1KOyuJBNW6Esw9ALZn7stWdYcE\nqAwvv20egN2tEXqj7Q4/1ccyPZc3PQgC3FJ8Be2mtllM+80qf4dAaQ/fWvCtOrQ5\npnfe9juQvCo8Y0VGlFcrSys/MzSg9LJ/24jZVgzQved/Qupsp89wVidwIzjt+WdS\nfyWfH0/v1aQLvu5cMYuW//C0W2nlYziL5blETntM8My2ybNARy3ICHxCBv2RNtPI\nWQVm+E9/W5rwh2IJR4DHn2LHwUVmT/hHNTdBLl5Uhwr4Wc7JhE7AVqb14pVNz1lr\n5jxsp//ncIwftb7mZQ3DF03Yna+jJhpzx8CQoeLT6aQCHyzmH68MrHHT4MALPyUs\nPomjn71GNTtDeWAXibjCgdL6iHACCF6Htbl0zGlG0OAK+bdn0QIDAQABMA0GCSqG\nSIb3DQEBBQUAA4GBAOKnQDtqBV24vVqvesL5dnmyFpFPXBn3WdFfwD6DzEb21UVG\n5krmJiu+ViipORJPGMkgoL6BjU21XI95VQbun5P8vvg8Z+FnFsvRFY3e1CCzAVQY\nZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g\n-----END CERTIFICATE-----","thumbprints":["b93611bf2cfdb64110c7aae1485718cc9385e151"],"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\\n...{your private key here}...\\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\\n...{your public key cert here}...\\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","signInEndpoint":"https://saml.identity/provider","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"samlp","name":"Test-SAML-Connection-1714039119","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/samlp/1BWHvJZn","is_domain_connection":false,"show_as_button":false,"realms":["Test-SAML-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 118.66675ms
+ duration: 274.846834ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Hdf8hhu32q100yhm
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_367wYAui2j9BVs1K
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-07-25T10:28:53.902Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:38.093Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 148.382667ms
+ duration: 290.469917ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Hdf8hhu32q100yhm
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_367wYAui2j9BVs1K
method: DELETE
response:
proto: HTTP/2.0
@@ -134,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 41
+ content_length: 0
uncompressed: false
- body: '{"deleted_at":"2023-07-25T10:28:53.902Z"}'
+ body: ""
headers:
Content-Type:
- application/json; charset=utf-8
- status: 202 Accepted
- code: 202
- duration: 96.095541ms
+ status: 204 No Content
+ code: 204
+ duration: 264.618666ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_SMS_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_SMS_Connection_by_its_name.yaml
index 08407093..68273ef5 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_SMS_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_SMS_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SMS-Connection-1674668511","strategy":"sms","options":{"name":"Test-Connection-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","messaging_service_sid":"273248090982390423","disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-SMS-Connection-1714039119","strategy":"sms","options":{"name":"Test-Connection-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","messaging_service_sid":"273248090982390423","disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 606
uncompressed: false
- body: '{"id":"con_PlqTHdvsHTPhVzQz","options":{"name":"Test-Connection-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","messaging_service_sid":"273248090982390423","disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Test-SMS-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1674668511"]}'
+ body: '{"id":"con_tlXbDURTRR0gwQ2C","options":{"name":"Test-Connection-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","messaging_service_sid":"273248090982390423","disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Test-SMS-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 138.919958ms
+ duration: 292.268209ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-SMS-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-SMS-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_PlqTHdvsHTPhVzQz","options":{"from":"+17777777777","name":"Test-Connection-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","template":"Your verification code is { code }}","authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"messaging_service_sid":"273248090982390423","brute_force_protection":true},"strategy":"sms","name":"Test-SMS-Connection-1674668511","is_domain_connection":false,"realms":["Test-SMS-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_tlXbDURTRR0gwQ2C","options":{"from":"+17777777777","name":"Test-Connection-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","template":"Your verification code is { code }}","authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"messaging_service_sid":"273248090982390423","brute_force_protection":true},"strategy":"sms","name":"Test-SMS-Connection-1714039119","is_domain_connection":false,"realms":["Test-SMS-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 6.239098333s
+ duration: 331.508125ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_PlqTHdvsHTPhVzQz
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_tlXbDURTRR0gwQ2C
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:36.213Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:30.526Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 144.868791ms
+ duration: 287.902709ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_PlqTHdvsHTPhVzQz
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_tlXbDURTRR0gwQ2C
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 98.813167ms
+ duration: 280.039167ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_SalesForce_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_SalesForce_Connection_by_its_name.yaml
index 1a4041b5..20f4e9b6 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_SalesForce_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_SalesForce_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SalesForce-Connection-1674668511","strategy":"salesforce","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-SalesForce-Connection-1714039119","strategy":"salesforce","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 281
uncompressed: false
- body: '{"id":"con_hb4dmx5GsEyDlVop","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1674668511"]}'
+ body: '{"id":"con_pbupNl5E5iKEDlaQ","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 197.298709ms
+ duration: 330.258958ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-SalesForce-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-SalesForce-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_hb4dmx5GsEyDlVop","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1674668511","is_domain_connection":false,"realms":["Test-SalesForce-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_pbupNl5E5iKEDlaQ","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1714039119","is_domain_connection":false,"realms":["Test-SalesForce-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 132.693292ms
+ duration: 496.320125ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_hb4dmx5GsEyDlVop
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pbupNl5E5iKEDlaQ
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:53.428Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:54.022Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 286.386ms
+ duration: 318.626625ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_hb4dmx5GsEyDlVop
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pbupNl5E5iKEDlaQ
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 120.911209ms
+ duration: 263.171333ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_WindowsLive_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_WindowsLive_Connection_by_its_name.yaml
index 3d43cf2a..9a364171 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_WindowsLive_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_WindowsLive_Connection_by_its_name.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-WindowsLive-Connection-1674668511","strategy":"windowslive","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-WindowsLive-Connection-1714039119","strategy":"windowslive","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,32 @@ interactions:
trailer: {}
content_length: 309
uncompressed: false
- body: '{"id":"con_Cty2M91BNzvitQuW","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"signin":true,"scope":["wl.signin"]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1674668511"]}'
+ body: '{"id":"con_JFpIlYsUyRx9Xw26","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"signin":true,"scope":["wl.signin"]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1714039119","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1714039119"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 143.873708ms
+ duration: 293.4585ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-WindowsLive-Connection-1674668511&per_page=50
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-WindowsLive-Connection-1714039119&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -66,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_Cty2M91BNzvitQuW","options":{"scope":["wl.signin"],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1674668511","is_domain_connection":false,"realms":["Test-WindowsLive-Connection-1674668511"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_JFpIlYsUyRx9Xw26","options":{"scope":["wl.signin"],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1714039119","is_domain_connection":false,"realms":["Test-WindowsLive-Connection-1714039119"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 113.864958ms
+ duration: 280.759708ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,8 +89,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Cty2M91BNzvitQuW
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_JFpIlYsUyRx9Xw26
method: DELETE
response:
proto: HTTP/2.0
@@ -101,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:44:52.838Z"}'
+ body: '{"deleted_at":"2024-04-25T09:59:52.456Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 173.303958ms
+ duration: 435.677958ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,8 +124,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Cty2M91BNzvitQuW
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_JFpIlYsUyRx9Xw26
method: DELETE
response:
proto: HTTP/2.0
@@ -142,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 104.475208ms
+ duration: 265.29075ms
diff --git a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_AD_Connection.yaml b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_AD_Connection.yaml
index 968c7a00..6143ef91 100644
--- a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_AD_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_AD_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-AD-Connection-1674668511","strategy":"ad"}
+ {"name":"Test-AD-Connection-1714039292","strategy":"ad"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,15 +28,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 351
+ content_length: 350
uncompressed: false
- body: '{"id":"con_K5yV8wcNOae1TEtP","options":{"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1674668511","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/KjSJXUxJmhHkEdnBrXOPNC0ZUQ8Duiuz","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1674668511"]}'
+ body: '{"id":"con_zsC3GprohpRtuwjx","options":{"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1714039292","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/ad/LCyjwS5K1LUdEmKdldcwV5nGyy8VEooX","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 135.522666ms
+ duration: 302.12025ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,8 +55,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_K5yV8wcNOae1TEtP
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_zsC3GprohpRtuwjx
method: PATCH
response:
proto: HTTP/2.0
@@ -66,33 +66,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_K5yV8wcNOae1TEtP","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"ad","name":"Test-AD-Connection-1674668511","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/KjSJXUxJmhHkEdnBrXOPNC0ZUQ8Duiuz","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1674668511"]}'
+ body: '{"id":"con_zsC3GprohpRtuwjx","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"ad","name":"Test-AD-Connection-1714039292","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/ad/LCyjwS5K1LUdEmKdldcwV5nGyy8VEooX","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 213.811666ms
+ duration: 414.295583ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_K5yV8wcNOae1TEtP
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_zsC3GprohpRtuwjx
method: GET
response:
proto: HTTP/2.0
@@ -102,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_K5yV8wcNOae1TEtP","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"ad","name":"Test-AD-Connection-1674668511","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/KjSJXUxJmhHkEdnBrXOPNC0ZUQ8Duiuz","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1674668511"]}'
+ body: '{"id":"con_zsC3GprohpRtuwjx","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"ad","name":"Test-AD-Connection-1714039292","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.us.auth0.com/p/ad/LCyjwS5K1LUdEmKdldcwV5nGyy8VEooX","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 90.275292ms
+ duration: 268.425791ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,8 +125,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_K5yV8wcNOae1TEtP
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_zsC3GprohpRtuwjx
method: DELETE
response:
proto: HTTP/2.0
@@ -137,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:45:18.850Z"}'
+ body: '{"deleted_at":"2024-04-25T10:01:44.108Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 179.288042ms
+ duration: 300.658625ms
diff --git a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Apple_Connection.yaml b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Apple_Connection.yaml
index 2271167f..0846e28d 100644
--- a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Apple_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Apple_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Apple-Connection-1674668511","strategy":"apple"}
+ {"name":"Test-Apple-Connection-1714039292","strategy":"apple"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 199
uncompressed: false
- body: '{"id":"con_P70XdFqDEMxlVHpM","options":{},"strategy":"apple","name":"Test-Apple-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1674668511"]}'
+ body: '{"id":"con_eaFIj3kL972NXvEx","options":{},"strategy":"apple","name":"Test-Apple-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 122.177792ms
+ duration: 293.626083ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,8 +55,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_P70XdFqDEMxlVHpM
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_eaFIj3kL972NXvEx
method: PATCH
response:
proto: HTTP/2.0
@@ -66,33 +66,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_P70XdFqDEMxlVHpM","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1674668511"]}'
+ body: '{"id":"con_eaFIj3kL972NXvEx","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 111.245334ms
+ duration: 339.756666ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_P70XdFqDEMxlVHpM
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_eaFIj3kL972NXvEx
method: GET
response:
proto: HTTP/2.0
@@ -102,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_P70XdFqDEMxlVHpM","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1674668511"]}'
+ body: '{"id":"con_eaFIj3kL972NXvEx","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 116.957333ms
+ duration: 318.779083ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,8 +125,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_P70XdFqDEMxlVHpM
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_eaFIj3kL972NXvEx
method: DELETE
response:
proto: HTTP/2.0
@@ -137,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:45:19.854Z"}'
+ body: '{"deleted_at":"2024-04-25T10:01:47.207Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 180.754666ms
+ duration: 280.97975ms
diff --git a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Auth0_Connection.yaml b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Auth0_Connection.yaml
index beddaf48..9f5405c2 100644
--- a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Auth0_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Auth0_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-1674668511","strategy":"auth0"}
+ {"name":"Test-Auth0-Connection-1714039292","strategy":"auth0"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,15 +28,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 325
+ content_length: 520
uncompressed: false
- body: '{"id":"con_ZeToQ9nQBkT2miQm","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1674668511"]}'
+ body: '{"id":"con_gym71s4JTbACZkRN","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"authentication_methods":{"password":{"enabled":true},"passkey":{"enabled":false}},"passkey_options":{"challenge_ui":"both","progressive_enrollment_enabled":true,"local_enrollment_enabled":true},"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 380.736875ms
+ duration: 694.736708ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,8 +55,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ZeToQ9nQBkT2miQm
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_gym71s4JTbACZkRN
method: PATCH
response:
proto: HTTP/2.0
@@ -66,33 +66,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_ZeToQ9nQBkT2miQm","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1674668511"]}'
+ body: '{"id":"con_gym71s4JTbACZkRN","options":{"passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"upstream_params":{"screen_name":{"alias":"login_hint"}},"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 125.994833ms
+ duration: 305.594084ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ZeToQ9nQBkT2miQm
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_gym71s4JTbACZkRN
method: GET
response:
proto: HTTP/2.0
@@ -102,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_ZeToQ9nQBkT2miQm","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1674668511"]}'
+ body: '{"id":"con_gym71s4JTbACZkRN","options":{"passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"upstream_params":{"screen_name":{"alias":"login_hint"}},"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Test-Auth0-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 114.502125ms
+ duration: 285.979583ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,8 +125,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ZeToQ9nQBkT2miQm
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_gym71s4JTbACZkRN
method: DELETE
response:
proto: HTTP/2.0
@@ -137,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:45:02.424Z"}'
+ body: '{"deleted_at":"2024-04-25T10:01:33.572Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 133.291208ms
+ duration: 296.915208ms
diff --git a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Custom_SMS_Connection.yaml b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Custom_SMS_Connection.yaml
index 0508bbf9..75bdeeb3 100644
--- a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Custom_SMS_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Custom_SMS_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Custom-SMS-Connection-1674668511","strategy":"sms"}
+ {"name":"Test-Custom-SMS-Connection-1714039292","strategy":"sms"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,33 +30,33 @@ interactions:
trailer: {}
content_length: 236
uncompressed: false
- body: '{"id":"con_UdsJTINh4asaGN2u","options":{"brute_force_protection":true},"strategy":"sms","name":"Test-Custom-SMS-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1674668511"]}'
+ body: '{"id":"con_iszyrbDILLXEvhY2","options":{"brute_force_protection":true},"strategy":"sms","name":"Test-Custom-SMS-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 120.337208ms
+ duration: 295.31075ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 546
+ content_length: 571
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
- {"options":{"name":"Test-Connection-Custom-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"provider":"sms_gateway","gateway_url":"https://test.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret":"my-secret","secret_base64_encoded":false},"forward_request_info":true,"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"options":{"name":"Test-Connection-Custom-SMS","from":"+17777777777","syntax":"liquid","template":"Your verification code is { code }}","totp":{"time_step":110,"length":5},"messaging_service_sid":null,"provider":"sms_gateway","gateway_url":"https://test.com/sms-gateway","gateway_authentication":{"method":"bearer","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret":"my-secret","secret_base64_encoded":false},"forward_req_info":true,"disable_signup":true,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_UdsJTINh4asaGN2u
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_iszyrbDILLXEvhY2
method: PATCH
response:
proto: HTTP/2.0
@@ -66,33 +66,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_UdsJTINh4asaGN2u","options":{"from":"+17777777777","name":"Test-Connection-Custom-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","provider":"sms_gateway","template":"Your verification code is { code }}","gateway_url":"https://test.com/sms-gateway","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"forward_request_info":true,"brute_force_protection":true,"gateway_authentication":{"method":"bearer","secret":"my-secret","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret_base64_encoded":false}},"strategy":"sms","name":"Test-Custom-SMS-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1674668511"]}'
+ body: '{"id":"con_iszyrbDILLXEvhY2","options":{"from":"+17777777777","name":"Test-Connection-Custom-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","provider":"sms_gateway","template":"Your verification code is { code }}","gateway_url":"https://test.com/sms-gateway","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"forward_req_info":true,"messaging_service_sid":null,"brute_force_protection":true,"gateway_authentication":{"method":"bearer","secret":"my-secret","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret_base64_encoded":false}},"strategy":"sms","name":"Test-Custom-SMS-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 136.591667ms
+ duration: 324.368167ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_UdsJTINh4asaGN2u
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_iszyrbDILLXEvhY2
method: GET
response:
proto: HTTP/2.0
@@ -102,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_UdsJTINh4asaGN2u","options":{"from":"+17777777777","name":"Test-Connection-Custom-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","provider":"sms_gateway","template":"Your verification code is { code }}","gateway_url":"https://test.com/sms-gateway","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"forward_request_info":true,"brute_force_protection":true,"gateway_authentication":{"method":"bearer","secret":"my-secret","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret_base64_encoded":false}},"strategy":"sms","name":"Test-Custom-SMS-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1674668511"]}'
+ body: '{"id":"con_iszyrbDILLXEvhY2","options":{"from":"+17777777777","name":"Test-Connection-Custom-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","provider":"sms_gateway","template":"Your verification code is { code }}","gateway_url":"https://test.com/sms-gateway","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"forward_req_info":true,"messaging_service_sid":null,"brute_force_protection":true,"gateway_authentication":{"method":"bearer","secret":"my-secret","subject":"test.us.auth0.com:sms","audience":"test.com/sms-gateway","secret_base64_encoded":false}},"strategy":"sms","name":"Test-Custom-SMS-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 6.231597209s
+ duration: 291.176875ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,8 +125,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_UdsJTINh4asaGN2u
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_iszyrbDILLXEvhY2
method: DELETE
response:
proto: HTTP/2.0
@@ -137,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:45:17.845Z"}'
+ body: '{"deleted_at":"2024-04-25T10:01:42.800Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 567.934375ms
+ duration: 309.914375ms
diff --git a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Email_Connection.yaml b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Email_Connection.yaml
index 3afa5854..dbc5ae8a 100644
--- a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Email_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Email_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Email-Connection-1674668511","strategy":"email"}
+ {"name":"Test-Email-Connection-1714039292","strategy":"email"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 228
uncompressed: false
- body: '{"id":"con_K20zgQvmmHOurVPp","options":{"brute_force_protection":true},"strategy":"email","name":"Test-Email-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1674668511"]}'
+ body: '{"id":"con_RBiLlSz3urXl5DtS","options":{"brute_force_protection":true},"strategy":"email","name":"Test-Email-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 115.862542ms
+ duration: 297.275209ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,8 +55,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_K20zgQvmmHOurVPp
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_RBiLlSz3urXl5DtS
method: PATCH
response:
proto: HTTP/2.0
@@ -66,33 +66,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_K20zgQvmmHOurVPp","options":{"name":"Test-Connection-Email","totp":{"length":4,"time_step":100},"email":{"body":"email contents","from":"{{application.name}} ","syntax":"liquid","subject":"Email Login - {{application.name}}"},"authParams":{"scope":"openid profile"},"disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"brute_force_protection":true},"strategy":"email","name":"Test-Email-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1674668511"]}'
+ body: '{"id":"con_RBiLlSz3urXl5DtS","options":{"name":"Test-Connection-Email","totp":{"length":4,"time_step":100},"email":{"body":"email contents","from":"{{application.name}} ","syntax":"liquid","subject":"Email Login - {{application.name}}"},"authParams":{"scope":"openid profile"},"disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"brute_force_protection":true},"strategy":"email","name":"Test-Email-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 146.594334ms
+ duration: 294.23425ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_K20zgQvmmHOurVPp
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_RBiLlSz3urXl5DtS
method: GET
response:
proto: HTTP/2.0
@@ -102,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_K20zgQvmmHOurVPp","options":{"name":"Test-Connection-Email","totp":{"length":4,"time_step":100},"email":{"body":"email contents","from":"{{application.name}} ","syntax":"liquid","subject":"Email Login - {{application.name}}"},"authParams":{"scope":"openid profile"},"disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"brute_force_protection":true},"strategy":"email","name":"Test-Email-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1674668511"]}'
+ body: '{"id":"con_RBiLlSz3urXl5DtS","options":{"name":"Test-Connection-Email","totp":{"length":4,"time_step":100},"email":{"body":"email contents","from":"{{application.name}} ","syntax":"liquid","subject":"Email Login - {{application.name}}"},"authParams":{"scope":"openid profile"},"disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"brute_force_protection":true},"strategy":"email","name":"Test-Email-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 105.499708ms
+ duration: 279.903375ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,8 +125,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_K20zgQvmmHOurVPp
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_RBiLlSz3urXl5DtS
method: DELETE
response:
proto: HTTP/2.0
@@ -135,12 +134,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T10:01:38.208Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 156.267375ms
+ status: 202 Accepted
+ code: 202
+ duration: 955.824208ms
diff --git a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Facebook_Connection.yaml b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Facebook_Connection.yaml
index a983e641..b93ca0f4 100644
--- a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Facebook_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Facebook_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Facebook-Connection-1674668511","strategy":"facebook"}
+ {"name":"Test-Facebook-Connection-1714039292","strategy":"facebook"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 218
uncompressed: false
- body: '{"id":"con_Gg4Yt0GbYiNPIh9B","options":{"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1674668511"]}'
+ body: '{"id":"con_a0BNayXHa5NmYT62","options":{"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 122.856458ms
+ duration: 956.147916ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,8 +55,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Gg4Yt0GbYiNPIh9B
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_a0BNayXHa5NmYT62
method: PATCH
response:
proto: HTTP/2.0
@@ -66,33 +66,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_Gg4Yt0GbYiNPIh9B","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1674668511"]}'
+ body: '{"id":"con_a0BNayXHa5NmYT62","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 126.369875ms
+ duration: 317.796042ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Gg4Yt0GbYiNPIh9B
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_a0BNayXHa5NmYT62
method: GET
response:
proto: HTTP/2.0
@@ -102,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_Gg4Yt0GbYiNPIh9B","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1674668511"]}'
+ body: '{"id":"con_a0BNayXHa5NmYT62","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 92.500334ms
+ duration: 292.061042ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,8 +125,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Gg4Yt0GbYiNPIh9B
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_a0BNayXHa5NmYT62
method: DELETE
response:
proto: HTTP/2.0
@@ -135,12 +134,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T10:01:45.970Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 144.407292ms
+ status: 202 Accepted
+ code: 202
+ duration: 290.76125ms
diff --git a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_GitHub_Connection.yaml b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_GitHub_Connection.yaml
index 5f611687..aaf05920 100644
--- a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_GitHub_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_GitHub_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GitHub-Connection-1674668511","strategy":"github"}
+ {"name":"Test-GitHub-Connection-1714039292","strategy":"github"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 212
uncompressed: false
- body: '{"id":"con_Lh0hnjffaQGdT1lA","options":{"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1674668511"]}'
+ body: '{"id":"con_CP8FLjqc8XFBUREC","options":{"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 122.271792ms
+ duration: 927.687875ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,8 +55,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Lh0hnjffaQGdT1lA
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_CP8FLjqc8XFBUREC
method: PATCH
response:
proto: HTTP/2.0
@@ -66,33 +66,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_Lh0hnjffaQGdT1lA","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1674668511"]}'
+ body: '{"id":"con_CP8FLjqc8XFBUREC","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 128.805334ms
+ duration: 310.876166ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Lh0hnjffaQGdT1lA
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_CP8FLjqc8XFBUREC
method: GET
response:
proto: HTTP/2.0
@@ -102,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_Lh0hnjffaQGdT1lA","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1674668511"]}'
+ body: '{"id":"con_CP8FLjqc8XFBUREC","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 113.687625ms
+ duration: 1.79357775s
- id: 3
request:
proto: HTTP/1.1
@@ -126,8 +125,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Lh0hnjffaQGdT1lA
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_CP8FLjqc8XFBUREC
method: DELETE
response:
proto: HTTP/2.0
@@ -135,12 +134,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T10:01:52.516Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 582.149125ms
+ status: 202 Accepted
+ code: 202
+ duration: 351.685416ms
diff --git a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_GoogleApps_Connection.yaml b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_GoogleApps_Connection.yaml
index 48aa2efc..5ec12f2f 100644
--- a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_GoogleApps_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_GoogleApps_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleApps-Connection-1674668511","strategy":"google-apps"}
+ {"name":"Test-GoogleApps-Connection-1714039292","strategy":"google-apps"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -28,15 +28,15 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 440
+ content_length: 439
uncompressed: false
- body: '{"id":"con_wWXwIiEsNde8jiC9","options":{"map_user_id_to_id":false,"email":true,"profile":true,"scope":["email","profile"],"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1674668511","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/WmcrforO","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1674668511"]}'
+ body: '{"id":"con_GjAws9biy6A99gV7","options":{"map_user_id_to_id":false,"email":true,"profile":true,"scope":["email","profile"],"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1714039292","provisioning_ticket_url":"https://login.us.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/eIuk1Zi0","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 6.260821375s
+ duration: 1.036354875s
- id: 1
request:
proto: HTTP/1.1
@@ -55,8 +55,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_wWXwIiEsNde8jiC9
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_GjAws9biy6A99gV7
method: PATCH
response:
proto: HTTP/2.0
@@ -66,33 +66,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_wWXwIiEsNde8jiC9","options":{"email":true,"scope":["email","profile"],"domain":"example.com","profile":true,"ext_groups":true,"ext_profile":true,"ext_is_admin":true,"basic_profile":true,"tenant_domain":"example.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"map_user_id_to_id":false,"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1674668511","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/WmcrforO","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1674668511"]}'
+ body: '{"id":"con_GjAws9biy6A99gV7","options":{"email":true,"scope":["email","profile"],"domain":"example.com","profile":true,"ext_groups":true,"ext_profile":true,"ext_is_admin":true,"basic_profile":true,"tenant_domain":"example.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"map_user_id_to_id":false,"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1714039292","provisioning_ticket_url":"https://login.us.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/eIuk1Zi0","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 176.766167ms
+ duration: 376.1175ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_wWXwIiEsNde8jiC9
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_GjAws9biy6A99gV7
method: GET
response:
proto: HTTP/2.0
@@ -102,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_wWXwIiEsNde8jiC9","options":{"email":true,"scope":["email","profile"],"domain":"example.com","profile":true,"ext_groups":true,"ext_profile":true,"ext_is_admin":true,"basic_profile":true,"tenant_domain":"example.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"map_user_id_to_id":false,"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1674668511","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/WmcrforO","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1674668511"]}'
+ body: '{"id":"con_GjAws9biy6A99gV7","options":{"email":true,"scope":["email","profile"],"domain":"example.com","profile":true,"ext_groups":true,"ext_profile":true,"ext_is_admin":true,"basic_profile":true,"tenant_domain":"example.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"map_user_id_to_id":false,"handle_login_from_social":true},"strategy":"google-apps","name":"Test-GoogleApps-Connection-1714039292","provisioning_ticket_url":"https://login.us.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/eIuk1Zi0","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 177.133ms
+ duration: 503.019583ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,8 +125,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_wWXwIiEsNde8jiC9
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_GjAws9biy6A99gV7
method: DELETE
response:
proto: HTTP/2.0
@@ -137,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:45:09.823Z"}'
+ body: '{"deleted_at":"2024-04-25T10:01:37.013Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 218.180125ms
+ duration: 304.560583ms
diff --git a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_GoogleOAuth2_Connection.yaml b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_GoogleOAuth2_Connection.yaml
index bd3facc9..e5a4dfda 100644
--- a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_GoogleOAuth2_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_GoogleOAuth2_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleOAuth2-Connection-1674668511","strategy":"google-oauth2"}
+ {"name":"Test-GoogleOAuth2-Connection-1714039292","strategy":"google-oauth2"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 276
uncompressed: false
- body: '{"id":"con_sLpnZwFbVLZYNxIX","options":{"email":true,"profile":true,"scope":["email","profile"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1674668511"]}'
+ body: '{"id":"con_MnklKVU1JL0BX1OD","options":{"email":true,"profile":true,"scope":["email","profile"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 131.247833ms
+ duration: 317.978583ms
- id: 1
request:
proto: HTTP/1.1
@@ -49,14 +49,14 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"options":{"allowed_audiences":["example.com","api.example.com"],"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"options":{"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]}}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_sLpnZwFbVLZYNxIX
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MnklKVU1JL0BX1OD
method: PATCH
response:
proto: HTTP/2.0
@@ -66,33 +66,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_sLpnZwFbVLZYNxIX","options":{"email":true,"scope":["profile","https://www.googleapis.com/auth/calendar","email"],"profile":true,"youtube":false,"calendar":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1674668511"]}'
+ body: '{"id":"con_MnklKVU1JL0BX1OD","options":{"email":true,"scope":["profile","https://www.googleapis.com/auth/calendar","email"],"profile":true,"youtube":false,"calendar":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 130.87275ms
+ duration: 319.743833ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_sLpnZwFbVLZYNxIX
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MnklKVU1JL0BX1OD
method: GET
response:
proto: HTTP/2.0
@@ -102,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_sLpnZwFbVLZYNxIX","options":{"email":true,"scope":["profile","https://www.googleapis.com/auth/calendar","email"],"profile":true,"youtube":false,"calendar":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1674668511"]}'
+ body: '{"id":"con_MnklKVU1JL0BX1OD","options":{"email":true,"scope":["profile","https://www.googleapis.com/auth/calendar","email"],"profile":true,"youtube":false,"calendar":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 120.53ms
+ duration: 279.961583ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,8 +125,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_sLpnZwFbVLZYNxIX
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MnklKVU1JL0BX1OD
method: DELETE
response:
proto: HTTP/2.0
@@ -137,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:45:02.995Z"}'
+ body: '{"deleted_at":"2024-04-25T10:01:34.793Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 195.337958ms
+ duration: 283.353167ms
diff --git a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_LinkedIn_Connection.yaml b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_LinkedIn_Connection.yaml
index 870a7842..30dad569 100644
--- a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_LinkedIn_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_LinkedIn_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-LinkedIn-Connection-1674668511","strategy":"linkedin"}
+ {"name":"Test-LinkedIn-Connection-1714039292","strategy":"linkedin"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 249
uncompressed: false
- body: '{"id":"con_HRRLJ7nCgvlst4Le","options":{"profile":true,"scope":["r_basicprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1674668511"]}'
+ body: '{"id":"con_oziq1YEBqFiBR92e","options":{"profile":true,"scope":["r_basicprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 7.200475583s
+ duration: 307.984875ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,8 +55,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_HRRLJ7nCgvlst4Le
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_oziq1YEBqFiBR92e
method: PATCH
response:
proto: HTTP/2.0
@@ -66,33 +66,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_HRRLJ7nCgvlst4Le","options":{"scope":["r_basicprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1674668511"]}'
+ body: '{"id":"con_oziq1YEBqFiBR92e","options":{"scope":["r_basicprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 124.307791ms
+ duration: 304.721125ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_HRRLJ7nCgvlst4Le
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_oziq1YEBqFiBR92e
method: GET
response:
proto: HTTP/2.0
@@ -102,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_HRRLJ7nCgvlst4Le","options":{"scope":["r_basicprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1674668511"]}'
+ body: '{"id":"con_oziq1YEBqFiBR92e","options":{"scope":["r_basicprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 124.318667ms
+ duration: 268.467833ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,8 +125,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_HRRLJ7nCgvlst4Le
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_oziq1YEBqFiBR92e
method: DELETE
response:
proto: HTTP/2.0
@@ -137,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:45:27.487Z"}'
+ body: '{"deleted_at":"2024-04-25T10:01:48.488Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 139.580916ms
+ duration: 1.044783292s
diff --git a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_SMS_Connection.yaml b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_SMS_Connection.yaml
index 5396e91b..9aed5308 100644
--- a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_SMS_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_SMS_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SMS-Connection-1674668511","strategy":"sms"}
+ {"name":"Test-SMS-Connection-1714039292","strategy":"sms"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 222
uncompressed: false
- body: '{"id":"con_20b34cXIZlTKtQ5b","options":{"brute_force_protection":true},"strategy":"sms","name":"Test-SMS-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1674668511"]}'
+ body: '{"id":"con_pi37EtqyVqePsI4f","options":{"brute_force_protection":true},"strategy":"sms","name":"Test-SMS-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 137.917958ms
+ duration: 1.795596666s
- id: 1
request:
proto: HTTP/1.1
@@ -55,8 +55,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_20b34cXIZlTKtQ5b
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pi37EtqyVqePsI4f
method: PATCH
response:
proto: HTTP/2.0
@@ -66,33 +66,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_20b34cXIZlTKtQ5b","options":{"from":"+17777777777","name":"Test-Connection-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","template":"Your verification code is { code }}","authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"messaging_service_sid":"273248090982390423","brute_force_protection":true},"strategy":"sms","name":"Test-SMS-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1674668511"]}'
+ body: '{"id":"con_pi37EtqyVqePsI4f","options":{"from":"+17777777777","name":"Test-Connection-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","template":"Your verification code is { code }}","authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"messaging_service_sid":"273248090982390423","brute_force_protection":true},"strategy":"sms","name":"Test-SMS-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 347.1605ms
+ duration: 305.624792ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_20b34cXIZlTKtQ5b
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pi37EtqyVqePsI4f
method: GET
response:
proto: HTTP/2.0
@@ -102,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_20b34cXIZlTKtQ5b","options":{"from":"+17777777777","name":"Test-Connection-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","template":"Your verification code is { code }}","authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"messaging_service_sid":"273248090982390423","brute_force_protection":true},"strategy":"sms","name":"Test-SMS-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1674668511"]}'
+ body: '{"id":"con_pi37EtqyVqePsI4f","options":{"from":"+17777777777","name":"Test-Connection-SMS","totp":{"length":5,"time_step":110},"syntax":"liquid","template":"Your verification code is { code }}","authParams":{"scope":"openid profile"},"twilio_sid":"abc132asdfasdf56","twilio_token":"234127asdfsada23","disable_signup":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"messaging_service_sid":"273248090982390423","brute_force_protection":true},"strategy":"sms","name":"Test-SMS-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 95.787458ms
+ duration: 318.74275ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,8 +125,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_20b34cXIZlTKtQ5b
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pi37EtqyVqePsI4f
method: DELETE
response:
proto: HTTP/2.0
@@ -137,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:45:11.182Z"}'
+ body: '{"deleted_at":"2024-04-25T10:01:41.588Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 223.685209ms
+ duration: 313.56ms
diff --git a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_SalesForce_Connection.yaml b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_SalesForce_Connection.yaml
index 1b73e021..97f0b978 100644
--- a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_SalesForce_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_SalesForce_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SalesForce-Connection-1674668511","strategy":"salesforce"}
+ {"name":"Test-SalesForce-Connection-1714039292","strategy":"salesforce"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 224
uncompressed: false
- body: '{"id":"con_kux0PbGgPfxwYITb","options":{"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1674668511"]}'
+ body: '{"id":"con_L8BCFH0jqf0D2Sav","options":{"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 153.522292ms
+ duration: 312.016375ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,8 +55,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_kux0PbGgPfxwYITb
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_L8BCFH0jqf0D2Sav
method: PATCH
response:
proto: HTTP/2.0
@@ -66,33 +66,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_kux0PbGgPfxwYITb","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1674668511"]}'
+ body: '{"id":"con_L8BCFH0jqf0D2Sav","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 174.773875ms
+ duration: 523.849917ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_kux0PbGgPfxwYITb
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_L8BCFH0jqf0D2Sav
method: GET
response:
proto: HTTP/2.0
@@ -102,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_kux0PbGgPfxwYITb","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1674668511"]}'
+ body: '{"id":"con_L8BCFH0jqf0D2Sav","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 6.305035083s
+ duration: 3.582142958s
- id: 3
request:
proto: HTTP/1.1
@@ -126,8 +125,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_kux0PbGgPfxwYITb
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_L8BCFH0jqf0D2Sav
method: DELETE
response:
proto: HTTP/2.0
@@ -135,12 +134,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-04-25T10:01:58.420Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 236.044708ms
+ status: 202 Accepted
+ code: 202
+ duration: 304.281625ms
diff --git a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_WindowsLive_Connection.yaml b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_WindowsLive_Connection.yaml
index 24dd2276..3ab4522e 100644
--- a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_WindowsLive_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_WindowsLive_Connection.yaml
@@ -13,13 +13,13 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-WindowsLive-Connection-1674668511","strategy":"windowslive"}
+ {"name":"Test-WindowsLive-Connection-1714039292","strategy":"windowslive"}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
+ - Go-Auth0/1.5.0
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections
method: POST
response:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 252
uncompressed: false
- body: '{"id":"con_fWt33Y3lG4UqjFgf","options":{"signin":true,"scope":["wl.signin"]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1674668511"]}'
+ body: '{"id":"con_01I10VePNYgEafNZ","options":{"signin":true,"scope":["wl.signin"]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 146.063209ms
+ duration: 304.106458ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,8 +55,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_fWt33Y3lG4UqjFgf
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_01I10VePNYgEafNZ
method: PATCH
response:
proto: HTTP/2.0
@@ -66,33 +66,32 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_fWt33Y3lG4UqjFgf","options":{"scope":["wl.signin"],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1674668511"]}'
+ body: '{"id":"con_01I10VePNYgEafNZ","options":{"scope":["wl.signin"],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 168.734083ms
+ duration: 284.833042ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 5
+ content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
- body: |
- null
+ body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_fWt33Y3lG4UqjFgf
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_01I10VePNYgEafNZ
method: GET
response:
proto: HTTP/2.0
@@ -102,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_fWt33Y3lG4UqjFgf","options":{"scope":["wl.signin"],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1674668511","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1674668511"]}'
+ body: '{"id":"con_01I10VePNYgEafNZ","options":{"scope":["wl.signin"],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1714039292","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1714039292"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 97.766416ms
+ duration: 276.366458ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,8 +125,8 @@ interactions:
Content-Type:
- application/json
User-Agent:
- - Go-Auth0-SDK/latest
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_fWt33Y3lG4UqjFgf
+ - Go-Auth0/1.5.0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_01I10VePNYgEafNZ
method: DELETE
response:
proto: HTTP/2.0
@@ -137,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2023-01-25T17:45:28.981Z"}'
+ body: '{"deleted_at":"2024-04-25T10:01:53.699Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 135.928875ms
+ duration: 305.449541ms