diff --git a/management/connection.go b/management/connection.go
index c014e665..58d82c5f 100644
--- a/management/connection.go
+++ b/management/connection.go
@@ -1277,6 +1277,7 @@ type ConnectionOptionsAzureAD struct {
CertRolloverNotification *string `json:"cert_rollover_notification,omitempty"`
Granted *bool `json:"granted,omitempty"`
TenantID *string `json:"tenantId,omitempty"`
+ UserIDAttribute *string `json:"user_id_attribute,omitempty"`
}
// Scopes returns the scopes for ConnectionOptionsAzureAD.
diff --git a/management/connection_test.go b/management/connection_test.go
index 17a4c487..e31658cb 100644
--- a/management/connection_test.go
+++ b/management/connection_test.go
@@ -241,6 +241,7 @@ ZsUkLw2I7zI/dNlWdB8Xp7v+3w9sX5N3J/WuJ1KOO5m26kRlHQo7EzT3974g
TenantDomain: auth0.String("example.onmicrosoft.com"),
ClientID: auth0.String("123456"),
ClientSecret: auth0.String("123456"),
+ UserIDAttribute: auth0.String("userName"),
UpstreamParams: map[string]interface{}{
"screen_name": map[string]interface{}{
"alias": "login_hint",
diff --git a/management/management.gen.go b/management/management.gen.go
index 37a43c89..afcaa3bf 100644
--- a/management/management.gen.go
+++ b/management/management.gen.go
@@ -3181,6 +3181,14 @@ func (c *ConnectionOptionsAzureAD) GetUseCommonEndpoint() bool {
return *c.UseCommonEndpoint
}
+// GetUserIDAttribute returns the UserIDAttribute field if it's non-nil, zero value otherwise.
+func (c *ConnectionOptionsAzureAD) GetUserIDAttribute() string {
+ if c == nil || c.UserIDAttribute == nil {
+ return ""
+ }
+ return *c.UserIDAttribute
+}
+
// GetUseWSFederation returns the UseWSFederation field if it's non-nil, zero value otherwise.
func (c *ConnectionOptionsAzureAD) GetUseWSFederation() bool {
if c == nil || c.UseWSFederation == nil {
diff --git a/management/management.gen_test.go b/management/management.gen_test.go
index c8fe6831..831a84e6 100644
--- a/management/management.gen_test.go
+++ b/management/management.gen_test.go
@@ -3904,6 +3904,16 @@ func TestConnectionOptionsAzureAD_GetUseCommonEndpoint(tt *testing.T) {
c.GetUseCommonEndpoint()
}
+func TestConnectionOptionsAzureAD_GetUserIDAttribute(tt *testing.T) {
+ var zeroValue string
+ c := &ConnectionOptionsAzureAD{UserIDAttribute: &zeroValue}
+ c.GetUserIDAttribute()
+ c = &ConnectionOptionsAzureAD{}
+ c.GetUserIDAttribute()
+ c = nil
+ c.GetUserIDAttribute()
+}
+
func TestConnectionOptionsAzureAD_GetUseWSFederation(tt *testing.T) {
var zeroValue bool
c := &ConnectionOptionsAzureAD{UseWSFederation: &zeroValue}
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 238a7113..6b23b7a3 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-ADFS-Connection-1726595088","strategy":"adfs","options":{"strategy_version":2,"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-1726765770","strategy":"adfs","options":{"strategy_version":2,"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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_SfOKu7OhKTHFEVLh","options":{"strategy_version":2,"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-1726595088","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/62MnfgMO","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1726595088"]}'
+ body: '{"id":"con_Y7LemdCR6UEa0qGA","options":{"strategy_version":2,"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-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/L5ofK2fE","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 177.862417ms
+ duration: 177.838916ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_SfOKu7OhKTHFEVLh
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Y7LemdCR6UEa0qGA
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:44:59.127Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:40.572Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 152.907208ms
+ duration: 175.825958ms
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 250e72ba..19b3f1d8 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-AD-Connection-1726595088","strategy":"ad","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-AD-Connection-1726765770","strategy":"ad","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 428
uncompressed: false
- body: '{"id":"con_pkhhFJ36e4IwW54D","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1726595088","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/KR3seEszrwbcYuLOteUWV7qmdtBkxlep","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1726595088"]}'
+ body: '{"id":"con_XCw6yNNo2liNyEYU","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/Eb8B4R7OrRTL0jYHFrtWoUBq8X1JNE8s","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 168.473584ms
+ duration: 187.741875ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pkhhFJ36e4IwW54D
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_XCw6yNNo2liNyEYU
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:44:58.786Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:40.222Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 153.991917ms
+ duration: 172.200125ms
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 25ffa776..c0fc8866 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Apple-Connection-1726595088","strategy":"apple","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Apple-Connection-1726765770","strategy":"apple","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 255
uncompressed: false
- body: '{"id":"con_pzfojOjVYOdDjxFw","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1726595088"]}'
+ body: '{"id":"con_KAhLtRNvDbAcZMBj","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 165.993708ms
+ duration: 163.526125ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pzfojOjVYOdDjxFw
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_KAhLtRNvDbAcZMBj
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:44:59.787Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:41.293Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 150.8965ms
+ duration: 207.708875ms
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 57b91173..2461ae74 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-1726595088","strategy":"auth0","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Auth0-Connection-1726765770","strategy":"auth0","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 577
uncompressed: false
- body: '{"id":"con_355aN8eKLWbxIXYL","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726595088"]}'
+ body: '{"id":"con_zMu8RDPcczLUT7LZ","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 427.618208ms
+ duration: 527.935709ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_355aN8eKLWbxIXYL
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_zMu8RDPcczLUT7LZ
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:44:49.248Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:31.501Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 164.585417ms
+ duration: 167.63275ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Azure-AD_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Azure-AD_Connection.yaml
index b7d46a68..07a9dc81 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Azure-AD_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Azure-AD_Connection.yaml
@@ -6,14 +6,14 @@ interactions:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 277
+ content_length: 308
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-AzureAD-Connection-1726595088","strategy":"waad","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-AzureAD-Connection-1726765770","strategy":"waad","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"user_id_attribute":"userName"}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_loq1kHNCuLnRPx51","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"thumbprints":["4a3138b6fcc0c00a28e86077dbe83540076021c9","1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","2743ae2dd284d5280f768e2f77eb145f1bb6751b","824f47a0658299810b52ad51110d0290783e46c6"],"app_domain":"go-auth0-dev.eu.auth0.com.eu.auth0.com","identity_api":"microsoft-identity-platform-v2.0","useCommonEndpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified","waad_common_endpoint":false,"use_wsfed":false,"waad_protocol":"openid-connect","userid_attribute":"oid"},"strategy":"waad","name":"Test-AzureAD-Connection-1726595088","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/waad/sEjvVogK","is_domain_connection":false,"show_as_button":false,"display_name":"Test-AzureAD-Connection-1726595088","enabled_clients":[],"realms":["Test-AzureAD-Connection-1726595088"]}'
+ body: '{"id":"con_i15x4wejYHrPK4uj","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"user_id_attribute":"userName","thumbprints":["1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","824f47a0658299810b52ad51110d0290783e46c6"],"app_domain":"go-auth0-dev.eu.auth0.com.eu.auth0.com","identity_api":"microsoft-identity-platform-v2.0","useCommonEndpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified","waad_common_endpoint":false,"use_wsfed":false,"waad_protocol":"openid-connect","userid_attribute":"oid"},"strategy":"waad","name":"Test-AzureAD-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/waad/eNNGNndi","is_domain_connection":false,"show_as_button":false,"display_name":"Test-AzureAD-Connection-1726765770","enabled_clients":[],"realms":["Test-AzureAD-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 475.782458ms
+ duration: 422.7585ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_loq1kHNCuLnRPx51
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_i15x4wejYHrPK4uj
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:44:58.465Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:39.864Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 156.275291ms
+ duration: 175.485292ms
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 12b33034..a2a2c76a 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
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Custom-SMS-Connection-1726595088","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"}}}}
+ {"name":"Test-Custom-SMS-Connection-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 763
uncompressed: false
- body: '{"id":"con_Ix5kLOOwZJqm4czv","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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1726595088"]}'
+ body: '{"id":"con_WeCg7AKOhhCJAIcC","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 159.543209ms
+ duration: 177.051959ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Ix5kLOOwZJqm4czv
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_WeCg7AKOhhCJAIcC
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:44:51.344Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:33.747Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 155.425833ms
+ duration: 153.3435ms
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 c9904313..5479d1c8 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Email-Connection-1726595088","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 588
uncompressed: false
- body: '{"id":"con_VImJSgSc2frvh9Jb","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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1726595088"]}'
+ body: '{"id":"con_nHsPBwCIIonDBNvA","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 168.428708ms
+ duration: 198.888625ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_VImJSgSc2frvh9Jb
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_nHsPBwCIIonDBNvA
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:44:50.694Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:33.061Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 198.246125ms
+ duration: 206.226833ms
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 cf27378a..37aaab0b 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Facebook-Connection-1726595088","strategy":"facebook","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Facebook-Connection-1726765770","strategy":"facebook","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 275
uncompressed: false
- body: '{"id":"con_PGHZvJnXkRsxnmah","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1726595088"]}'
+ body: '{"id":"con_pi7vrwApQ04y0Rwi","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 156.39075ms
+ duration: 164.670208ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_PGHZvJnXkRsxnmah
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_pi7vrwApQ04y0Rwi
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:44:59.465Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:40.905Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 172.565208ms
+ duration: 163.21525ms
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 d5213859..ac54c6b3 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GitHub-Connection-1726595088","strategy":"github","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-GitHub-Connection-1726765770","strategy":"github","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 269
uncompressed: false
- body: '{"id":"con_50ecu9hNbhFR5R1H","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1726595088"]}'
+ body: '{"id":"con_7cAIeYfLmp47GxJQ","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 184.235125ms
+ duration: 162.698458ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_50ecu9hNbhFR5R1H
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_7cAIeYfLmp47GxJQ
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:45:06.623Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:41.962Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 6.296178709s
+ duration: 173.282917ms
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 e7e8a33c..c1f6cf6f 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleApps-Connection-1726595088","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 627
uncompressed: false
- body: '{"id":"con_5M5t9ecbpOaPSyFn","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-1726595088","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/Almh1QjW","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1726595088"]}'
+ body: '{"id":"con_CxbRCp7UYmZkvnoK","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-1726765770","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/rIrNDlqR","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 212.6805ms
+ duration: 238.665291ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_5M5t9ecbpOaPSyFn
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_CxbRCp7UYmZkvnoK
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:44:50.321Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:32.635Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 160.710791ms
+ duration: 183.932084ms
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 a0637ee1..880d2cbd 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleOAuth2-Connection-1726595088","strategy":"google-oauth2","options":{"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]}}
+ {"name":"Test-GoogleOAuth2-Connection-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 462
uncompressed: false
- body: '{"id":"con_fPhpqd8nlbuyP0F3","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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1726595088"]}'
+ body: '{"id":"con_uWYUGyhNNWhHd1qG","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 163.74ms
+ duration: 180.836125ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_fPhpqd8nlbuyP0F3
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_uWYUGyhNNWhHd1qG
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:44:49.933Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:32.219Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 170.511459ms
+ duration: 169.107167ms
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 f43d9955..3161e929 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-LinkedIn-Connection-1726595088","strategy":"linkedin","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-LinkedIn-Connection-1726765770","strategy":"linkedin","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 326
uncompressed: false
- body: '{"id":"con_R0t9nseXqWu6DOjL","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"profile":true,"scope":["r_liteprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1726595088"]}'
+ body: '{"id":"con_TLI9uA2u8pROtPh7","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"profile":true,"scope":["r_liteprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 174.931791ms
+ duration: 164.903875ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_R0t9nseXqWu6DOjL
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TLI9uA2u8pROtPh7
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:45:00.132Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:41.622Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 170.722ms
+ duration: 159.336875ms
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 3f90d15b..3b146df8 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
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-OIDC-Connection-1726595088","strategy":"oidc","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://www.paypalobjects.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"}}}}
+ {"name":"Test-OIDC-Connection-1726765770","strategy":"oidc","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://www.paypalobjects.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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_wKQikmsQ1eU1PeKY","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://www.paypalobjects.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":"https://api.paypal.com/v1/oauth2/token/userinfo","token_endpoint":"https://api.paypal.com/v1/oauth2/token","scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}},"oidc_metadata":{"issuer":"https://www.paypal.com","authorization_endpoint":"https://www.paypal.com/signin/authorize","registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","token_endpoint_auth_methods_supported":["client_secret_basic"],"response_types_supported":["code","code id_token"],"response_modes_supported":["query","form_post"],"grant_types_supported":["authorization_code","refresh_token"],"subject_types_supported":["pairwise"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"id_token_signing_alg_values_supported":["HS256","RS256"],"claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"code_challenge_methods_supported":["RS256","ES256","S256"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","attribute_map":{"mapping_mode":"bind_all"},"connection_settings":{"pkce":"auto"}},"strategy":"oidc","name":"Test-OIDC-Connection-1726595088","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1726595088","enabled_clients":[],"realms":["Test-OIDC-Connection-1726595088"]}'
+ body: '{"id":"con_MwVrWHxIrR9mQaXn","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://www.paypalobjects.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":"https://api.paypal.com/v1/oauth2/token/userinfo","token_endpoint":"https://api.paypal.com/v1/oauth2/token","scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}},"oidc_metadata":{"issuer":"https://www.paypal.com","authorization_endpoint":"https://www.paypal.com/signin/authorize","registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","token_endpoint_auth_methods_supported":["client_secret_basic"],"response_types_supported":["code","code id_token"],"response_modes_supported":["query","form_post"],"grant_types_supported":["authorization_code","refresh_token"],"subject_types_supported":["pairwise"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"id_token_signing_alg_values_supported":["HS256","RS256"],"claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"code_challenge_methods_supported":["RS256","ES256","S256"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","attribute_map":{"mapping_mode":"bind_all"},"connection_settings":{"pkce":"auto"}},"strategy":"oidc","name":"Test-OIDC-Connection-1726765770","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1726765770","enabled_clients":[],"realms":["Test-OIDC-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 342.218083ms
+ duration: 334.184375ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_wKQikmsQ1eU1PeKY
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MwVrWHxIrR9mQaXn
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:45:07.781Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:48.357Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 165.925584ms
+ duration: 190.750375ms
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 d600a517..595e8395 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1726595088","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_0KZBdvOQYonedJfj","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726595088","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726595088","enabled_clients":[],"realms":["Test-Okta-Connection-1726595088"]}'
+ body: '{"id":"con_mPOe2xiQX4xRJuik","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726765770","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726765770","enabled_clients":[],"realms":["Test-Okta-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 723.39475ms
+ duration: 798.86725ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_0KZBdvOQYonedJfj
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_mPOe2xiQX4xRJuik
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:45:08.689Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:49.325Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 167.882042ms
+ duration: 164.630458ms
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 01a9c072..0e823c26 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Ping-Federate-Connection-1726595088","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_TWUbK3wqNi12irwO","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-1726595088","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/E8Jn3SRd","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1726595088"]}'
+ body: '{"id":"con_GqJn691IWrjvGHYO","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-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/wM07pUrE","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 191.533667ms
+ duration: 177.298458ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TWUbK3wqNi12irwO
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_GqJn691IWrjvGHYO
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:45:09.035Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:49.671Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 150.937ms
+ duration: 158.646417ms
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 6d1a5eb9..7a51d016 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SAML-Connection-1726595088","strategy":"samlp","options":{"strategy_version":2,"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-1726765770","strategy":"samlp","options":{"strategy_version":2,"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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_UFM7CMxSaQJAVb87","options":{"strategy_version":2,"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-1726595088","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/GWpGVHci","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1726595088"]}'
+ body: '{"id":"con_A3aoAXu5X066hUSF","options":{"strategy_version":2,"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-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/C3ZDjpIc","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 6.314629833s
+ duration: 183.071459ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_UFM7CMxSaQJAVb87
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_A3aoAXu5X066hUSF
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:44:57.826Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:39.248Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 162.032ms
+ duration: 5.322288959s
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 29d05932..760db9de 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SMS-Connection-1726595088","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 606
uncompressed: false
- body: '{"id":"con_ttpXfHNPqRD1zQya","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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1726595088"]}'
+ body: '{"id":"con_aHbTLFC4FMpxfNQP","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 173.476583ms
+ duration: 173.921541ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ttpXfHNPqRD1zQya
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_aHbTLFC4FMpxfNQP
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:44:51.028Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:33.410Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 156.827167ms
+ duration: 176.224542ms
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 f7b951c2..04670a9f 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SalesForce-Connection-1726595088","strategy":"salesforce","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-SalesForce-Connection-1726765770","strategy":"salesforce","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 281
uncompressed: false
- body: '{"id":"con_JGQ7e0HTYWphKr9Y","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1726595088"]}'
+ body: '{"id":"con_o49TUNzOCzhMEMVO","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 164.396791ms
+ duration: 189.226333ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_JGQ7e0HTYWphKr9Y
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_o49TUNzOCzhMEMVO
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:45:07.269Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:47.822Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 161.134625ms
+ duration: 177.253208ms
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 e89ab501..a1e0d540 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-WindowsLive-Connection-1726595088","strategy":"windowslive","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-WindowsLive-Connection-1726765770","strategy":"windowslive","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 319
uncompressed: false
- body: '{"id":"con_V1wnq66fwnbGrqSK","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"signin":true,"scope":[]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1726595088"]}'
+ body: '{"id":"con_w7b5jTS3SbM9TxlT","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"signin":true,"scope":[]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 167.2445ms
+ duration: 5.326614875s
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_V1wnq66fwnbGrqSK
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_w7b5jTS3SbM9TxlT
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:45:06.942Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:47.461Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 153.287083ms
+ duration: 162.667959ms
diff --git a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Wordpress_Connection.yaml b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Wordpress_Connection.yaml
index cc46433b..22d5d3c7 100644
--- a/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Wordpress_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Create/It_can_successfully_create_a_Wordpress_Connection.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Wordpress-Connection-1726595088","strategy":"wordpress","options":{"strategy_version":2,"authorizationURL":null,"tokenURL":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["email","profile","openid"]}}
+ {"name":"Test-Wordpress-Connection-1726765770","strategy":"wordpress","options":{"strategy_version":2,"authorizationURL":null,"tokenURL":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["email","profile","openid"]}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 363
uncompressed: false
- body: '{"id":"con_LVMHoByhArnt9gWY","options":{"strategy_version":2,"authorizationURL":null,"tokenURL":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["profile"],"profile":true},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Wordpress-Connection-1726595088"]}'
+ body: '{"id":"con_tsRmXpZ3kEpt6m0g","options":{"strategy_version":2,"authorizationURL":null,"tokenURL":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["profile"],"profile":true},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Wordpress-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 179.610667ms
+ duration: 175.2535ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_LVMHoByhArnt9gWY
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_tsRmXpZ3kEpt6m0g
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:44:49.602Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:31.855Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 167.8045ms
+ duration: 181.236208ms
diff --git a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_Attribute_required_in_profile_but_inactive_on_signup.yaml b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_Attribute_required_in_profile_but_inactive_on_signup.yaml
index 5a32dff8..5df1b6be 100644
--- a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_Attribute_required_in_profile_but_inactive_on_signup.yaml
+++ b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_Attribute_required_in_profile_but_inactive_on_signup.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-Attribute-Inactive-On-Signup-1726595088","strategy":"auth0","options":{"precedence":["username","email","phone_number"],"attributes":{"phone_number":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"inactive","verification":{"active":false}}}}}}
+ {"name":"Test-Auth0-Connection-Attribute-Inactive-On-Signup-1726765770","strategy":"auth0","options":{"precedence":["username","email","phone_number"],"attributes":{"phone_number":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"inactive","verification":{"active":false}}}}}}
form: {}
headers:
Content-Type:
@@ -36,4 +36,4 @@ interactions:
- application/json; charset=utf-8
status: 400 Bad Request
code: 400
- duration: 129.957542ms
+ duration: 148.043875ms
diff --git a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_Cannot_set_both_requires_username_and_attributes_together.yaml b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_Cannot_set_both_requires_username_and_attributes_together.yaml
index e81ad285..5273e312 100644
--- a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_Cannot_set_both_requires_username_and_attributes_together.yaml
+++ b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_Cannot_set_both_requires_username_and_attributes_together.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-Invalid-1726595088","strategy":"auth0","options":{"requires_username":true,"precedence":["username","email","phone_number"],"attributes":{"email":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}}}}}
+ {"name":"Test-Auth0-Connection-Invalid-1726765770","strategy":"auth0","options":{"requires_username":true,"precedence":["username","email","phone_number"],"attributes":{"email":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}}}}}
form: {}
headers:
Content-Type:
@@ -36,4 +36,4 @@ interactions:
- application/json; charset=utf-8
status: 400 Bad Request
code: 400
- duration: 137.769667ms
+ duration: 141.286791ms
diff --git a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_Cannot_set_both_validation_and_attributes_together.yaml b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_Cannot_set_both_validation_and_attributes_together.yaml
index 0b562b3a..889ba81d 100644
--- a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_Cannot_set_both_validation_and_attributes_together.yaml
+++ b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_Cannot_set_both_validation_and_attributes_together.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-Attributes-And-Validation-1726595088","strategy":"auth0","options":{"validation":{"username":{"max":5,"min":1}},"precedence":["username","email","phone_number"],"attributes":{"email":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}},"username":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required"}}}}}
+ {"name":"Test-Auth0-Connection-Attributes-And-Validation-1726765770","strategy":"auth0","options":{"validation":{"username":{"max":5,"min":1}},"precedence":["username","email","phone_number"],"attributes":{"email":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}},"username":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required"}}}}}
form: {}
headers:
Content-Type:
@@ -36,4 +36,4 @@ interactions:
- application/json; charset=utf-8
status: 400 Bad Request
code: 400
- duration: 135.562875ms
+ duration: 160.728458ms
diff --git a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_With_No_attribute_is_active.yaml b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_With_No_attribute_is_active.yaml
index 37ca2054..773f472a 100644
--- a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_With_No_attribute_is_active.yaml
+++ b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_With_No_attribute_is_active.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-No-Active-Attributes-1726595088","strategy":"auth0","options":{"precedence":["username","email","phone_number"],"attributes":{"email":{"identifier":{"active":false},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}},"username":{"identifier":{"active":false},"profile_required":true,"signup":{"status":"required"}},"phone_number":{"identifier":{"active":false},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}}}}}
+ {"name":"Test-Auth0-Connection-No-Active-Attributes-1726765770","strategy":"auth0","options":{"precedence":["username","email","phone_number"],"attributes":{"email":{"identifier":{"active":false},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}},"username":{"identifier":{"active":false},"profile_required":true,"signup":{"status":"required"}},"phone_number":{"identifier":{"active":false},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}}}}}
form: {}
headers:
Content-Type:
@@ -36,4 +36,4 @@ interactions:
- application/json; charset=utf-8
status: 400 Bad Request
code: 400
- duration: 146.064666ms
+ duration: 163.301209ms
diff --git a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_With_RequireUsername.yaml b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_With_RequireUsername.yaml
index 26d78f54..3ab0563d 100644
--- a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_With_RequireUsername.yaml
+++ b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_With_RequireUsername.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-RequireUsername-1726595088","strategy":"auth0","options":{"requires_username":true,"precedence":["username","email","phone_number"]}}
+ {"name":"Test-Auth0-Connection-RequireUsername-1726765770","strategy":"auth0","options":{"requires_username":true,"precedence":["username","email","phone_number"]}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 626
uncompressed: false
- body: '{"id":"con_X0nARj0toNVhp3D9","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","requires_username":true,"precedence":["username","email","phone_number"],"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-RequireUsername-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-RequireUsername-1726595088"]}'
+ body: '{"id":"con_L9nqq8k2SRN2RXc8","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","requires_username":true,"precedence":["username","email","phone_number"],"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-RequireUsername-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-RequireUsername-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 168.100875ms
+ duration: 175.217166ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_X0nARj0toNVhp3D9
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_L9nqq8k2SRN2RXc8
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:45:09.369Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:50.018Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 173.135917ms
+ duration: 160.562542ms
diff --git a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_with_Email_as_Identifier.yaml b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_with_Email_as_Identifier.yaml
index 9d1fded8..902d9307 100644
--- a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_with_Email_as_Identifier.yaml
+++ b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_with_Email_as_Identifier.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-Email-1726595088","strategy":"auth0","options":{"precedence":["username","email","phone_number"],"attributes":{"email":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}}}}}
+ {"name":"Test-Auth0-Connection-Email-1726765770","strategy":"auth0","options":{"precedence":["username","email","phone_number"],"attributes":{"email":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 722
uncompressed: false
- body: '{"id":"con_LI6um1pbAV4gED6j","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","precedence":["username","email","phone_number"],"attributes":{"email":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}}},"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-Email-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-Email-1726595088"]}'
+ body: '{"id":"con_95gUwVDGjqdmvA20","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","precedence":["username","email","phone_number"],"attributes":{"email":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}}},"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-Email-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-Email-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 173.740167ms
+ duration: 174.712458ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_LI6um1pbAV4gED6j
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_95gUwVDGjqdmvA20
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:45:10.234Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:50.726Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 162.873208ms
+ duration: 162.245708ms
diff --git a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_with_PhoneNumber_as_Identifier.yaml b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_with_PhoneNumber_as_Identifier.yaml
index bd1d6e02..41bb69d5 100644
--- a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_with_PhoneNumber_as_Identifier.yaml
+++ b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_with_PhoneNumber_as_Identifier.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-Phone-1726595088","strategy":"auth0","options":{"precedence":["username","email","phone_number"],"attributes":{"phone_number":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}}}}}
+ {"name":"Test-Auth0-Connection-Phone-1726765770","strategy":"auth0","options":{"precedence":["username","email","phone_number"],"attributes":{"phone_number":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 729
uncompressed: false
- body: '{"id":"con_glh93dywCZVgzAQY","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","precedence":["username","email","phone_number"],"attributes":{"phone_number":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}}},"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-Phone-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-Phone-1726595088"]}'
+ body: '{"id":"con_JNJt2mC6XwGh3E4B","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","precedence":["username","email","phone_number"],"attributes":{"phone_number":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required","verification":{"active":false}}}},"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-Phone-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-Phone-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 167.663292ms
+ duration: 178.885167ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_glh93dywCZVgzAQY
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_JNJt2mC6XwGh3E4B
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:45:09.892Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:50.372Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 349.981833ms
+ duration: 191.737208ms
diff --git a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_with_Username_as_Identifier.yaml b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_with_Username_as_Identifier.yaml
index 69d816eb..f1bc28fa 100644
--- a/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_with_Username_as_Identifier.yaml
+++ b/test/data/recordings/TestConnectionManager_CreateDBConnectionWithDifferentOptions/It_handles_Auth0_Connection_with_Username_as_Identifier.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-Username-1726595088","strategy":"auth0","options":{"precedence":["username","email","phone_number"],"attributes":{"username":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required"},"validation":{"min_length":1,"max_length":5,"allowed_types":{"email":true,"phone_number":false}}}}}}
+ {"name":"Test-Auth0-Connection-Username-1726765770","strategy":"auth0","options":{"precedence":["username","email","phone_number"],"attributes":{"username":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required"},"validation":{"min_length":1,"max_length":5,"allowed_types":{"email":true,"phone_number":false}}}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 796
uncompressed: false
- body: '{"id":"con_EQzuMgmm6i65aHUk","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","precedence":["username","email","phone_number"],"attributes":{"username":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required"},"validation":{"min_length":1,"max_length":5,"allowed_types":{"email":true,"phone_number":false}}}},"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-Username-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-Username-1726595088"]}'
+ body: '{"id":"con_9ssqQUyj5QVWcd3m","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","precedence":["username","email","phone_number"],"attributes":{"username":{"identifier":{"active":true},"profile_required":true,"signup":{"status":"required"},"validation":{"min_length":1,"max_length":5,"allowed_types":{"email":true,"phone_number":false}}}},"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-Username-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-Username-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 6.342151709s
+ duration: 181.124208ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_EQzuMgmm6i65aHUk
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_9ssqQUyj5QVWcd3m
method: DELETE
response:
proto: HTTP/2.0
@@ -65,10 +65,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:45:16.759Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:56.227Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 170.023834ms
+ duration: 5.334650125s
diff --git a/test/data/recordings/TestConnectionManager_CreateSCIMConfiguration.yaml b/test/data/recordings/TestConnectionManager_CreateSCIMConfiguration.yaml
index c2c53eac..a1603d48 100644
--- a/test/data/recordings/TestConnectionManager_CreateSCIMConfiguration.yaml
+++ b/test/data/recordings/TestConnectionManager_CreateSCIMConfiguration.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1726595257","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-1726765923","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_6NW8BPVaIchXtxTX","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726595257","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726595257","enabled_clients":[],"realms":["Test-Okta-Connection-1726595257"]}'
+ body: '{"id":"con_OTwCGS8H0jCmqiJF","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726765923","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726765923","enabled_clients":[],"realms":["Test-Okta-Connection-1726765923"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 774.713625ms
+ duration: 876.739917ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6NW8BPVaIchXtxTX/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_OTwCGS8H0jCmqiJF/scim-configuration
method: POST
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: 331
uncompressed: false
- body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_6NW8BPVaIchXtxTX","connection_name":"Test-Okta-Connection-1726595257","strategy":"okta","mapping":[{"scim":"userName","auth0":"username"},{"scim":"email","auth0":"email"}],"updated_on":"2024-09-17T17:47:38.286Z","created_at":"2024-09-17T17:47:38.286Z","user_id_attribute":"userName"}'
+ body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_OTwCGS8H0jCmqiJF","connection_name":"Test-Okta-Connection-1726765923","strategy":"okta","mapping":[{"scim":"userName","auth0":"username"},{"scim":"email","auth0":"email"}],"updated_on":"2024-09-19T17:12:05.000Z","created_at":"2024-09-19T17:12:05.000Z","user_id_attribute":"userName"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 324.215958ms
+ duration: 170.263333ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6NW8BPVaIchXtxTX/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_OTwCGS8H0jCmqiJF/scim-configuration
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_6NW8BPVaIchXtxTX","connection_name":"Test-Okta-Connection-1726595257","strategy":"okta","mapping":[{"scim":"userName","auth0":"username"},{"scim":"email","auth0":"email"}],"updated_on":"2024-09-17T17:47:38.286Z","created_at":"2024-09-17T17:47:38.286Z","user_id_attribute":"userName"}'
+ body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_OTwCGS8H0jCmqiJF","connection_name":"Test-Okta-Connection-1726765923","strategy":"okta","mapping":[{"scim":"userName","auth0":"username"},{"scim":"email","auth0":"email"}],"updated_on":"2024-09-19T17:12:05.000Z","created_at":"2024-09-19T17:12:05.000Z","user_id_attribute":"userName"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 162.896292ms
+ duration: 167.02575ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6NW8BPVaIchXtxTX/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_OTwCGS8H0jCmqiJF/scim-configuration
method: DELETE
response:
proto: HTTP/2.0
@@ -142,7 +142,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 159.293708ms
+ duration: 151.682875ms
- id: 4
request:
proto: HTTP/1.1
@@ -161,7 +161,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6NW8BPVaIchXtxTX
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_OTwCGS8H0jCmqiJF
method: DELETE
response:
proto: HTTP/2.0
@@ -171,10 +171,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:38.839Z"}'
+ body: '{"deleted_at":"2024-09-19T17:12:05.474Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 154.494625ms
+ duration: 165.139333ms
diff --git a/test/data/recordings/TestConnectionManager_CreateSCIMConfigurationWithoutBody.yaml b/test/data/recordings/TestConnectionManager_CreateSCIMConfigurationWithoutBody.yaml
index bdaf0848..206fde38 100644
--- a/test/data/recordings/TestConnectionManager_CreateSCIMConfigurationWithoutBody.yaml
+++ b/test/data/recordings/TestConnectionManager_CreateSCIMConfigurationWithoutBody.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1726595258","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-1726765925","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_Q3oMpEluOZvVZpfo","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726595258","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726595258","enabled_clients":[],"realms":["Test-Okta-Connection-1726595258"]}'
+ body: '{"id":"con_yvWkb7NbQXEW9liE","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726765925","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726765925","enabled_clients":[],"realms":["Test-Okta-Connection-1726765925"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 778.683875ms
+ duration: 666.802ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Q3oMpEluOZvVZpfo/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_yvWkb7NbQXEW9liE/scim-configuration
method: POST
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_Q3oMpEluOZvVZpfo","connection_name":"Test-Okta-Connection-1726595258","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-17T17:47:39.796Z","created_at":"2024-09-17T17:47:39.796Z","user_id_attribute":"externalId"}'
+ body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_yvWkb7NbQXEW9liE","connection_name":"Test-Okta-Connection-1726765925","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-19T17:12:06.326Z","created_at":"2024-09-19T17:12:06.326Z","user_id_attribute":"externalId"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 174.537041ms
+ duration: 173.547209ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Q3oMpEluOZvVZpfo/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_yvWkb7NbQXEW9liE/scim-configuration
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_Q3oMpEluOZvVZpfo","connection_name":"Test-Okta-Connection-1726595258","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-17T17:47:39.796Z","created_at":"2024-09-17T17:47:39.796Z","user_id_attribute":"externalId"}'
+ body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_yvWkb7NbQXEW9liE","connection_name":"Test-Okta-Connection-1726765925","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-19T17:12:06.326Z","created_at":"2024-09-19T17:12:06.326Z","user_id_attribute":"externalId"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 153.398542ms
+ duration: 151.605584ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Q3oMpEluOZvVZpfo/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_yvWkb7NbQXEW9liE/scim-configuration
method: DELETE
response:
proto: HTTP/2.0
@@ -142,7 +142,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 182.515292ms
+ duration: 6.327208541s
- id: 4
request:
proto: HTTP/1.1
@@ -161,7 +161,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Q3oMpEluOZvVZpfo
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_yvWkb7NbQXEW9liE
method: DELETE
response:
proto: HTTP/2.0
@@ -171,10 +171,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:45.425Z"}'
+ body: '{"deleted_at":"2024-09-19T17:12:12.970Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 5.286908709s
+ duration: 164.790791ms
diff --git a/test/data/recordings/TestConnectionManager_CreateSCIMToken.yaml b/test/data/recordings/TestConnectionManager_CreateSCIMToken.yaml
index f74ef4d0..ec896767 100644
--- a/test/data/recordings/TestConnectionManager_CreateSCIMToken.yaml
+++ b/test/data/recordings/TestConnectionManager_CreateSCIMToken.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1726595277","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-1726765945","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_88AZGynmuKoHwpFd","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726595277","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726595277","enabled_clients":[],"realms":["Test-Okta-Connection-1726595277"]}'
+ body: '{"id":"con_NvfqAVfWUv9xPYHz","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726765945","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726765945","enabled_clients":[],"realms":["Test-Okta-Connection-1726765945"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 845.614542ms
+ duration: 811.035542ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_88AZGynmuKoHwpFd/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_NvfqAVfWUv9xPYHz/scim-configuration
method: POST
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_88AZGynmuKoHwpFd","connection_name":"Test-Okta-Connection-1726595277","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-17T17:47:57.989Z","created_at":"2024-09-17T17:47:57.989Z","user_id_attribute":"externalId"}'
+ body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_NvfqAVfWUv9xPYHz","connection_name":"Test-Okta-Connection-1726765945","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-19T17:12:26.493Z","created_at":"2024-09-19T17:12:26.493Z","user_id_attribute":"externalId"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 164.461292ms
+ duration: 183.47725ms
- id: 2
request:
proto: HTTP/1.1
@@ -92,7 +92,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_88AZGynmuKoHwpFd/scim-configuration/tokens
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_NvfqAVfWUv9xPYHz/scim-configuration/tokens
method: POST
response:
proto: HTTP/2.0
@@ -102,13 +102,13 @@ interactions:
trailer: {}
content_length: 233
uncompressed: false
- body: '{"token_id":"tok_4KyrQeVsqTc1AP1B","token":"[REDACTED]","scopes":["get:users","post:users","put:users","patch:users"],"created_at":"2024-09-17T17:47:58.162Z"}'
+ body: '{"token_id":"tok_drWtRofv7rNsUNFk","token":"[REDACTED]","scopes":["get:users","post:users","put:users","patch:users"],"created_at":"2024-09-19T17:12:26.674Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 167.6635ms
+ duration: 179.312708ms
- id: 3
request:
proto: HTTP/1.1
@@ -127,7 +127,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_88AZGynmuKoHwpFd/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_NvfqAVfWUv9xPYHz/scim-configuration
method: DELETE
response:
proto: HTTP/2.0
@@ -143,7 +143,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 146.07125ms
+ duration: 180.721542ms
- id: 4
request:
proto: HTTP/1.1
@@ -162,7 +162,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_88AZGynmuKoHwpFd/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_NvfqAVfWUv9xPYHz/scim-configuration
method: DELETE
response:
proto: HTTP/2.0
@@ -178,7 +178,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 151.0425ms
+ duration: 150.627ms
- id: 5
request:
proto: HTTP/1.1
@@ -197,7 +197,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_88AZGynmuKoHwpFd
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_NvfqAVfWUv9xPYHz
method: DELETE
response:
proto: HTTP/2.0
@@ -207,10 +207,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:58.612Z"}'
+ body: '{"deleted_at":"2024-09-19T17:12:27.165Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 161.518ms
+ duration: 151.501375ms
diff --git a/test/data/recordings/TestConnectionManager_Delete.yaml b/test/data/recordings/TestConnectionManager_Delete.yaml
index daf49185..d585f6a4 100644
--- a/test/data/recordings/TestConnectionManager_Delete.yaml
+++ b/test/data/recordings/TestConnectionManager_Delete.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-1726595256","strategy":"auth0"}
+ {"name":"Test-Auth0-Connection-1726765922","strategy":"auth0"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 520
uncompressed: false
- body: '{"id":"con_Ul3HP0Ue2R9WM5IN","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-1726595256","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726595256"]}'
+ body: '{"id":"con_BigyJHWrJt11Jaf9","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-1726765922","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726765922"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 242.665834ms
+ duration: 163.174958ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Ul3HP0Ue2R9WM5IN
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_BigyJHWrJt11Jaf9
method: DELETE
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:36.504Z"}'
+ body: '{"deleted_at":"2024-09-19T17:12:03.156Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 156.074167ms
+ duration: 158.991208ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Ul3HP0Ue2R9WM5IN
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_BigyJHWrJt11Jaf9
method: GET
response:
proto: HTTP/2.0
@@ -106,7 +106,7 @@ interactions:
- application/json; charset=utf-8
status: 404 Not Found
code: 404
- duration: 140.256541ms
+ duration: 152.655334ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Ul3HP0Ue2R9WM5IN
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_BigyJHWrJt11Jaf9
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:36.504Z"}'
+ body: '{"deleted_at":"2024-09-19T17:12:03.156Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 134.869208ms
+ duration: 144.429125ms
diff --git a/test/data/recordings/TestConnectionManager_DeleteSCIMConfiguration.yaml b/test/data/recordings/TestConnectionManager_DeleteSCIMConfiguration.yaml
index e80be469..06fb9ea9 100644
--- a/test/data/recordings/TestConnectionManager_DeleteSCIMConfiguration.yaml
+++ b/test/data/recordings/TestConnectionManager_DeleteSCIMConfiguration.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1726595267","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-1726765934","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_DiG7GgeHvXO7GEEb","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726595267","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726595267","enabled_clients":[],"realms":["Test-Okta-Connection-1726595267"]}'
+ body: '{"id":"con_jokCQ6pn24DERKCb","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726765934","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726765934","enabled_clients":[],"realms":["Test-Okta-Connection-1726765934"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 769.66325ms
+ duration: 655.590833ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DiG7GgeHvXO7GEEb/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_jokCQ6pn24DERKCb/scim-configuration
method: POST
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_DiG7GgeHvXO7GEEb","connection_name":"Test-Okta-Connection-1726595267","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-17T17:47:48.090Z","created_at":"2024-09-17T17:47:48.090Z","user_id_attribute":"externalId"}'
+ body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_jokCQ6pn24DERKCb","connection_name":"Test-Okta-Connection-1726765934","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-19T17:12:15.674Z","created_at":"2024-09-19T17:12:15.674Z","user_id_attribute":"externalId"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 169.962875ms
+ duration: 179.552ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DiG7GgeHvXO7GEEb/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_jokCQ6pn24DERKCb/scim-configuration
method: DELETE
response:
proto: HTTP/2.0
@@ -107,7 +107,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 151.255584ms
+ duration: 149.194959ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DiG7GgeHvXO7GEEb/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_jokCQ6pn24DERKCb/scim-configuration
method: GET
response:
proto: HTTP/2.0
@@ -142,7 +142,7 @@ interactions:
- application/json; charset=utf-8
status: 404 Not Found
code: 404
- duration: 150.853875ms
+ duration: 163.971458ms
- id: 4
request:
proto: HTTP/1.1
@@ -161,7 +161,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DiG7GgeHvXO7GEEb/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_jokCQ6pn24DERKCb/scim-configuration
method: DELETE
response:
proto: HTTP/2.0
@@ -177,7 +177,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 146.384833ms
+ duration: 146.855291ms
- id: 5
request:
proto: HTTP/1.1
@@ -196,7 +196,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DiG7GgeHvXO7GEEb
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_jokCQ6pn24DERKCb
method: DELETE
response:
proto: HTTP/2.0
@@ -206,10 +206,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:48.690Z"}'
+ body: '{"deleted_at":"2024-09-19T17:12:16.301Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 150.302416ms
+ duration: 157.621833ms
diff --git a/test/data/recordings/TestConnectionManager_DeleteSCIMToken.yaml b/test/data/recordings/TestConnectionManager_DeleteSCIMToken.yaml
index a503bfdd..27c82b23 100644
--- a/test/data/recordings/TestConnectionManager_DeleteSCIMToken.yaml
+++ b/test/data/recordings/TestConnectionManager_DeleteSCIMToken.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1726595280","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-1726765948","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_TyYCRjuOuU6yL3W1","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726595280","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726595280","enabled_clients":[],"realms":["Test-Okta-Connection-1726595280"]}'
+ body: '{"id":"con_cKJyYTrGh9NknUZn","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726765948","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726765948","enabled_clients":[],"realms":["Test-Okta-Connection-1726765948"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 769.763375ms
+ duration: 965.5835ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TyYCRjuOuU6yL3W1/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_cKJyYTrGh9NknUZn/scim-configuration
method: POST
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_TyYCRjuOuU6yL3W1","connection_name":"Test-Okta-Connection-1726595280","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-17T17:48:01.375Z","created_at":"2024-09-17T17:48:01.375Z","user_id_attribute":"externalId"}'
+ body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_cKJyYTrGh9NknUZn","connection_name":"Test-Okta-Connection-1726765948","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-19T17:12:30.084Z","created_at":"2024-09-19T17:12:30.084Z","user_id_attribute":"externalId"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 167.712292ms
+ duration: 180.362167ms
- id: 2
request:
proto: HTTP/1.1
@@ -92,7 +92,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TyYCRjuOuU6yL3W1/scim-configuration/tokens
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_cKJyYTrGh9NknUZn/scim-configuration/tokens
method: POST
response:
proto: HTTP/2.0
@@ -102,13 +102,13 @@ interactions:
trailer: {}
content_length: 233
uncompressed: false
- body: '{"token_id":"tok_WCitygRl2tfwHekB","token":"[REDACTED]","scopes":["get:users","post:users","put:users","patch:users"],"created_at":"2024-09-17T17:48:01.544Z"}'
+ body: '{"token_id":"tok_yiYaL0h4hlOJHK81","token":"[REDACTED]","scopes":["get:users","post:users","put:users","patch:users"],"created_at":"2024-09-19T17:12:30.239Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 154.026708ms
+ duration: 163.038208ms
- id: 3
request:
proto: HTTP/1.1
@@ -127,7 +127,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TyYCRjuOuU6yL3W1/scim-configuration/tokens
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_cKJyYTrGh9NknUZn/scim-configuration/tokens
method: GET
response:
proto: HTTP/2.0
@@ -137,13 +137,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '[{"token_id":"tok_WCitygRl2tfwHekB","created_at":"2024-09-17T17:48:01.544Z","scopes":["get:users","post:users","put:users","patch:users"]}]'
+ body: '[{"token_id":"tok_yiYaL0h4hlOJHK81","created_at":"2024-09-19T17:12:30.239Z","scopes":["get:users","post:users","put:users","patch:users"]}]'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 6.296951792s
+ duration: 5.314500625s
- id: 4
request:
proto: HTTP/1.1
@@ -162,7 +162,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TyYCRjuOuU6yL3W1/scim-configuration/tokens/tok_WCitygRl2tfwHekB
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_cKJyYTrGh9NknUZn/scim-configuration/tokens/tok_yiYaL0h4hlOJHK81
method: DELETE
response:
proto: HTTP/2.0
@@ -178,7 +178,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 151.784541ms
+ duration: 167.483291ms
- id: 5
request:
proto: HTTP/1.1
@@ -197,7 +197,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TyYCRjuOuU6yL3W1/scim-configuration/tokens
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_cKJyYTrGh9NknUZn/scim-configuration/tokens
method: GET
response:
proto: HTTP/2.0
@@ -213,7 +213,7 @@ interactions:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 152.176334ms
+ duration: 159.248875ms
- id: 6
request:
proto: HTTP/1.1
@@ -232,7 +232,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TyYCRjuOuU6yL3W1/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_cKJyYTrGh9NknUZn/scim-configuration
method: DELETE
response:
proto: HTTP/2.0
@@ -248,7 +248,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 166.021583ms
+ duration: 171.418542ms
- id: 7
request:
proto: HTTP/1.1
@@ -267,7 +267,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TyYCRjuOuU6yL3W1/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_cKJyYTrGh9NknUZn/scim-configuration
method: DELETE
response:
proto: HTTP/2.0
@@ -283,7 +283,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 138.778166ms
+ duration: 144.884333ms
- id: 8
request:
proto: HTTP/1.1
@@ -302,7 +302,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TyYCRjuOuU6yL3W1
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_cKJyYTrGh9NknUZn
method: DELETE
response:
proto: HTTP/2.0
@@ -312,10 +312,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:48:08.592Z"}'
+ body: '{"deleted_at":"2024-09-19T17:12:36.359Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 152.062ms
+ duration: 156.884ms
diff --git a/test/data/recordings/TestConnectionManager_List.yaml b/test/data/recordings/TestConnectionManager_List.yaml
index 96af9f55..c6eeb2d6 100644
--- a/test/data/recordings/TestConnectionManager_List.yaml
+++ b/test/data/recordings/TestConnectionManager_List.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-List-1726595256","strategy":"auth0"}
+ {"name":"Test-Auth0-Connection-List-1726765923","strategy":"auth0"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 530
uncompressed: false
- body: '{"id":"con_O9wKsUjPX9IFSpG6","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-1726595256","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-List-1726595256"]}'
+ body: '{"id":"con_do0osRrVR9LiIJTd","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-1726765923","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-List-1726765923"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 165.533583ms
+ duration: 164.895958ms
- id: 1
request:
proto: HTTP/1.1
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":4,"start":0,"limit":50,"connections":[{"id":"con_DxgC1AOx9RC3IiaU","is_domain_connection":false},{"id":"con_GaTGjEsj1Mp3sZo3","is_domain_connection":false},{"id":"con_O9wKsUjPX9IFSpG6","is_domain_connection":false},{"id":"con_3VxHo0Oqi5JOA3TE","is_domain_connection":false}]}'
+ body: '{"total":4,"start":0,"limit":50,"connections":[{"id":"con_DxgC1AOx9RC3IiaU","is_domain_connection":false},{"id":"con_GaTGjEsj1Mp3sZo3","is_domain_connection":false},{"id":"con_do0osRrVR9LiIJTd","is_domain_connection":false},{"id":"con_3VxHo0Oqi5JOA3TE","is_domain_connection":false}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 140.560458ms
+ duration: 154.371834ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_O9wKsUjPX9IFSpG6
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_do0osRrVR9LiIJTd
method: DELETE
response:
proto: HTTP/2.0
@@ -100,10 +100,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:37.254Z"}'
+ body: '{"deleted_at":"2024-09-19T17:12:03.942Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 159.405541ms
+ duration: 161.6505ms
diff --git a/test/data/recordings/TestConnectionManager_ListSCIMTokens.yaml b/test/data/recordings/TestConnectionManager_ListSCIMTokens.yaml
index 358b69ee..c8ba0f29 100644
--- a/test/data/recordings/TestConnectionManager_ListSCIMTokens.yaml
+++ b/test/data/recordings/TestConnectionManager_ListSCIMTokens.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1726595278","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-1726765947","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_3KN70a89GY0H8UBU","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726595278","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726595278","enabled_clients":[],"realms":["Test-Okta-Connection-1726595278"]}'
+ body: '{"id":"con_PfDpbX8EtqhP02MJ","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726765947","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726765947","enabled_clients":[],"realms":["Test-Okta-Connection-1726765947"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 838.246958ms
+ duration: 781.898375ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3KN70a89GY0H8UBU/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_PfDpbX8EtqhP02MJ/scim-configuration
method: POST
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_3KN70a89GY0H8UBU","connection_name":"Test-Okta-Connection-1726595278","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-17T17:47:59.624Z","created_at":"2024-09-17T17:47:59.624Z","user_id_attribute":"externalId"}'
+ body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_PfDpbX8EtqhP02MJ","connection_name":"Test-Okta-Connection-1726765947","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-19T17:12:28.130Z","created_at":"2024-09-19T17:12:28.130Z","user_id_attribute":"externalId"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 165.66375ms
+ duration: 178.395333ms
- id: 2
request:
proto: HTTP/1.1
@@ -92,7 +92,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3KN70a89GY0H8UBU/scim-configuration/tokens
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_PfDpbX8EtqhP02MJ/scim-configuration/tokens
method: POST
response:
proto: HTTP/2.0
@@ -102,13 +102,13 @@ interactions:
trailer: {}
content_length: 233
uncompressed: false
- body: '{"token_id":"tok_unoEXOPIXv1Qs9AH","token":"[REDACTED]","scopes":["get:users","post:users","put:users","patch:users"],"created_at":"2024-09-17T17:47:59.796Z"}'
+ body: '{"token_id":"tok_5jrQgRfr7GQtqdul","token":"[REDACTED]","scopes":["get:users","post:users","put:users","patch:users"],"created_at":"2024-09-19T17:12:28.298Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 166.045ms
+ duration: 166.28425ms
- id: 3
request:
proto: HTTP/1.1
@@ -127,7 +127,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3KN70a89GY0H8UBU/scim-configuration/tokens
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_PfDpbX8EtqhP02MJ/scim-configuration/tokens
method: GET
response:
proto: HTTP/2.0
@@ -137,13 +137,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '[{"token_id":"tok_unoEXOPIXv1Qs9AH","created_at":"2024-09-17T17:47:59.796Z","scopes":["get:users","post:users","put:users","patch:users"]}]'
+ body: '[{"token_id":"tok_5jrQgRfr7GQtqdul","created_at":"2024-09-19T17:12:28.298Z","scopes":["get:users","post:users","put:users","patch:users"]}]'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 176.847709ms
+ duration: 150.574583ms
- id: 4
request:
proto: HTTP/1.1
@@ -162,7 +162,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3KN70a89GY0H8UBU/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_PfDpbX8EtqhP02MJ/scim-configuration
method: DELETE
response:
proto: HTTP/2.0
@@ -178,7 +178,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 155.689208ms
+ duration: 160.571416ms
- id: 5
request:
proto: HTTP/1.1
@@ -197,7 +197,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3KN70a89GY0H8UBU/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_PfDpbX8EtqhP02MJ/scim-configuration
method: DELETE
response:
proto: HTTP/2.0
@@ -213,7 +213,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 157.791833ms
+ duration: 153.17075ms
- id: 6
request:
proto: HTTP/1.1
@@ -232,7 +232,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3KN70a89GY0H8UBU
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_PfDpbX8EtqhP02MJ
method: DELETE
response:
proto: HTTP/2.0
@@ -242,10 +242,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:48:00.431Z"}'
+ body: '{"deleted_at":"2024-09-19T17:12:28.927Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 154.712791ms
+ duration: 164.923375ms
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 e600daaf..c640098e 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-ADFS-Connection-1726668924","strategy":"adfs","options":{"strategy_version":2,"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-1726765770","strategy":"adfs","options":{"strategy_version":2,"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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_NBlQqO6zGv8WDNpq","options":{"strategy_version":2,"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-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/mjLGojar","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1726668924"]}'
+ body: '{"id":"con_x0nSZtAboun0Q87A","options":{"strategy_version":2,"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-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/vAdwPwpa","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 182.109ms
+ duration: 194.08225ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_NBlQqO6zGv8WDNpq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_x0nSZtAboun0Q87A
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_NBlQqO6zGv8WDNpq","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"}},"strategy_version":2,"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Test-ADFS-Connection-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/mjLGojar","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1726668924"]}'
+ body: '{"id":"con_x0nSZtAboun0Q87A","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"}},"strategy_version":2,"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Test-ADFS-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/vAdwPwpa","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 148.32925ms
+ duration: 163.432041ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_NBlQqO6zGv8WDNpq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_x0nSZtAboun0Q87A
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:43.863Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:20.972Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 145.144625ms
+ duration: 154.989917ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_NBlQqO6zGv8WDNpq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_x0nSZtAboun0Q87A
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-09-19T17:10:20.972Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 6.284564125s
+ status: 202 Accepted
+ code: 202
+ duration: 143.89275ms
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 d23d5e23..2c545b43 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-AD-Connection-1726668924","strategy":"ad","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-AD-Connection-1726765770","strategy":"ad","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 428
uncompressed: false
- body: '{"id":"con_la4gn6Ja7rpqB6Oq","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/4sTEmV84eqvqf6qLRqbmJ6fA2quYZzSu","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1726668924"]}'
+ body: '{"id":"con_ARHQbL0bhOMHCsx1","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/ag0TxWQSbHSSz7FEy2yHWdpBqrL0CLwm","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 187.763625ms
+ duration: 158.798458ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_la4gn6Ja7rpqB6Oq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ARHQbL0bhOMHCsx1
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_la4gn6Ja7rpqB6Oq","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/4sTEmV84eqvqf6qLRqbmJ6fA2quYZzSu","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1726668924"]}'
+ body: '{"id":"con_ARHQbL0bhOMHCsx1","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/ag0TxWQSbHSSz7FEy2yHWdpBqrL0CLwm","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 160.629125ms
+ duration: 166.943708ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_la4gn6Ja7rpqB6Oq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ARHQbL0bhOMHCsx1
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:43.243Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:20.284Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 156.621458ms
+ duration: 5.309832875s
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_la4gn6Ja7rpqB6Oq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ARHQbL0bhOMHCsx1
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:43.243Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:20.284Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 140.676375ms
+ duration: 157.802333ms
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 00776d8e..3c56a98a 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Apple-Connection-1726668924","strategy":"apple","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Apple-Connection-1726765770","strategy":"apple","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 255
uncompressed: false
- body: '{"id":"con_19ppiLi06mJiACx6","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1726668924"]}'
+ body: '{"id":"con_0m0wfXItuZlXKs8J","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 182.440875ms
+ duration: 174.81975ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_19ppiLi06mJiACx6
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_0m0wfXItuZlXKs8J
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_19ppiLi06mJiACx6","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1726668924"]}'
+ body: '{"id":"con_0m0wfXItuZlXKs8J","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 177.280875ms
+ duration: 158.988084ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_19ppiLi06mJiACx6
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_0m0wfXItuZlXKs8J
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:51.336Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:22.330Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 150.500125ms
+ duration: 186.405209ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_19ppiLi06mJiACx6
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_0m0wfXItuZlXKs8J
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:51.336Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:22.330Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 133.95275ms
+ duration: 136.7435ms
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 c8c63c48..f248da57 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-1726668924","strategy":"auth0","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Auth0-Connection-1726765770","strategy":"auth0","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 577
uncompressed: false
- body: '{"id":"con_npKrwR83EMGz74fb","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726668924"]}'
+ body: '{"id":"con_RAzzcHiOpPELefOb","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 502.978417ms
+ duration: 166.107084ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_npKrwR83EMGz74fb
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_RAzzcHiOpPELefOb
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_npKrwR83EMGz74fb","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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726668924"]}'
+ body: '{"id":"con_RAzzcHiOpPELefOb","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 166.683292ms
+ duration: 151.182083ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_npKrwR83EMGz74fb
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_RAzzcHiOpPELefOb
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:25.637Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:57.359Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 194.578583ms
+ duration: 160.69125ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_npKrwR83EMGz74fb
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_RAzzcHiOpPELefOb
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:25.637Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:57.359Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 157.442916ms
+ duration: 133.222875ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Azure-AD_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Azure-AD_Connection.yaml
index 235c37a8..6d7cfb7b 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Azure-AD_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Azure-AD_Connection.yaml
@@ -6,14 +6,14 @@ interactions:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 277
+ content_length: 308
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-AzureAD-Connection-1726668924","strategy":"waad","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-AzureAD-Connection-1726765770","strategy":"waad","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"user_id_attribute":"userName"}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_D4ETguSKpmG0dLcP","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"thumbprints":["1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","2743ae2dd284d5280f768e2f77eb145f1bb6751b","824f47a0658299810b52ad51110d0290783e46c6"],"app_domain":"go-auth0-dev.eu.auth0.com.eu.auth0.com","identity_api":"microsoft-identity-platform-v2.0","useCommonEndpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified","waad_common_endpoint":false,"use_wsfed":false,"waad_protocol":"openid-connect","userid_attribute":"oid"},"strategy":"waad","name":"Test-AzureAD-Connection-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/waad/1fXc36cU","is_domain_connection":false,"show_as_button":false,"display_name":"Test-AzureAD-Connection-1726668924","enabled_clients":[],"realms":["Test-AzureAD-Connection-1726668924"]}'
+ body: '{"id":"con_bvxwwyeCkZfqwWci","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"user_id_attribute":"userName","thumbprints":["1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","824f47a0658299810b52ad51110d0290783e46c6"],"app_domain":"go-auth0-dev.eu.auth0.com.eu.auth0.com","identity_api":"microsoft-identity-platform-v2.0","useCommonEndpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified","waad_common_endpoint":false,"use_wsfed":false,"waad_protocol":"openid-connect","userid_attribute":"oid"},"strategy":"waad","name":"Test-AzureAD-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/waad/EDZL2DcZ","is_domain_connection":false,"show_as_button":false,"display_name":"Test-AzureAD-Connection-1726765770","enabled_clients":[],"realms":["Test-AzureAD-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 345.565083ms
+ duration: 438.843542ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_D4ETguSKpmG0dLcP
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_bvxwwyeCkZfqwWci
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_D4ETguSKpmG0dLcP","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"go-auth0-dev.eu.auth0.com.eu.auth0.com","thumbprints":["1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","2743ae2dd284d5280f768e2f77eb145f1bb6751b","824f47a0658299810b52ad51110d0290783e46c6"],"identity_api":"microsoft-identity-platform-v2.0","client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Test-AzureAD-Connection-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/waad/1fXc36cU","is_domain_connection":false,"show_as_button":false,"display_name":"Test-AzureAD-Connection-1726668924","enabled_clients":[],"realms":["Test-AzureAD-Connection-1726668924"]}'
+ body: '{"id":"con_bvxwwyeCkZfqwWci","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"go-auth0-dev.eu.auth0.com.eu.auth0.com","thumbprints":["1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","824f47a0658299810b52ad51110d0290783e46c6"],"identity_api":"microsoft-identity-platform-v2.0","client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"user_id_attribute":"userName","waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Test-AzureAD-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/waad/EDZL2DcZ","is_domain_connection":false,"show_as_button":false,"display_name":"Test-AzureAD-Connection-1726765770","enabled_clients":[],"realms":["Test-AzureAD-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 153.714041ms
+ duration: 387.835417ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_D4ETguSKpmG0dLcP
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_bvxwwyeCkZfqwWci
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:42.587Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:14.521Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 162.590334ms
+ duration: 171.644958ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_D4ETguSKpmG0dLcP
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_bvxwwyeCkZfqwWci
method: DELETE
response:
proto: HTTP/2.0
@@ -141,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 137.986541ms
+ duration: 131.480875ms
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 7d5d18ef..924d4afa 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
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Custom-SMS-Connection-1726668924","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"}}}}
+ {"name":"Test-Custom-SMS-Connection-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 763
uncompressed: false
- body: '{"id":"con_2eRZMqr3pecWOxjU","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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1726668924"]}'
+ body: '{"id":"con_L881tAUtOYazKnMH","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 177.598709ms
+ duration: 170.551042ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_2eRZMqr3pecWOxjU
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_L881tAUtOYazKnMH
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_2eRZMqr3pecWOxjU","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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1726668924"]}'
+ body: '{"id":"con_L881tAUtOYazKnMH","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 174.499667ms
+ duration: 165.978917ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_2eRZMqr3pecWOxjU
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_L881tAUtOYazKnMH
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:35.844Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:12.708Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 169.837917ms
+ duration: 171.741584ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_2eRZMqr3pecWOxjU
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_L881tAUtOYazKnMH
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:35.844Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:12.708Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 136.507584ms
+ duration: 159.238708ms
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 c988e6e9..7c580de5 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Email-Connection-1726668924","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 588
uncompressed: false
- body: '{"id":"con_Ad2SWGopdAqRrNUt","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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1726668924"]}'
+ body: '{"id":"con_gYjZNugBZkJYGJ4d","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 206.586417ms
+ duration: 167.187ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Ad2SWGopdAqRrNUt
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_gYjZNugBZkJYGJ4d
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_Ad2SWGopdAqRrNUt","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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1726668924"]}'
+ body: '{"id":"con_gYjZNugBZkJYGJ4d","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 140.097ms
+ duration: 155.980792ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Ad2SWGopdAqRrNUt
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_gYjZNugBZkJYGJ4d
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:34.519Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:06.228Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 162.130583ms
+ duration: 172.16525ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Ad2SWGopdAqRrNUt
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_gYjZNugBZkJYGJ4d
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-09-19T17:10:06.228Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 153.520834ms
+ status: 202 Accepted
+ code: 202
+ duration: 150.275917ms
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 7ac099f7..530354d4 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Facebook-Connection-1726668924","strategy":"facebook","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Facebook-Connection-1726765770","strategy":"facebook","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 275
uncompressed: false
- body: '{"id":"con_4MLCIckNPVhK7ZZj","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1726668924"]}'
+ body: '{"id":"con_wn6SzFbaAdyZQZtD","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 199.471375ms
+ duration: 196.859167ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_4MLCIckNPVhK7ZZj
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_wn6SzFbaAdyZQZtD
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_4MLCIckNPVhK7ZZj","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1726668924"]}'
+ body: '{"id":"con_wn6SzFbaAdyZQZtD","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 163.898ms
+ duration: 165.039625ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_4MLCIckNPVhK7ZZj
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_wn6SzFbaAdyZQZtD
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:50.673Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:21.666Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 159.386208ms
+ duration: 179.332333ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_4MLCIckNPVhK7ZZj
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_wn6SzFbaAdyZQZtD
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-09-19T17:10:21.666Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 134.974167ms
+ status: 202 Accepted
+ code: 202
+ duration: 156.397292ms
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 8cd1ea19..c24293ea 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GitHub-Connection-1726668924","strategy":"github","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-GitHub-Connection-1726765770","strategy":"github","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 269
uncompressed: false
- body: '{"id":"con_MGJmTeEcEUyrBnPc","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1726668924"]}'
+ body: '{"id":"con_3UXr5Df3PI8X3YYt","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 174.055875ms
+ duration: 166.2705ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MGJmTeEcEUyrBnPc
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3UXr5Df3PI8X3YYt
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_MGJmTeEcEUyrBnPc","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1726668924"]}'
+ body: '{"id":"con_3UXr5Df3PI8X3YYt","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 6.316825459s
+ duration: 164.925333ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MGJmTeEcEUyrBnPc
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3UXr5Df3PI8X3YYt
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:58.758Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:29.780Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 153.937958ms
+ duration: 195.325583ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MGJmTeEcEUyrBnPc
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3UXr5Df3PI8X3YYt
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-09-19T17:10:29.780Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 143.506416ms
+ status: 202 Accepted
+ code: 202
+ duration: 135.034042ms
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 0be8e520..15f21eec 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleApps-Connection-1726668924","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 627
uncompressed: false
- body: '{"id":"con_ENXr7lqRHaN8oVhI","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-1726668924","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/dUxjUE7D","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1726668924"]}'
+ body: '{"id":"con_DOR84FfKmBOXBh1d","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-1726765770","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/1k0CP70Z","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 236.504792ms
+ duration: 284.860833ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ENXr7lqRHaN8oVhI
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DOR84FfKmBOXBh1d
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_ENXr7lqRHaN8oVhI","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-1726668924","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/dUxjUE7D","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1726668924"]}'
+ body: '{"id":"con_DOR84FfKmBOXBh1d","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-1726765770","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/1k0CP70Z","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 165.954459ms
+ duration: 153.65775ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ENXr7lqRHaN8oVhI
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DOR84FfKmBOXBh1d
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:33.844Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:05.551Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 6.310488667s
+ duration: 238.45275ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_ENXr7lqRHaN8oVhI
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DOR84FfKmBOXBh1d
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:33.844Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:05.551Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 154.540084ms
+ duration: 138.968375ms
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 8249f1bc..f8729832 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleOAuth2-Connection-1726668924","strategy":"google-oauth2","options":{"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]}}
+ {"name":"Test-GoogleOAuth2-Connection-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 462
uncompressed: false
- body: '{"id":"con_tm6iXoupTEVNhePQ","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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1726668924"]}'
+ body: '{"id":"con_Ayk5r9VI9Pu7dmds","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 166.204ms
+ duration: 168.46125ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_tm6iXoupTEVNhePQ
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Ayk5r9VI9Pu7dmds
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_tm6iXoupTEVNhePQ","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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1726668924"]}'
+ body: '{"id":"con_Ayk5r9VI9Pu7dmds","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 168.92ms
+ duration: 6.335908584s
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_tm6iXoupTEVNhePQ
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Ayk5r9VI9Pu7dmds
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:26.984Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:04.776Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 166.966083ms
+ duration: 164.582708ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_tm6iXoupTEVNhePQ
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Ayk5r9VI9Pu7dmds
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 41
+ content_length: 0
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:26.984Z"}'
+ body: ""
headers:
Content-Type:
- application/json; charset=utf-8
- status: 202 Accepted
- code: 202
- duration: 141.954333ms
+ status: 204 No Content
+ code: 204
+ duration: 142.967958ms
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 b85cc643..36c9b8d0 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-LinkedIn-Connection-1726668924","strategy":"linkedin","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-LinkedIn-Connection-1726765770","strategy":"linkedin","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 326
uncompressed: false
- body: '{"id":"con_WhpVcwgs0GetZQeV","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"profile":true,"scope":["r_liteprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1726668924"]}'
+ body: '{"id":"con_HZw8U8ISdMxHMCBu","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"profile":true,"scope":["r_liteprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 164.137ms
+ duration: 6.292208417s
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_WhpVcwgs0GetZQeV
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_HZw8U8ISdMxHMCBu
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_WhpVcwgs0GetZQeV","options":{"scope":["r_liteprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1726668924"]}'
+ body: '{"id":"con_HZw8U8ISdMxHMCBu","options":{"scope":["r_liteprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 161.367292ms
+ duration: 162.239167ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_WhpVcwgs0GetZQeV
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_HZw8U8ISdMxHMCBu
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:51.968Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:29.106Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 175.8705ms
+ duration: 177.947583ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_WhpVcwgs0GetZQeV
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_HZw8U8ISdMxHMCBu
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 41
+ content_length: 0
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:51.968Z"}'
+ body: ""
headers:
Content-Type:
- application/json; charset=utf-8
- status: 202 Accepted
- code: 202
- duration: 136.774583ms
+ status: 204 No Content
+ code: 204
+ duration: 126.242583ms
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 06d67c1d..aab96a07 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
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-OIDC-Connection-1726668924","strategy":"oidc","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://www.paypalobjects.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"}}}}
+ {"name":"Test-OIDC-Connection-1726765770","strategy":"oidc","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://www.paypalobjects.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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_v1kpo9XXXlBvATlQ","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://www.paypalobjects.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":"https://api.paypal.com/v1/oauth2/token/userinfo","token_endpoint":"https://api.paypal.com/v1/oauth2/token","scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}},"oidc_metadata":{"issuer":"https://www.paypal.com","authorization_endpoint":"https://www.paypal.com/signin/authorize","registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","token_endpoint_auth_methods_supported":["client_secret_basic"],"response_types_supported":["code","code id_token"],"response_modes_supported":["query","form_post"],"grant_types_supported":["authorization_code","refresh_token"],"subject_types_supported":["pairwise"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"id_token_signing_alg_values_supported":["HS256","RS256"],"claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"code_challenge_methods_supported":["RS256","ES256","S256"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","attribute_map":{"mapping_mode":"bind_all"},"connection_settings":{"pkce":"auto"}},"strategy":"oidc","name":"Test-OIDC-Connection-1726668924","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1726668924","enabled_clients":[],"realms":["Test-OIDC-Connection-1726668924"]}'
+ body: '{"id":"con_zyNY9Nj0ZrTpEucC","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://www.paypalobjects.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":"https://api.paypal.com/v1/oauth2/token/userinfo","token_endpoint":"https://api.paypal.com/v1/oauth2/token","scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}},"oidc_metadata":{"issuer":"https://www.paypal.com","authorization_endpoint":"https://www.paypal.com/signin/authorize","registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","token_endpoint_auth_methods_supported":["client_secret_basic"],"response_types_supported":["code","code id_token"],"response_modes_supported":["query","form_post"],"grant_types_supported":["authorization_code","refresh_token"],"subject_types_supported":["pairwise"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"id_token_signing_alg_values_supported":["HS256","RS256"],"claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"code_challenge_methods_supported":["RS256","ES256","S256"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","attribute_map":{"mapping_mode":"bind_all"},"connection_settings":{"pkce":"auto"}},"strategy":"oidc","name":"Test-OIDC-Connection-1726765770","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1726765770","enabled_clients":[],"realms":["Test-OIDC-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 351.345583ms
+ duration: 356.742916ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_v1kpo9XXXlBvATlQ
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_zyNY9Nj0ZrTpEucC
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_v1kpo9XXXlBvATlQ","options":{"type":"front_channel","scope":"openid","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","attribute_map":{"mapping_mode":"bind_all"},"discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://www.paypal.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","token_endpoint":"https://api.paypal.com/v1/oauth2/token","claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","grant_types_supported":["authorization_code","refresh_token"],"registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","authorization_endpoint":"https://www.paypal.com/signin/authorize","subject_types_supported":["pairwise"],"response_modes_supported":["query","form_post"],"response_types_supported":["code","code id_token"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"code_challenge_methods_supported":["RS256","ES256","S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["HS256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic"]},"schema_version":"oidc-V4","token_endpoint":"https://api.paypal.com/v1/oauth2/token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://example.com"},"strategy":"oidc","name":"Test-OIDC-Connection-1726668924","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1726668924","enabled_clients":[],"realms":["Test-OIDC-Connection-1726668924"]}'
+ body: '{"id":"con_zyNY9Nj0ZrTpEucC","options":{"type":"front_channel","scope":"openid","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","attribute_map":{"mapping_mode":"bind_all"},"discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://www.paypal.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","token_endpoint":"https://api.paypal.com/v1/oauth2/token","claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","grant_types_supported":["authorization_code","refresh_token"],"registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","authorization_endpoint":"https://www.paypal.com/signin/authorize","subject_types_supported":["pairwise"],"response_modes_supported":["query","form_post"],"response_types_supported":["code","code id_token"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"code_challenge_methods_supported":["RS256","ES256","S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["HS256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic"]},"schema_version":"oidc-V4","token_endpoint":"https://api.paypal.com/v1/oauth2/token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://example.com"},"strategy":"oidc","name":"Test-OIDC-Connection-1726765770","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1726765770","enabled_clients":[],"realms":["Test-OIDC-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 205.946917ms
+ duration: 158.242834ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_v1kpo9XXXlBvATlQ
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_zyNY9Nj0ZrTpEucC
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:00.969Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:37.143Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 156.317708ms
+ duration: 174.078584ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_v1kpo9XXXlBvATlQ
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_zyNY9Nj0ZrTpEucC
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:00.969Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:37.143Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 134.368125ms
+ duration: 155.071708ms
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 e768ab96..4fa29b10 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1726668924","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_QvXxLJPoU2FDvQSI","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726668924","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726668924","enabled_clients":[],"realms":["Test-Okta-Connection-1726668924"]}'
+ body: '{"id":"con_KhXe8pv1aQaRNoHQ","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726765770","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726765770","enabled_clients":[],"realms":["Test-Okta-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 7.073561875s
+ duration: 773.088042ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_QvXxLJPoU2FDvQSI
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_KhXe8pv1aQaRNoHQ
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_QvXxLJPoU2FDvQSI","options":{"type":"back_channel","scope":"openid","domain":"domain.okta.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","attribute_map":{"mapping_mode":"basic_profile"},"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"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":false,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"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"]},"schema_version":"oidc-V4","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","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://example.com"},"strategy":"okta","name":"Test-Okta-Connection-1726668924","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726668924","enabled_clients":[],"realms":["Test-Okta-Connection-1726668924"]}'
+ body: '{"id":"con_KhXe8pv1aQaRNoHQ","options":{"type":"back_channel","scope":"openid","domain":"domain.okta.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","attribute_map":{"mapping_mode":"basic_profile"},"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"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":false,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"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"]},"schema_version":"oidc-V4","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","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://example.com"},"strategy":"okta","name":"Test-Okta-Connection-1726765770","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726765770","enabled_clients":[],"realms":["Test-Okta-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 161.174666ms
+ duration: 156.105417ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_QvXxLJPoU2FDvQSI
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_KhXe8pv1aQaRNoHQ
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:08.510Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:38.398Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 163.056791ms
+ duration: 169.275209ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_QvXxLJPoU2FDvQSI
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_KhXe8pv1aQaRNoHQ
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-09-19T17:10:38.398Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 470.692292ms
+ status: 202 Accepted
+ code: 202
+ duration: 163.129417ms
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 977f85c2..40044659 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Ping-Federate-Connection-1726668924","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_KegzRhejT1IdqHsq","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-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/BZyAAQrO","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1726668924"]}'
+ body: '{"id":"con_qBCuS1AaCPkdvmlh","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-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/Z8SfJF32","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 202.018583ms
+ duration: 165.648917ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_KegzRhejT1IdqHsq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_qBCuS1AaCPkdvmlh
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_KegzRhejT1IdqHsq","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-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/BZyAAQrO","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1726668924"]}'
+ body: '{"id":"con_qBCuS1AaCPkdvmlh","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-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/Z8SfJF32","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 152.56825ms
+ duration: 159.887166ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_KegzRhejT1IdqHsq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_qBCuS1AaCPkdvmlh
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:09.661Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:39.055Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 314.012292ms
+ duration: 145.793125ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_KegzRhejT1IdqHsq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_qBCuS1AaCPkdvmlh
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:09.661Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:39.055Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 147.408334ms
+ duration: 156.162291ms
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 229d9f57..7e306d64 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SAML-Connection-1726668924","strategy":"samlp","options":{"strategy_version":2,"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-1726765770","strategy":"samlp","options":{"strategy_version":2,"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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_3CglGgXXMnRsNoah","options":{"strategy_version":2,"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-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/fyPyD1RJ","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1726668924"]}'
+ body: '{"id":"con_2yxdG4yShx7Egeco","options":{"strategy_version":2,"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-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/gMbSQ1Gf","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 5.465127875s
+ duration: 178.86375ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3CglGgXXMnRsNoah
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_2yxdG4yShx7Egeco
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_3CglGgXXMnRsNoah","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_version":2},"strategy":"samlp","name":"Test-SAML-Connection-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/fyPyD1RJ","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1726668924"]}'
+ body: '{"id":"con_2yxdG4yShx7Egeco","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_version":2},"strategy":"samlp","name":"Test-SAML-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/gMbSQ1Gf","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 160.54625ms
+ duration: 169.231625ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3CglGgXXMnRsNoah
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_2yxdG4yShx7Egeco
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:41.779Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:13.392Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 162.622667ms
+ duration: 148.726542ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_3CglGgXXMnRsNoah
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_2yxdG4yShx7Egeco
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:41.779Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:13.392Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 143.658916ms
+ duration: 131.926125ms
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 98fd356f..cde32c50 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SMS-Connection-1726668924","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 606
uncompressed: false
- body: '{"id":"con_5ydI7CNqrcBSYLXw","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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1726668924"]}'
+ body: '{"id":"con_okv0b9aozY7IzxYD","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 183.513ms
+ duration: 152.918625ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_5ydI7CNqrcBSYLXw
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_okv0b9aozY7IzxYD
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_5ydI7CNqrcBSYLXw","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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1726668924"]}'
+ body: '{"id":"con_okv0b9aozY7IzxYD","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 155.868125ms
+ duration: 158.463417ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_5ydI7CNqrcBSYLXw
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_okv0b9aozY7IzxYD
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:35.167Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:06.860Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 160.341458ms
+ duration: 167.303625ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_5ydI7CNqrcBSYLXw
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_okv0b9aozY7IzxYD
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 41
+ content_length: 0
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:35.167Z"}'
+ body: ""
headers:
Content-Type:
- application/json; charset=utf-8
- status: 202 Accepted
- code: 202
- duration: 142.156291ms
+ status: 204 No Content
+ code: 204
+ duration: 5.335741208s
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 4efa9220..8102125e 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SalesForce-Connection-1726668924","strategy":"salesforce","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-SalesForce-Connection-1726765770","strategy":"salesforce","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 281
uncompressed: false
- body: '{"id":"con_HHgWYkHzR03oxFNj","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1726668924"]}'
+ body: '{"id":"con_CJZlWt8hGp30PNvz","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 199.537458ms
+ duration: 214.822375ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_HHgWYkHzR03oxFNj
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_CJZlWt8hGp30PNvz
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_HHgWYkHzR03oxFNj","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1726668924"]}'
+ body: '{"id":"con_CJZlWt8hGp30PNvz","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 145.227167ms
+ duration: 153.316875ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_HHgWYkHzR03oxFNj
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_CJZlWt8hGp30PNvz
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:00.094Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:36.285Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 169.270334ms
+ duration: 5.3511535s
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_HHgWYkHzR03oxFNj
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_CJZlWt8hGp30PNvz
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 41
+ content_length: 0
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:00.094Z"}'
+ body: ""
headers:
Content-Type:
- application/json; charset=utf-8
- status: 202 Accepted
- code: 202
- duration: 157.030792ms
+ status: 204 No Content
+ code: 204
+ duration: 165.995917ms
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 39fdd91b..1d7db051 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-WindowsLive-Connection-1726668924","strategy":"windowslive","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-WindowsLive-Connection-1726765770","strategy":"windowslive","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 319
uncompressed: false
- body: '{"id":"con_Zmhux7qaZxz4vUq6","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"signin":true,"scope":[]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1726668924"]}'
+ body: '{"id":"con_GxViWYhYZf09K9E5","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"signin":true,"scope":[]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 182.592542ms
+ duration: 177.635125ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Zmhux7qaZxz4vUq6
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_GxViWYhYZf09K9E5
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_Zmhux7qaZxz4vUq6","options":{"scope":[],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1726668924"]}'
+ body: '{"id":"con_GxViWYhYZf09K9E5","options":{"scope":[],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 150.564542ms
+ duration: 149.418875ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Zmhux7qaZxz4vUq6
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_GxViWYhYZf09K9E5
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:59.402Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:30.420Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 178.805292ms
+ duration: 168.159208ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Zmhux7qaZxz4vUq6
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_GxViWYhYZf09K9E5
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:59.402Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:30.420Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 151.124959ms
+ duration: 141.7885ms
diff --git a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Wordpress_Connection.yaml b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Wordpress_Connection.yaml
index fb30ce81..2edb64a3 100644
--- a/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Wordpress_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Read/It_can_successfully_read_a_Wordpress_Connection.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Wordpress-Connection-1726668924","strategy":"wordpress","options":{"strategy_version":2,"authorizationURL":null,"tokenURL":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["email","profile","openid"]}}
+ {"name":"Test-Wordpress-Connection-1726765770","strategy":"wordpress","options":{"strategy_version":2,"authorizationURL":null,"tokenURL":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["email","profile","openid"]}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 363
uncompressed: false
- body: '{"id":"con_20rnZcn6nHysB8LC","options":{"strategy_version":2,"authorizationURL":null,"tokenURL":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["profile"],"profile":true},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Wordpress-Connection-1726668924"]}'
+ body: '{"id":"con_kiCPIfYbgpCSGcih","options":{"strategy_version":2,"authorizationURL":null,"tokenURL":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["profile"],"profile":true},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Wordpress-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 178.224166ms
+ duration: 149.177459ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_20rnZcn6nHysB8LC
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_kiCPIfYbgpCSGcih
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_20rnZcn6nHysB8LC","options":{"scope":["profile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Wordpress-Connection-1726668924"]}'
+ body: '{"id":"con_kiCPIfYbgpCSGcih","options":{"scope":["profile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Wordpress-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 153.711ms
+ duration: 139.359875ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_20rnZcn6nHysB8LC
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_kiCPIfYbgpCSGcih
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:15:26.306Z"}'
+ body: '{"deleted_at":"2024-09-19T17:09:57.953Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 178.305416ms
+ duration: 154.467916ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_20rnZcn6nHysB8LC
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_kiCPIfYbgpCSGcih
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-09-19T17:09:57.953Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 150.819542ms
+ status: 202 Accepted
+ code: 202
+ duration: 146.306542ms
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 60a1f303..a2bd707b 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-ADFS-Connection-1726668924","strategy":"adfs","options":{"strategy_version":2,"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-1726765770","strategy":"adfs","options":{"strategy_version":2,"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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_GDEg2ecFgZbEjWxN","options":{"strategy_version":2,"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-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/pYWuHCNb","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1726668924"]}'
+ body: '{"id":"con_R7y47rZGm2IrsZ5D","options":{"strategy_version":2,"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-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/m4UVeY7G","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-ADFS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 197.360625ms
+ duration: 184.963583ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-ADFS-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-ADFS-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_GDEg2ecFgZbEjWxN","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"}},"strategy_version":2,"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Test-ADFS-Connection-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/pYWuHCNb","is_domain_connection":false,"show_as_button":false,"realms":["Test-ADFS-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_R7y47rZGm2IrsZ5D","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"}},"strategy_version":2,"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Test-ADFS-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/adfs/m4UVeY7G","is_domain_connection":false,"show_as_button":false,"realms":["Test-ADFS-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 163.020167ms
+ duration: 144.375333ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_GDEg2ecFgZbEjWxN
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_R7y47rZGm2IrsZ5D
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:34.841Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:03.884Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 160.746666ms
+ duration: 148.514875ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_GDEg2ecFgZbEjWxN
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_R7y47rZGm2IrsZ5D
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:34.841Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:03.884Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 141.197458ms
+ duration: 155.917833ms
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 e68a5bd3..b7dc6165 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-AD-Connection-1726668924","strategy":"ad","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-AD-Connection-1726765770","strategy":"ad","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 428
uncompressed: false
- body: '{"id":"con_LLzKWuJD5Ft0QHDn","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/cybDryXd8WWz1Sc7qikNSyPswSi0F66c","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1726668924"]}'
+ body: '{"id":"con_z0LhFuoIeKvHZ26B","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/imZIwFENRKf3FbKKy175pY1yH0gAf2Uc","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 220.15075ms
+ duration: 172.43625ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-AD-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-AD-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_LLzKWuJD5Ft0QHDn","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/cybDryXd8WWz1Sc7qikNSyPswSi0F66c","is_domain_connection":false,"show_as_button":false,"realms":["Test-AD-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_z0LhFuoIeKvHZ26B","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/imZIwFENRKf3FbKKy175pY1yH0gAf2Uc","is_domain_connection":false,"show_as_button":false,"realms":["Test-AD-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 6.306271584s
+ duration: 146.31925ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_LLzKWuJD5Ft0QHDn
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_z0LhFuoIeKvHZ26B
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:34.145Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:03.237Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 157.357167ms
+ duration: 189.283917ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_LLzKWuJD5Ft0QHDn
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_z0LhFuoIeKvHZ26B
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-09-19T17:11:03.237Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 165.501375ms
+ status: 202 Accepted
+ code: 202
+ duration: 150.693084ms
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 00613abb..949493ed 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Apple-Connection-1726668924","strategy":"apple","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Apple-Connection-1726765770","strategy":"apple","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 255
uncompressed: false
- body: '{"id":"con_VYcxhpXTKEfvvhVb","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1726668924"]}'
+ body: '{"id":"con_Sf0Z7DcFrU3PMIyd","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 154.95775ms
+ duration: 168.6015ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Apple-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Apple-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_VYcxhpXTKEfvvhVb","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1726668924","is_domain_connection":false,"realms":["Test-Apple-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_Sf0Z7DcFrU3PMIyd","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1726765770","is_domain_connection":false,"realms":["Test-Apple-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 145.029875ms
+ duration: 164.717416ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_VYcxhpXTKEfvvhVb
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Sf0Z7DcFrU3PMIyd
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:36.090Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:11.395Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 167.318334ms
+ duration: 159.488166ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_VYcxhpXTKEfvvhVb
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Sf0Z7DcFrU3PMIyd
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-09-19T17:11:11.395Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 5.290976625s
+ status: 202 Accepted
+ code: 202
+ duration: 134.44725ms
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 21870003..08607b42 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-1726668924","strategy":"auth0","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Auth0-Connection-1726765770","strategy":"auth0","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 577
uncompressed: false
- body: '{"id":"con_o7ouCTJ2yUZaDiJ2","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726668924"]}'
+ body: '{"id":"con_LpU8ptbF2BB65kAf","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 174.3695ms
+ duration: 192.294334ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Auth0-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Auth0-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_o7ouCTJ2yUZaDiJ2","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-1726668924","is_domain_connection":false,"realms":["Test-Auth0-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_LpU8ptbF2BB65kAf","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-1726765770","is_domain_connection":false,"realms":["Test-Auth0-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 146.903541ms
+ duration: 151.400167ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_o7ouCTJ2yUZaDiJ2
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_LpU8ptbF2BB65kAf
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:10.297Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:45.864Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 173.452125ms
+ duration: 6.307406083s
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_o7ouCTJ2yUZaDiJ2
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_LpU8ptbF2BB65kAf
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 41
+ content_length: 0
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:10.297Z"}'
+ body: ""
headers:
Content-Type:
- application/json; charset=utf-8
- status: 202 Accepted
- code: 202
- duration: 156.225417ms
+ status: 204 No Content
+ code: 204
+ duration: 147.770458ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Azure-AD_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Azure-AD_Connection_by_its_name.yaml
index 37a4440c..e4a98b32 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Azure-AD_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Azure-AD_Connection_by_its_name.yaml
@@ -6,14 +6,14 @@ interactions:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
- content_length: 277
+ content_length: 308
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-AzureAD-Connection-1726668924","strategy":"waad","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-AzureAD-Connection-1726765770","strategy":"waad","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"user_id_attribute":"userName"}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_6zy03GICqmEAL9Sa","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"thumbprints":["1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","2743ae2dd284d5280f768e2f77eb145f1bb6751b","824f47a0658299810b52ad51110d0290783e46c6"],"app_domain":"go-auth0-dev.eu.auth0.com.eu.auth0.com","identity_api":"microsoft-identity-platform-v2.0","useCommonEndpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified","waad_common_endpoint":false,"use_wsfed":false,"waad_protocol":"openid-connect","userid_attribute":"oid"},"strategy":"waad","name":"Test-AzureAD-Connection-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/waad/GRFmVac6","is_domain_connection":false,"show_as_button":false,"display_name":"Test-AzureAD-Connection-1726668924","enabled_clients":[],"realms":["Test-AzureAD-Connection-1726668924"]}'
+ body: '{"id":"con_z5HZ54XHpHePay0z","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"user_id_attribute":"userName","thumbprints":["1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","824f47a0658299810b52ad51110d0290783e46c6"],"app_domain":"go-auth0-dev.eu.auth0.com.eu.auth0.com","identity_api":"microsoft-identity-platform-v2.0","useCommonEndpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified","waad_common_endpoint":false,"use_wsfed":false,"waad_protocol":"openid-connect","userid_attribute":"oid"},"strategy":"waad","name":"Test-AzureAD-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/waad/iONUmXtv","is_domain_connection":false,"show_as_button":false,"display_name":"Test-AzureAD-Connection-1726765770","enabled_clients":[],"realms":["Test-AzureAD-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 457.632334ms
+ duration: 455.850958ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-AzureAD-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-AzureAD-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_6zy03GICqmEAL9Sa","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"go-auth0-dev.eu.auth0.com.eu.auth0.com","thumbprints":["1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","2743ae2dd284d5280f768e2f77eb145f1bb6751b","824f47a0658299810b52ad51110d0290783e46c6"],"identity_api":"microsoft-identity-platform-v2.0","client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Test-AzureAD-Connection-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/waad/GRFmVac6","is_domain_connection":false,"show_as_button":false,"display_name":"Test-AzureAD-Connection-1726668924","realms":["Test-AzureAD-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_z5HZ54XHpHePay0z","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"go-auth0-dev.eu.auth0.com.eu.auth0.com","thumbprints":["1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","824f47a0658299810b52ad51110d0290783e46c6"],"identity_api":"microsoft-identity-platform-v2.0","client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"user_id_attribute":"userName","waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Test-AzureAD-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/waad/iONUmXtv","is_domain_connection":false,"show_as_button":false,"display_name":"Test-AzureAD-Connection-1726765770","realms":["Test-AzureAD-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 188.510375ms
+ duration: 155.298625ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6zy03GICqmEAL9Sa
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_z5HZ54XHpHePay0z
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:27.311Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:02.578Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 161.768084ms
+ duration: 170.367083ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6zy03GICqmEAL9Sa
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_z5HZ54XHpHePay0z
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 41
+ content_length: 0
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:27.311Z"}'
+ body: ""
headers:
Content-Type:
- application/json; charset=utf-8
- status: 202 Accepted
- code: 202
- duration: 145.500042ms
+ status: 204 No Content
+ code: 204
+ duration: 150.745167ms
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 ed1d3b5f..13560279 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
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Custom-SMS-Connection-1726668924","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"}}}}
+ {"name":"Test-Custom-SMS-Connection-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 763
uncompressed: false
- body: '{"id":"con_Rb6xset47fLv5Y7d","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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1726668924"]}'
+ body: '{"id":"con_AXSBqOwKsXAkkuQE","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 169.876708ms
+ duration: 176.928125ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Custom-SMS-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Custom-SMS-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_Rb6xset47fLv5Y7d","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-1726668924","is_domain_connection":false,"realms":["Test-Custom-SMS-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_AXSBqOwKsXAkkuQE","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-1726765770","is_domain_connection":false,"realms":["Test-Custom-SMS-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 160.837959ms
+ duration: 146.005375ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Rb6xset47fLv5Y7d
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_AXSBqOwKsXAkkuQE
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:25.691Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:54.848Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 172.697917ms
+ duration: 148.565375ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Rb6xset47fLv5Y7d
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_AXSBqOwKsXAkkuQE
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:25.691Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:54.848Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 149.478792ms
+ duration: 144.043709ms
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 3b2d8625..aa425c09 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Email-Connection-1726668924","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 588
uncompressed: false
- body: '{"id":"con_DVi4tjLoWlPZqFYY","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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1726668924"]}'
+ body: '{"id":"con_7GbbUR4HeYuLznYQ","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 163.215583ms
+ duration: 5.283099292s
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Email-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Email-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_DVi4tjLoWlPZqFYY","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-1726668924","is_domain_connection":false,"realms":["Test-Email-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_7GbbUR4HeYuLznYQ","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-1726765770","is_domain_connection":false,"realms":["Test-Email-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 148.03025ms
+ duration: 153.895959ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DVi4tjLoWlPZqFYY
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_7GbbUR4HeYuLznYQ
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:18.231Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:53.576Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 339.95175ms
+ duration: 160.82975ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DVi4tjLoWlPZqFYY
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_7GbbUR4HeYuLznYQ
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:18.231Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:53.576Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 130.368542ms
+ duration: 141.115292ms
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 044fc0b1..8c5f055c 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Facebook-Connection-1726668924","strategy":"facebook","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-Facebook-Connection-1726765770","strategy":"facebook","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 275
uncompressed: false
- body: '{"id":"con_YKDPhKhWM1Yr02Cu","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1726668924"]}'
+ body: '{"id":"con_aaNeOTBMZ9Xedyuv","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 166.558917ms
+ duration: 163.435292ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Facebook-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Facebook-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_YKDPhKhWM1Yr02Cu","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1726668924","is_domain_connection":false,"realms":["Test-Facebook-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_aaNeOTBMZ9Xedyuv","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1726765770","is_domain_connection":false,"realms":["Test-Facebook-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 176.078458ms
+ duration: 6.364271166s
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_YKDPhKhWM1Yr02Cu
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_aaNeOTBMZ9Xedyuv
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:35.499Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:10.736Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 169.485541ms
+ duration: 166.838666ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_YKDPhKhWM1Yr02Cu
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_aaNeOTBMZ9Xedyuv
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 41
+ content_length: 0
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:35.499Z"}'
+ body: ""
headers:
Content-Type:
- application/json; charset=utf-8
- status: 202 Accepted
- code: 202
- duration: 132.732292ms
+ status: 204 No Content
+ code: 204
+ duration: 167.03825ms
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 c08742cf..577d2405 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GitHub-Connection-1726668924","strategy":"github","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-GitHub-Connection-1726765770","strategy":"github","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 269
uncompressed: false
- body: '{"id":"con_WycO2RMmXnj87vPU","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1726668924"]}'
+ body: '{"id":"con_9igOYELj5O4nAfIi","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 149.185541ms
+ duration: 165.509292ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-GitHub-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-GitHub-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_WycO2RMmXnj87vPU","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1726668924","is_domain_connection":false,"realms":["Test-GitHub-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_9igOYELj5O4nAfIi","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1726765770","is_domain_connection":false,"realms":["Test-GitHub-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 150.934291ms
+ duration: 139.407125ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_WycO2RMmXnj87vPU
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_9igOYELj5O4nAfIi
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:42.554Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:12.616Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 164.135375ms
+ duration: 159.351917ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_WycO2RMmXnj87vPU
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_9igOYELj5O4nAfIi
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 41
+ content_length: 0
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:42.554Z"}'
+ body: ""
headers:
Content-Type:
- application/json; charset=utf-8
- status: 202 Accepted
- code: 202
- duration: 136.062459ms
+ status: 204 No Content
+ code: 204
+ duration: 6.28163475s
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 e2863332..c3217688 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleApps-Connection-1726668924","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 627
uncompressed: false
- body: '{"id":"con_386so3Baaaz2wBCD","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-1726668924","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/FdGPre5Y","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1726668924"]}'
+ body: '{"id":"con_wU0bbOb8QBAoaLjs","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-1726765770","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/wv8BWhnX","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 199.716875ms
+ duration: 215.728125ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-GoogleApps-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-GoogleApps-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_386so3Baaaz2wBCD","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-1726668924","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/FdGPre5Y","is_domain_connection":false,"show_as_button":false,"realms":["Test-GoogleApps-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_wU0bbOb8QBAoaLjs","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-1726765770","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/wv8BWhnX","is_domain_connection":false,"show_as_button":false,"realms":["Test-GoogleApps-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 160.716667ms
+ duration: 162.32675ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_386so3Baaaz2wBCD
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_wU0bbOb8QBAoaLjs
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:17.421Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:47.846Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 148.246042ms
+ duration: 151.6195ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_386so3Baaaz2wBCD
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_wU0bbOb8QBAoaLjs
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-09-19T17:10:47.846Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 155.948084ms
+ status: 202 Accepted
+ code: 202
+ duration: 132.975ms
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 9f9511d9..800aad59 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleOAuth2-Connection-1726668924","strategy":"google-oauth2","options":{"profile":true,"calendar":true,"youtube":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["example.com","api.example.com"]}}
+ {"name":"Test-GoogleOAuth2-Connection-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 462
uncompressed: false
- body: '{"id":"con_qYiW9XIcqNhOZBlj","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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1726668924"]}'
+ body: '{"id":"con_eJRUdxabcxBvjeoF","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 5.346989292s
+ duration: 167.7905ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-GoogleOAuth2-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-GoogleOAuth2-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_qYiW9XIcqNhOZBlj","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-1726668924","is_domain_connection":false,"realms":["Test-GoogleOAuth2-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_eJRUdxabcxBvjeoF","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-1726765770","is_domain_connection":false,"realms":["Test-GoogleOAuth2-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 154.604833ms
+ duration: 158.563458ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_qYiW9XIcqNhOZBlj
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_eJRUdxabcxBvjeoF
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:16.763Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:47.145Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 161.5565ms
+ duration: 160.802584ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_qYiW9XIcqNhOZBlj
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_eJRUdxabcxBvjeoF
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:16.763Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:47.145Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 133.101916ms
+ duration: 160.77175ms
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 364b10f1..be33c28a 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-LinkedIn-Connection-1726668924","strategy":"linkedin","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-LinkedIn-Connection-1726765770","strategy":"linkedin","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 326
uncompressed: false
- body: '{"id":"con_0sMfLmx3LmvmyFL0","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"profile":true,"scope":["r_liteprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1726668924"]}'
+ body: '{"id":"con_2gBL60BoexGHIpYk","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"profile":true,"scope":["r_liteprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 195.353709ms
+ duration: 158.6875ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-LinkedIn-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-LinkedIn-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_0sMfLmx3LmvmyFL0","options":{"scope":["r_liteprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726668924","is_domain_connection":false,"realms":["Test-LinkedIn-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_2gBL60BoexGHIpYk","options":{"scope":["r_liteprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726765770","is_domain_connection":false,"realms":["Test-LinkedIn-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 151.482917ms
+ duration: 137.84075ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_0sMfLmx3LmvmyFL0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_2gBL60BoexGHIpYk
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:41.944Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:12.002Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 202.347042ms
+ duration: 161.088958ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_0sMfLmx3LmvmyFL0
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_2gBL60BoexGHIpYk
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:41.944Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:12.002Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 140.195542ms
+ duration: 136.205708ms
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 31aaa27f..1279c5a6 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
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-OIDC-Connection-1726668924","strategy":"oidc","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://www.paypalobjects.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"}}}}
+ {"name":"Test-OIDC-Connection-1726765770","strategy":"oidc","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://www.paypalobjects.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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_vungBlaiFIzTNAFs","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://www.paypalobjects.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":"https://api.paypal.com/v1/oauth2/token/userinfo","token_endpoint":"https://api.paypal.com/v1/oauth2/token","scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}},"oidc_metadata":{"issuer":"https://www.paypal.com","authorization_endpoint":"https://www.paypal.com/signin/authorize","registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","token_endpoint_auth_methods_supported":["client_secret_basic"],"response_types_supported":["code","code id_token"],"response_modes_supported":["query","form_post"],"grant_types_supported":["authorization_code","refresh_token"],"subject_types_supported":["pairwise"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"id_token_signing_alg_values_supported":["HS256","RS256"],"claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"code_challenge_methods_supported":["RS256","ES256","S256"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","attribute_map":{"mapping_mode":"bind_all"},"connection_settings":{"pkce":"auto"}},"strategy":"oidc","name":"Test-OIDC-Connection-1726668924","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1726668924","enabled_clients":[],"realms":["Test-OIDC-Connection-1726668924"]}'
+ body: '{"id":"con_bbsvRm8ReqCd1R4J","options":{"client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","discovery_url":"https://www.paypalobjects.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":"https://api.paypal.com/v1/oauth2/token/userinfo","token_endpoint":"https://api.paypal.com/v1/oauth2/token","scope":"openid","upstream_params":{"screen_name":{"alias":"login_hint"}},"oidc_metadata":{"issuer":"https://www.paypal.com","authorization_endpoint":"https://www.paypal.com/signin/authorize","registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","token_endpoint_auth_methods_supported":["client_secret_basic"],"response_types_supported":["code","code id_token"],"response_modes_supported":["query","form_post"],"grant_types_supported":["authorization_code","refresh_token"],"subject_types_supported":["pairwise"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"id_token_signing_alg_values_supported":["HS256","RS256"],"claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"code_challenge_methods_supported":["RS256","ES256","S256"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","attribute_map":{"mapping_mode":"bind_all"},"connection_settings":{"pkce":"auto"}},"strategy":"oidc","name":"Test-OIDC-Connection-1726765770","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1726765770","enabled_clients":[],"realms":["Test-OIDC-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 420.237333ms
+ duration: 350.204666ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-OIDC-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-OIDC-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_vungBlaiFIzTNAFs","options":{"type":"front_channel","scope":"openid","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","attribute_map":{"mapping_mode":"bind_all"},"discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://www.paypal.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","token_endpoint":"https://api.paypal.com/v1/oauth2/token","claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","grant_types_supported":["authorization_code","refresh_token"],"registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","authorization_endpoint":"https://www.paypal.com/signin/authorize","subject_types_supported":["pairwise"],"response_modes_supported":["query","form_post"],"response_types_supported":["code","code id_token"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"code_challenge_methods_supported":["RS256","ES256","S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["HS256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic"]},"schema_version":"oidc-V4","token_endpoint":"https://api.paypal.com/v1/oauth2/token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://example.com"},"strategy":"oidc","name":"Test-OIDC-Connection-1726668924","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1726668924","realms":["Test-OIDC-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_bbsvRm8ReqCd1R4J","options":{"type":"front_channel","scope":"openid","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","attribute_map":{"mapping_mode":"bind_all"},"discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://www.paypal.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","token_endpoint":"https://api.paypal.com/v1/oauth2/token","claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","grant_types_supported":["authorization_code","refresh_token"],"registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","authorization_endpoint":"https://www.paypal.com/signin/authorize","subject_types_supported":["pairwise"],"response_modes_supported":["query","form_post"],"response_types_supported":["code","code id_token"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"code_challenge_methods_supported":["RS256","ES256","S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["HS256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic"]},"schema_version":"oidc-V4","token_endpoint":"https://api.paypal.com/v1/oauth2/token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://example.com"},"strategy":"oidc","name":"Test-OIDC-Connection-1726765770","is_domain_connection":false,"show_as_button":false,"display_name":"Test-OIDC-Connection-1726765770","realms":["Test-OIDC-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 155.568208ms
+ duration: 147.307666ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_vungBlaiFIzTNAFs
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_bbsvRm8ReqCd1R4J
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:50.810Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:20.915Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 186.11625ms
+ duration: 153.95575ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_vungBlaiFIzTNAFs
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_bbsvRm8ReqCd1R4J
method: DELETE
response:
proto: HTTP/2.0
@@ -141,4 +141,4 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 364.945583ms
+ duration: 143.821041ms
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 29e9fa16..a9c0ec3f 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1726668924","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_5iLiibQz3toPvUw9","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726668924","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726668924","enabled_clients":[],"realms":["Test-Okta-Connection-1726668924"]}'
+ body: '{"id":"con_8FTu1O7iMJ3nB68l","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726765770","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726765770","enabled_clients":[],"realms":["Test-Okta-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 711.464959ms
+ duration: 900.191375ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Okta-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Okta-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_5iLiibQz3toPvUw9","options":{"type":"back_channel","scope":"openid","domain":"domain.okta.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","attribute_map":{"mapping_mode":"basic_profile"},"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"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":false,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"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"]},"schema_version":"oidc-V4","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","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://example.com"},"strategy":"okta","name":"Test-Okta-Connection-1726668924","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726668924","realms":["Test-Okta-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_8FTu1O7iMJ3nB68l","options":{"type":"back_channel","scope":"openid","domain":"domain.okta.com","issuer":"https://example.com","jwks_uri":"https://example.com/jwks","client_id":"4ef8d976-71bd-4473-a7ce-087d3f0fafd8","attribute_map":{"mapping_mode":"basic_profile"},"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"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":false,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"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"]},"schema_version":"oidc-V4","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","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://example.com"},"strategy":"okta","name":"Test-Okta-Connection-1726765770","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726765770","realms":["Test-Okta-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 142.611459ms
+ duration: 146.826208ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_5iLiibQz3toPvUw9
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_8FTu1O7iMJ3nB68l
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:52.204Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:22.284Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 149.317625ms
+ duration: 166.569917ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_5iLiibQz3toPvUw9
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_8FTu1O7iMJ3nB68l
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:52.204Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:22.284Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 140.198291ms
+ duration: 149.324208ms
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 189c06aa..13a9bc5d 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Ping-Federate-Connection-1726668924","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_PGjHNgg1ionGutio","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-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/s8eDJ3k0","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1726668924"]}'
+ body: '{"id":"con_xDWPMJM2iUDg81O0","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-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/bHeAECez","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-Ping-Federate-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 182.70275ms
+ duration: 6.51945525s
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Ping-Federate-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Ping-Federate-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_PGjHNgg1ionGutio","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-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/s8eDJ3k0","is_domain_connection":false,"show_as_button":false,"realms":["Test-Ping-Federate-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_xDWPMJM2iUDg81O0","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-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/pingfederate/bHeAECez","is_domain_connection":false,"show_as_button":false,"realms":["Test-Ping-Federate-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 152.567458ms
+ duration: 157.222375ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_PGjHNgg1ionGutio
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_xDWPMJM2iUDg81O0
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:52.840Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:29.270Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 162.844ms
+ duration: 149.415167ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_PGjHNgg1ionGutio
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_xDWPMJM2iUDg81O0
method: DELETE
response:
proto: HTTP/2.0
@@ -135,10 +135,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:52.840Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:29.270Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 141.300583ms
+ duration: 142.804709ms
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 3822d393..8b02d6d3 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SAML-Connection-1726668924","strategy":"samlp","options":{"strategy_version":2,"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-1726765770","strategy":"samlp","options":{"strategy_version":2,"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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_oghOlE2P8EJO5UH2","options":{"strategy_version":2,"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-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/eF7VzsvW","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1726668924"]}'
+ body: '{"id":"con_7K0R6QrdTV5q6Da1","options":{"strategy_version":2,"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-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/Bq0fUzns","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-SAML-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 179.819833ms
+ duration: 189.948042ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-SAML-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-SAML-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_oghOlE2P8EJO5UH2","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_version":2},"strategy":"samlp","name":"Test-SAML-Connection-1726668924","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/eF7VzsvW","is_domain_connection":false,"show_as_button":false,"realms":["Test-SAML-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_7K0R6QrdTV5q6Da1","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_version":2},"strategy":"samlp","name":"Test-SAML-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/samlp/Bq0fUzns","is_domain_connection":false,"show_as_button":false,"realms":["Test-SAML-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 149.631375ms
+ duration: 146.51025ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_oghOlE2P8EJO5UH2
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_7K0R6QrdTV5q6Da1
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:26.344Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:01.649Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 161.299666ms
+ duration: 6.31630375s
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_oghOlE2P8EJO5UH2
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_7K0R6QrdTV5q6Da1
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 41
+ content_length: 0
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:26.344Z"}'
+ body: ""
headers:
Content-Type:
- application/json; charset=utf-8
- status: 202 Accepted
- code: 202
- duration: 150.223542ms
+ status: 204 No Content
+ code: 204
+ duration: 144.948584ms
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 1b52b546..3be93a14 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SMS-Connection-1726668924","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-1726765770","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 606
uncompressed: false
- body: '{"id":"con_nZXo5sNuyQL235qL","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-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1726668924"]}'
+ body: '{"id":"con_BsdCDHpdB6pks0rX","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 184.940083ms
+ duration: 161.380084ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-SMS-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-SMS-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_nZXo5sNuyQL235qL","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-1726668924","is_domain_connection":false,"realms":["Test-SMS-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_BsdCDHpdB6pks0rX","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-1726765770","is_domain_connection":false,"realms":["Test-SMS-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 164.614875ms
+ duration: 157.052209ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_nZXo5sNuyQL235qL
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_BsdCDHpdB6pks0rX
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:25.051Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:54.207Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 6.335031125s
+ duration: 164.545167ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_nZXo5sNuyQL235qL
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_BsdCDHpdB6pks0rX
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-09-19T17:10:54.207Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 138.188875ms
+ status: 202 Accepted
+ code: 202
+ duration: 148.668042ms
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 2bb210e2..c6b88b60 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SalesForce-Connection-1726668924","strategy":"salesforce","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-SalesForce-Connection-1726765770","strategy":"salesforce","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 281
uncompressed: false
- body: '{"id":"con_DJuoHtjGzUhOfijn","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1726668924"]}'
+ body: '{"id":"con_2IZR8xq4lgHt4M6y","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 156.174208ms
+ duration: 185.197084ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-SalesForce-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-SalesForce-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_DJuoHtjGzUhOfijn","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726668924","is_domain_connection":false,"realms":["Test-SalesForce-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_2IZR8xq4lgHt4M6y","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726765770","is_domain_connection":false,"realms":["Test-SalesForce-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 6.295643834s
+ duration: 146.25825ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DJuoHtjGzUhOfijn
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_2IZR8xq4lgHt4M6y
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:49.914Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:20.025Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 165.884667ms
+ duration: 161.737791ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DJuoHtjGzUhOfijn
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_2IZR8xq4lgHt4M6y
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-09-19T17:11:20.025Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 140.426833ms
+ status: 202 Accepted
+ code: 202
+ duration: 231.554209ms
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 b48d5f74..f1a1f822 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-WindowsLive-Connection-1726668924","strategy":"windowslive","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
+ {"name":"Test-WindowsLive-Connection-1726765770","strategy":"windowslive","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}}}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 319
uncompressed: false
- body: '{"id":"con_cQn2uzb24dc6Ras5","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"signin":true,"scope":[]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1726668924"]}'
+ body: '{"id":"con_hILnv5TkbtuiaR6k","options":{"strategy_version":2,"upstream_params":{"screen_name":{"alias":"login_hint"}},"signin":true,"scope":[]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 170.549334ms
+ duration: 164.488625ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-WindowsLive-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-WindowsLive-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_cQn2uzb24dc6Ras5","options":{"scope":[],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726668924","is_domain_connection":false,"realms":["Test-WindowsLive-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_hILnv5TkbtuiaR6k","options":{"scope":[],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726765770","is_domain_connection":false,"realms":["Test-WindowsLive-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 145.017042ms
+ duration: 158.951166ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_cQn2uzb24dc6Ras5
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_hILnv5TkbtuiaR6k
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:43.160Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:19.390Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 145.198166ms
+ duration: 165.126333ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_cQn2uzb24dc6Ras5
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_hILnv5TkbtuiaR6k
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 41
+ content_length: 0
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:43.160Z"}'
+ body: ""
headers:
Content-Type:
- application/json; charset=utf-8
- status: 202 Accepted
- code: 202
- duration: 132.946209ms
+ status: 204 No Content
+ code: 204
+ duration: 140.833916ms
diff --git a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Wordpress_Connection_by_its_name.yaml b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Wordpress_Connection_by_its_name.yaml
index 3bd8ac34..ed9bdece 100644
--- a/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Wordpress_Connection_by_its_name.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadByName/It_can_successfully_find_a_Wordpress_Connection_by_its_name.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Wordpress-Connection-1726668924","strategy":"wordpress","options":{"strategy_version":2,"authorizationURL":null,"tokenURL":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["email","profile","openid"]}}
+ {"name":"Test-Wordpress-Connection-1726765770","strategy":"wordpress","options":{"strategy_version":2,"authorizationURL":null,"tokenURL":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["email","profile","openid"]}}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 363
uncompressed: false
- body: '{"id":"con_GR6iNXg9QRaeGJV3","options":{"strategy_version":2,"authorizationURL":null,"tokenURL":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["profile"],"profile":true},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726668924","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Wordpress-Connection-1726668924"]}'
+ body: '{"id":"con_kezoY4chgty95EbV","options":{"strategy_version":2,"authorizationURL":null,"tokenURL":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["profile"],"profile":true},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Wordpress-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 168.928958ms
+ duration: 171.863458ms
- id: 1
request:
proto: HTTP/1.1
@@ -55,7 +55,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Wordpress-Connection-1726668924&per_page=50
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Test-Wordpress-Connection-1726765770&per_page=50
method: GET
response:
proto: HTTP/2.0
@@ -65,13 +65,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_GR6iNXg9QRaeGJV3","options":{"scope":["profile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726668924","is_domain_connection":false,"realms":["Test-Wordpress-Connection-1726668924"],"enabled_clients":[]}]}'
+ body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_kezoY4chgty95EbV","options":{"scope":["profile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726765770","is_domain_connection":false,"realms":["Test-Wordpress-Connection-1726765770"],"enabled_clients":[]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 166.985584ms
+ duration: 157.623709ms
- id: 2
request:
proto: HTTP/1.1
@@ -90,7 +90,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_GR6iNXg9QRaeGJV3
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_kezoY4chgty95EbV
method: DELETE
response:
proto: HTTP/2.0
@@ -100,13 +100,13 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:16:10.954Z"}'
+ body: '{"deleted_at":"2024-09-19T17:10:46.500Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 144.678959ms
+ duration: 166.93125ms
- id: 3
request:
proto: HTTP/1.1
@@ -125,7 +125,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_GR6iNXg9QRaeGJV3
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_kezoY4chgty95EbV
method: DELETE
response:
proto: HTTP/2.0
@@ -133,12 +133,12 @@ interactions:
proto_minor: 0
transfer_encoding: []
trailer: {}
- content_length: 0
+ content_length: 41
uncompressed: false
- body: ""
+ body: '{"deleted_at":"2024-09-19T17:10:46.500Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 150.359917ms
+ status: 202 Accepted
+ code: 202
+ duration: 141.52825ms
diff --git a/test/data/recordings/TestConnectionManager_ReadSCIMConfiguration.yaml b/test/data/recordings/TestConnectionManager_ReadSCIMConfiguration.yaml
index 9cf3bd2e..e93259ca 100644
--- a/test/data/recordings/TestConnectionManager_ReadSCIMConfiguration.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadSCIMConfiguration.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1726669012","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-1726765936","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_DBpIx7NsDzE4y6Wt","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726669012","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726669012","enabled_clients":[],"realms":["Test-Okta-Connection-1726669012"]}'
+ body: '{"id":"con_MrHp0auRnt2dhNKo","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726765936","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726765936","enabled_clients":[],"realms":["Test-Okta-Connection-1726765936"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 863.616125ms
+ duration: 802.146417ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DBpIx7NsDzE4y6Wt/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MrHp0auRnt2dhNKo/scim-configuration
method: POST
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: 331
uncompressed: false
- body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_DBpIx7NsDzE4y6Wt","connection_name":"Test-Okta-Connection-1726669012","strategy":"okta","mapping":[{"scim":"userName","auth0":"username"},{"scim":"email","auth0":"email"}],"updated_on":"2024-09-18T14:16:54.029Z","created_at":"2024-09-18T14:16:54.029Z","user_id_attribute":"userName"}'
+ body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_MrHp0auRnt2dhNKo","connection_name":"Test-Okta-Connection-1726765936","strategy":"okta","mapping":[{"scim":"userName","auth0":"username"},{"scim":"email","auth0":"email"}],"updated_on":"2024-09-19T17:12:17.271Z","created_at":"2024-09-19T17:12:17.271Z","user_id_attribute":"userName"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 171.41725ms
+ duration: 166.495458ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DBpIx7NsDzE4y6Wt/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MrHp0auRnt2dhNKo/scim-configuration
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_DBpIx7NsDzE4y6Wt","connection_name":"Test-Okta-Connection-1726669012","strategy":"okta","mapping":[{"scim":"userName","auth0":"username"},{"scim":"email","auth0":"email"}],"updated_on":"2024-09-18T14:16:54.029Z","created_at":"2024-09-18T14:16:54.029Z","user_id_attribute":"userName"}'
+ body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_MrHp0auRnt2dhNKo","connection_name":"Test-Okta-Connection-1726765936","strategy":"okta","mapping":[{"scim":"userName","auth0":"username"},{"scim":"email","auth0":"email"}],"updated_on":"2024-09-19T17:12:17.271Z","created_at":"2024-09-19T17:12:17.271Z","user_id_attribute":"userName"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 339.697791ms
+ duration: 193.289125ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DBpIx7NsDzE4y6Wt/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MrHp0auRnt2dhNKo/scim-configuration
method: DELETE
response:
proto: HTTP/2.0
@@ -142,7 +142,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 157.353083ms
+ duration: 164.650917ms
- id: 4
request:
proto: HTTP/1.1
@@ -161,7 +161,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DBpIx7NsDzE4y6Wt
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_MrHp0auRnt2dhNKo
method: DELETE
response:
proto: HTTP/2.0
@@ -171,10 +171,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:17:00.830Z"}'
+ body: '{"deleted_at":"2024-09-19T17:12:17.794Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 6.304297625s
+ duration: 156.824625ms
diff --git a/test/data/recordings/TestConnectionManager_ReadSCIMDefaultConfiguration.yaml b/test/data/recordings/TestConnectionManager_ReadSCIMDefaultConfiguration.yaml
index 447c70eb..367c1209 100644
--- a/test/data/recordings/TestConnectionManager_ReadSCIMDefaultConfiguration.yaml
+++ b/test/data/recordings/TestConnectionManager_ReadSCIMDefaultConfiguration.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1726669020","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-1726765937","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_9xrsUyM1DnhbJi3f","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726669020","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726669020","enabled_clients":[],"realms":["Test-Okta-Connection-1726669020"]}'
+ body: '{"id":"con_rzyFrtvxKELVw1ly","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726765937","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726765937","enabled_clients":[],"realms":["Test-Okta-Connection-1726765937"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 908.906209ms
+ duration: 6.9887995s
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_9xrsUyM1DnhbJi3f/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_rzyFrtvxKELVw1ly/scim-configuration
method: POST
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_9xrsUyM1DnhbJi3f","connection_name":"Test-Okta-Connection-1726669020","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-18T14:17:01.933Z","created_at":"2024-09-18T14:17:01.933Z","user_id_attribute":"externalId"}'
+ body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_rzyFrtvxKELVw1ly","connection_name":"Test-Okta-Connection-1726765937","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-19T17:12:24.975Z","created_at":"2024-09-19T17:12:24.975Z","user_id_attribute":"externalId"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 190.309125ms
+ duration: 188.628667ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_9xrsUyM1DnhbJi3f/scim-configuration/default-mapping
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_rzyFrtvxKELVw1ly/scim-configuration/default-mapping
method: GET
response:
proto: HTTP/2.0
@@ -107,7 +107,7 @@ interactions:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 192.997084ms
+ duration: 156.9395ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_9xrsUyM1DnhbJi3f/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_rzyFrtvxKELVw1ly/scim-configuration
method: DELETE
response:
proto: HTTP/2.0
@@ -142,7 +142,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 154.059625ms
+ duration: 193.726333ms
- id: 4
request:
proto: HTTP/1.1
@@ -161,7 +161,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_9xrsUyM1DnhbJi3f
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_rzyFrtvxKELVw1ly
method: DELETE
response:
proto: HTTP/2.0
@@ -171,10 +171,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-18T14:17:02.430Z"}'
+ body: '{"deleted_at":"2024-09-19T17:12:25.485Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 148.230417ms
+ duration: 168.719209ms
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 0180a31b..892e5ec5 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-AD-Connection-1726595088","strategy":"ad"}
+ {"name":"Test-AD-Connection-1726765770","strategy":"ad"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 350
uncompressed: false
- body: '{"id":"con_1nxY2ZY7qnsCWUkU","options":{"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1726595088","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/7z4StG0KVtlhq1a0c8euETROwe5v7cHB","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1726595088"]}'
+ body: '{"id":"con_SzxVuWMr49VJ1ccn","options":{"ips":null,"brute_force_protection":true},"strategy":"ad","name":"Test-AD-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/8g4cP3Gft3w5hWVXzlBE86JamTi0MbWC","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 320.562083ms
+ duration: 171.083458ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_1nxY2ZY7qnsCWUkU
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_SzxVuWMr49VJ1ccn
method: PATCH
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_1nxY2ZY7qnsCWUkU","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"ad","name":"Test-AD-Connection-1726595088","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/7z4StG0KVtlhq1a0c8euETROwe5v7cHB","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1726595088"]}'
+ body: '{"id":"con_SzxVuWMr49VJ1ccn","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"ad","name":"Test-AD-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/8g4cP3Gft3w5hWVXzlBE86JamTi0MbWC","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 164.154416ms
+ duration: 171.325ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_1nxY2ZY7qnsCWUkU
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_SzxVuWMr49VJ1ccn
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_1nxY2ZY7qnsCWUkU","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"ad","name":"Test-AD-Connection-1726595088","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/7z4StG0KVtlhq1a0c8euETROwe5v7cHB","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1726595088"]}'
+ body: '{"id":"con_SzxVuWMr49VJ1ccn","options":{"ips":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"ad","name":"Test-AD-Connection-1726765770","provisioning_ticket_url":"https://go-auth0-dev.eu.auth0.com.eu.auth0.com/p/ad/8g4cP3Gft3w5hWVXzlBE86JamTi0MbWC","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-AD-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 150.31375ms
+ duration: 153.646208ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_1nxY2ZY7qnsCWUkU
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_SzxVuWMr49VJ1ccn
method: DELETE
response:
proto: HTTP/2.0
@@ -136,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:20.008Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:47.546Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 153.894625ms
+ duration: 150.605167ms
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 110c4c46..e8b7adbc 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Apple-Connection-1726595088","strategy":"apple"}
+ {"name":"Test-Apple-Connection-1726765770","strategy":"apple"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 199
uncompressed: false
- body: '{"id":"con_CIOwoW7O5IhE4iQq","options":{},"strategy":"apple","name":"Test-Apple-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1726595088"]}'
+ body: '{"id":"con_HWmxQkKkv3Oetb8p","options":{},"strategy":"apple","name":"Test-Apple-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 182.851917ms
+ duration: 181.269667ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_CIOwoW7O5IhE4iQq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_HWmxQkKkv3Oetb8p
method: PATCH
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_CIOwoW7O5IhE4iQq","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1726595088"]}'
+ body: '{"id":"con_HWmxQkKkv3Oetb8p","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 159.023542ms
+ duration: 182.764625ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_CIOwoW7O5IhE4iQq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_HWmxQkKkv3Oetb8p
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_CIOwoW7O5IhE4iQq","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1726595088"]}'
+ body: '{"id":"con_HWmxQkKkv3Oetb8p","options":{"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"apple","name":"Test-Apple-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Apple-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 140.876958ms
+ duration: 180.568542ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_CIOwoW7O5IhE4iQq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_HWmxQkKkv3Oetb8p
method: DELETE
response:
proto: HTTP/2.0
@@ -136,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:21.315Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:48.922Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 154.759ms
+ duration: 236.229584ms
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 7a5bdfa7..c32de312 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Auth0-Connection-1726595088","strategy":"auth0"}
+ {"name":"Test-Auth0-Connection-1726765770","strategy":"auth0"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 520
uncompressed: false
- body: '{"id":"con_TiIvfWqZeZnGmqtr","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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726595088"]}'
+ body: '{"id":"con_znGvDutOpvx0KM31","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 176.620625ms
+ duration: 334.042458ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TiIvfWqZeZnGmqtr
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_znGvDutOpvx0KM31
method: PATCH
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_TiIvfWqZeZnGmqtr","options":{"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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726595088"]}'
+ body: '{"id":"con_znGvDutOpvx0KM31","options":{"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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 165.923917ms
+ duration: 176.847709ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TiIvfWqZeZnGmqtr
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_znGvDutOpvx0KM31
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_TiIvfWqZeZnGmqtr","options":{"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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726595088"]}'
+ body: '{"id":"con_znGvDutOpvx0KM31","options":{"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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Auth0-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 140.687542ms
+ duration: 163.227625ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_TiIvfWqZeZnGmqtr
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_znGvDutOpvx0KM31
method: DELETE
response:
proto: HTTP/2.0
@@ -136,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:03.036Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:30.248Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 160.28875ms
+ duration: 165.613417ms
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 d2847d61..e9d7ad50 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Custom-SMS-Connection-1726595088","strategy":"sms"}
+ {"name":"Test-Custom-SMS-Connection-1726765770","strategy":"sms"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 236
uncompressed: false
- body: '{"id":"con_6nXMcr8FrVXL6rOl","options":{"brute_force_protection":true},"strategy":"sms","name":"Test-Custom-SMS-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1726595088"]}'
+ body: '{"id":"con_M1r8cElvUNqcejuZ","options":{"brute_force_protection":true},"strategy":"sms","name":"Test-Custom-SMS-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 157.502ms
+ duration: 171.9415ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6nXMcr8FrVXL6rOl
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_M1r8cElvUNqcejuZ
method: PATCH
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_6nXMcr8FrVXL6rOl","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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1726595088"]}'
+ body: '{"id":"con_M1r8cElvUNqcejuZ","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 163.307208ms
+ duration: 186.376541ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6nXMcr8FrVXL6rOl
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_M1r8cElvUNqcejuZ
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_6nXMcr8FrVXL6rOl","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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1726595088"]}'
+ body: '{"id":"con_M1r8cElvUNqcejuZ","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Custom-SMS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 6.28688575s
+ duration: 6.300238875s
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_6nXMcr8FrVXL6rOl
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_M1r8cElvUNqcejuZ
method: DELETE
response:
proto: HTTP/2.0
@@ -136,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:19.217Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:46.885Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 164.681209ms
+ duration: 156.346084ms
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 084ee655..2c135330 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Email-Connection-1726595088","strategy":"email"}
+ {"name":"Test-Email-Connection-1726765770","strategy":"email"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 228
uncompressed: false
- body: '{"id":"con_vBrDhUIeG45G3IyF","options":{"brute_force_protection":true},"strategy":"email","name":"Test-Email-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1726595088"]}'
+ body: '{"id":"con_kEUpjVsvYY4CyiUq","options":{"brute_force_protection":true},"strategy":"email","name":"Test-Email-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 158.884709ms
+ duration: 168.317333ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_vBrDhUIeG45G3IyF
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_kEUpjVsvYY4CyiUq
method: PATCH
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_vBrDhUIeG45G3IyF","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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1726595088"]}'
+ body: '{"id":"con_kEUpjVsvYY4CyiUq","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 157.582625ms
+ duration: 168.429584ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_vBrDhUIeG45G3IyF
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_kEUpjVsvYY4CyiUq
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_vBrDhUIeG45G3IyF","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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1726595088"]}'
+ body: '{"id":"con_kEUpjVsvYY4CyiUq","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Email-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 148.1105ms
+ duration: 165.895833ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_vBrDhUIeG45G3IyF
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_kEUpjVsvYY4CyiUq
method: DELETE
response:
proto: HTTP/2.0
@@ -136,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:11.803Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:39.396Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 147.989125ms
+ duration: 150.472958ms
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 a0fcf038..80cfffab 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Facebook-Connection-1726595088","strategy":"facebook"}
+ {"name":"Test-Facebook-Connection-1726765770","strategy":"facebook"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 218
uncompressed: false
- body: '{"id":"con_tCFmm43ebjAuNRRb","options":{"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1726595088"]}'
+ body: '{"id":"con_sElBqIAFUrcjGnpm","options":{"scope":""},"strategy":"facebook","name":"Test-Facebook-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 171.137834ms
+ duration: 163.258333ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_tCFmm43ebjAuNRRb
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_sElBqIAFUrcjGnpm
method: PATCH
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_tCFmm43ebjAuNRRb","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1726595088"]}'
+ body: '{"id":"con_sElBqIAFUrcjGnpm","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 189.202833ms
+ duration: 181.479084ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_tCFmm43ebjAuNRRb
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_sElBqIAFUrcjGnpm
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_tCFmm43ebjAuNRRb","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1726595088"]}'
+ body: '{"id":"con_sElBqIAFUrcjGnpm","options":{"scope":"","upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"facebook","name":"Test-Facebook-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Facebook-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 136.9205ms
+ duration: 160.544875ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_tCFmm43ebjAuNRRb
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_sElBqIAFUrcjGnpm
method: DELETE
response:
proto: HTTP/2.0
@@ -136,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:20.669Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:48.207Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 146.953583ms
+ duration: 152.56025ms
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 13d6302b..26b8e614 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GitHub-Connection-1726595088","strategy":"github"}
+ {"name":"Test-GitHub-Connection-1726765770","strategy":"github"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 212
uncompressed: false
- body: '{"id":"con_NSZ28v2RTUzeS3fs","options":{"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1726595088"]}'
+ body: '{"id":"con_BCdeIUCkPNJPlfI6","options":{"scope":[]},"strategy":"github","name":"Test-GitHub-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 157.725875ms
+ duration: 161.582625ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_NSZ28v2RTUzeS3fs
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_BCdeIUCkPNJPlfI6
method: PATCH
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_NSZ28v2RTUzeS3fs","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1726595088"]}'
+ body: '{"id":"con_BCdeIUCkPNJPlfI6","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 155.892416ms
+ duration: 164.557417ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_NSZ28v2RTUzeS3fs
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_BCdeIUCkPNJPlfI6
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_NSZ28v2RTUzeS3fs","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1726595088"]}'
+ body: '{"id":"con_BCdeIUCkPNJPlfI6","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"github","name":"Test-GitHub-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GitHub-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 145.221833ms
+ duration: 132.87425ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_NSZ28v2RTUzeS3fs
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_BCdeIUCkPNJPlfI6
method: DELETE
response:
proto: HTTP/2.0
@@ -136,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:28.717Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:55.419Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 158.588875ms
+ duration: 160.104417ms
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 4fe39e56..9df7341b 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleApps-Connection-1726595088","strategy":"google-apps"}
+ {"name":"Test-GoogleApps-Connection-1726765770","strategy":"google-apps"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 439
uncompressed: false
- body: '{"id":"con_vJM4WpsKEHGDwiSq","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-1726595088","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/iaO88HrR","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1726595088"]}'
+ body: '{"id":"con_IirjCBTAOG86TB3h","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-1726765770","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/upZ6mDwt","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 6.330476375s
+ duration: 255.224542ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_vJM4WpsKEHGDwiSq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_IirjCBTAOG86TB3h
method: PATCH
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_vJM4WpsKEHGDwiSq","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-1726595088","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/iaO88HrR","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1726595088"]}'
+ body: '{"id":"con_IirjCBTAOG86TB3h","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-1726765770","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/upZ6mDwt","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 214.329334ms
+ duration: 234.623125ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_vJM4WpsKEHGDwiSq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_IirjCBTAOG86TB3h
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_vJM4WpsKEHGDwiSq","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-1726595088","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/iaO88HrR","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1726595088"]}'
+ body: '{"id":"con_IirjCBTAOG86TB3h","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-1726765770","provisioning_ticket_url":"https://login.eu.auth0.com/go-auth0-dev.eu.auth0.com/p/google-apps/upZ6mDwt","is_domain_connection":false,"show_as_button":false,"enabled_clients":[],"realms":["Test-GoogleApps-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 139.457583ms
+ duration: 163.747292ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_vJM4WpsKEHGDwiSq
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_IirjCBTAOG86TB3h
method: DELETE
response:
proto: HTTP/2.0
@@ -136,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:11.184Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:38.721Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 150.057292ms
+ duration: 160.364542ms
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 55efa4cd..da10f1b1 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-GoogleOAuth2-Connection-1726595088","strategy":"google-oauth2"}
+ {"name":"Test-GoogleOAuth2-Connection-1726765770","strategy":"google-oauth2"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 276
uncompressed: false
- body: '{"id":"con_Q5REJKnadR6JQgop","options":{"email":true,"profile":true,"scope":["email","profile"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1726595088"]}'
+ body: '{"id":"con_YNsX6TF7tgW4lA7n","options":{"email":true,"profile":true,"scope":["email","profile"]},"strategy":"google-oauth2","name":"Test-GoogleOAuth2-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 154.319375ms
+ duration: 190.408292ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Q5REJKnadR6JQgop
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_YNsX6TF7tgW4lA7n
method: PATCH
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_Q5REJKnadR6JQgop","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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1726595088"]}'
+ body: '{"id":"con_YNsX6TF7tgW4lA7n","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 165.195958ms
+ duration: 164.964833ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Q5REJKnadR6JQgop
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_YNsX6TF7tgW4lA7n
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_Q5REJKnadR6JQgop","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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1726595088"]}'
+ body: '{"id":"con_YNsX6TF7tgW4lA7n","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-GoogleOAuth2-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 187.493209ms
+ duration: 132.540834ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Q5REJKnadR6JQgop
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_YNsX6TF7tgW4lA7n
method: DELETE
response:
proto: HTTP/2.0
@@ -136,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:04.339Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:37.901Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 155.234916ms
+ duration: 6.312887958s
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 2052209a..4c97b436 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-LinkedIn-Connection-1726595088","strategy":"linkedin"}
+ {"name":"Test-LinkedIn-Connection-1726765770","strategy":"linkedin"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 249
uncompressed: false
- body: '{"id":"con_QM7CLbgaiNG7jIa2","options":{"profile":true,"scope":["r_basicprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1726595088"]}'
+ body: '{"id":"con_49UuMHnwdzCfIcQh","options":{"profile":true,"scope":["r_basicprofile"]},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 6.306040542s
+ duration: 5.319807209s
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_QM7CLbgaiNG7jIa2
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_49UuMHnwdzCfIcQh
method: PATCH
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_QM7CLbgaiNG7jIa2","options":{"scope":["r_liteprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1726595088"]}'
+ body: '{"id":"con_49UuMHnwdzCfIcQh","options":{"scope":["r_liteprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 170.621958ms
+ duration: 177.311875ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_QM7CLbgaiNG7jIa2
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_49UuMHnwdzCfIcQh
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_QM7CLbgaiNG7jIa2","options":{"scope":["r_liteprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1726595088"]}'
+ body: '{"id":"con_49UuMHnwdzCfIcQh","options":{"scope":["r_liteprofile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"linkedin","name":"Test-LinkedIn-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-LinkedIn-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 147.257ms
+ duration: 145.526625ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_QM7CLbgaiNG7jIa2
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_49UuMHnwdzCfIcQh
method: DELETE
response:
proto: HTTP/2.0
@@ -136,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:28.092Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:54.798Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 151.005334ms
+ duration: 149.911834ms
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 f5dde753..62023293 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SMS-Connection-1726595088","strategy":"sms"}
+ {"name":"Test-SMS-Connection-1726765770","strategy":"sms"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 222
uncompressed: false
- body: '{"id":"con_Tbw9YGAl7knzO1F7","options":{"brute_force_protection":true},"strategy":"sms","name":"Test-SMS-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1726595088"]}'
+ body: '{"id":"con_7GZa6uk3Avyk78c6","options":{"brute_force_protection":true},"strategy":"sms","name":"Test-SMS-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 167.48775ms
+ duration: 182.633167ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Tbw9YGAl7knzO1F7
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_7GZa6uk3Avyk78c6
method: PATCH
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_Tbw9YGAl7knzO1F7","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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1726595088"]}'
+ body: '{"id":"con_7GZa6uk3Avyk78c6","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 160.859542ms
+ duration: 161.731583ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Tbw9YGAl7knzO1F7
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_7GZa6uk3Avyk78c6
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_Tbw9YGAl7knzO1F7","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-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1726595088"]}'
+ body: '{"id":"con_7GZa6uk3Avyk78c6","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-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SMS-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 152.340334ms
+ duration: 162.940625ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_Tbw9YGAl7knzO1F7
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_7GZa6uk3Avyk78c6
method: DELETE
response:
proto: HTTP/2.0
@@ -136,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:12.434Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:40.066Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 158.776209ms
+ duration: 168.591875ms
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 118b4bf9..699c6a43 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-SalesForce-Connection-1726595088","strategy":"salesforce"}
+ {"name":"Test-SalesForce-Connection-1726765770","strategy":"salesforce"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 224
uncompressed: false
- body: '{"id":"con_dls91rqueXVwDQBm","options":{"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1726595088"]}'
+ body: '{"id":"con_mlWG6HWKeftcIxTL","options":{"scope":[]},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 157.587541ms
+ duration: 158.596125ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_dls91rqueXVwDQBm
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_mlWG6HWKeftcIxTL
method: PATCH
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_dls91rqueXVwDQBm","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1726595088"]}'
+ body: '{"id":"con_mlWG6HWKeftcIxTL","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 154.640375ms
+ duration: 168.948083ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_dls91rqueXVwDQBm
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_mlWG6HWKeftcIxTL
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_dls91rqueXVwDQBm","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1726595088"]}'
+ body: '{"id":"con_mlWG6HWKeftcIxTL","options":{"scope":[],"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"salesforce","name":"Test-SalesForce-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-SalesForce-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 6.275512125s
+ duration: 6.290843958s
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_dls91rqueXVwDQBm
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_mlWG6HWKeftcIxTL
method: DELETE
response:
proto: HTTP/2.0
@@ -136,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:36.100Z"}'
+ body: '{"deleted_at":"2024-09-19T17:12:02.834Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 154.93ms
+ duration: 156.198167ms
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 56a2f929..8901db34 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,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-WindowsLive-Connection-1726595088","strategy":"windowslive"}
+ {"name":"Test-WindowsLive-Connection-1726765770","strategy":"windowslive"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 252
uncompressed: false
- body: '{"id":"con_zrMXwRWorvk2BJ6H","options":{"signin":true,"scope":["wl.signin"]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1726595088"]}'
+ body: '{"id":"con_DT7RBBVm5vd4O7K2","options":{"signin":true,"scope":["wl.signin"]},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 165.120208ms
+ duration: 163.122834ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_zrMXwRWorvk2BJ6H
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DT7RBBVm5vd4O7K2
method: PATCH
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_zrMXwRWorvk2BJ6H","options":{"scope":[],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1726595088"]}'
+ body: '{"id":"con_DT7RBBVm5vd4O7K2","options":{"scope":[],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 163.205542ms
+ duration: 165.622333ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_zrMXwRWorvk2BJ6H
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DT7RBBVm5vd4O7K2
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_zrMXwRWorvk2BJ6H","options":{"scope":[],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1726595088"]}'
+ body: '{"id":"con_DT7RBBVm5vd4O7K2","options":{"scope":[],"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"windowslive","name":"Test-WindowsLive-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-WindowsLive-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 151.56725ms
+ duration: 136.682584ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_zrMXwRWorvk2BJ6H
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_DT7RBBVm5vd4O7K2
method: DELETE
response:
proto: HTTP/2.0
@@ -136,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:29.357Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:56.043Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 151.010459ms
+ duration: 154.35475ms
diff --git a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Wordpress_Connection.yaml b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Wordpress_Connection.yaml
index 18244e97..56a56252 100644
--- a/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Wordpress_Connection.yaml
+++ b/test/data/recordings/TestConnectionManager_Update/It_can_successfully_update_a_Wordpress_Connection.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Wordpress-Connection-1726595088","strategy":"wordpress"}
+ {"name":"Test-Wordpress-Connection-1726765770","strategy":"wordpress"}
form: {}
headers:
Content-Type:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: 245
uncompressed: false
- body: '{"id":"con_zavCiT1Q6j3gVoLz","options":{"profile":true,"scope":["profile"]},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Wordpress-Connection-1726595088"]}'
+ body: '{"id":"con_cPRZCuO6ad6Y3rEZ","options":{"profile":true,"scope":["profile"]},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Wordpress-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 155.3745ms
+ duration: 151.118542ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_zavCiT1Q6j3gVoLz
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_cPRZCuO6ad6Y3rEZ
method: PATCH
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_zavCiT1Q6j3gVoLz","options":{"scope":["profile"],"profile":true,"tokenURL":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"authorizationURL":null,"strategy_version":2},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Wordpress-Connection-1726595088"]}'
+ body: '{"id":"con_cPRZCuO6ad6Y3rEZ","options":{"scope":["profile"],"profile":true,"tokenURL":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"authorizationURL":null,"strategy_version":2},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Wordpress-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 168.240041ms
+ duration: 343.468583ms
- id: 2
request:
proto: HTTP/1.1
@@ -91,7 +91,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_zavCiT1Q6j3gVoLz
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_cPRZCuO6ad6Y3rEZ
method: GET
response:
proto: HTTP/2.0
@@ -101,13 +101,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"id":"con_zavCiT1Q6j3gVoLz","options":{"scope":["profile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726595088","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Wordpress-Connection-1726595088"]}'
+ body: '{"id":"con_cPRZCuO6ad6Y3rEZ","options":{"scope":["profile"],"profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"wordpress","name":"Test-Wordpress-Connection-1726765770","is_domain_connection":false,"enabled_clients":[],"realms":["Test-Wordpress-Connection-1726765770"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 146.678666ms
+ duration: 169.773208ms
- id: 3
request:
proto: HTTP/1.1
@@ -126,7 +126,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_zavCiT1Q6j3gVoLz
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_cPRZCuO6ad6Y3rEZ
method: DELETE
response:
proto: HTTP/2.0
@@ -136,10 +136,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:03.674Z"}'
+ body: '{"deleted_at":"2024-09-19T17:11:31.094Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 154.796167ms
+ duration: 174.969625ms
diff --git a/test/data/recordings/TestConnectionManager_UpdateSCIMConfiguration.yaml b/test/data/recordings/TestConnectionManager_UpdateSCIMConfiguration.yaml
index 58b0ab99..dcab908b 100644
--- a/test/data/recordings/TestConnectionManager_UpdateSCIMConfiguration.yaml
+++ b/test/data/recordings/TestConnectionManager_UpdateSCIMConfiguration.yaml
@@ -13,7 +13,7 @@ interactions:
remote_addr: ""
request_uri: ""
body: |
- {"name":"Test-Okta-Connection-1726595265","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-1726765933","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:
@@ -30,13 +30,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"id":"con_qnsZ4BodEsoptC6S","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726595265","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726595265","enabled_clients":[],"realms":["Test-Okta-Connection-1726595265"]}'
+ body: '{"id":"con_UhcvPH20ShdDGE5i","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":"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"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel","attribute_map":{"mapping_mode":"basic_profile"},"connection_settings":{"pkce":"auto"}},"strategy":"okta","name":"Test-Okta-Connection-1726765933","is_domain_connection":false,"show_as_button":false,"display_name":"Test-Okta-Connection-1726765933","enabled_clients":[],"realms":["Test-Okta-Connection-1726765933"]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 718.536417ms
+ duration: 877.252166ms
- id: 1
request:
proto: HTTP/1.1
@@ -56,7 +56,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_qnsZ4BodEsoptC6S/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_UhcvPH20ShdDGE5i/scim-configuration
method: POST
response:
proto: HTTP/2.0
@@ -66,13 +66,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: false
- body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_qnsZ4BodEsoptC6S","connection_name":"Test-Okta-Connection-1726595265","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-17T17:47:46.328Z","created_at":"2024-09-17T17:47:46.328Z","user_id_attribute":"externalId"}'
+ body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_UhcvPH20ShdDGE5i","connection_name":"Test-Okta-Connection-1726765933","strategy":"okta","mapping":[{"scim":"userName","auth0":"preferred_username"},{"scim":"emails[primary eq true].value","auth0":"email"},{"scim":"externalId","auth0":"app_metadata.external_id"},{"scim":"active","auth0":"blocked"},{"scim":"displayName","auth0":"name"},{"scim":"name.givenName","auth0":"given_name"},{"scim":"name.familyName","auth0":"family_name"},{"scim":"name.middleName","auth0":"app_metadata.middle_name"},{"scim":"name.honorificPrefix","auth0":"app_metadata.honorific_prefix"},{"scim":"name.honorificSuffix","auth0":"app_metadata.honorific_suffix"},{"scim":"nickName","auth0":"nickname"},{"scim":"photos[type eq \"photo\"].value","auth0":"picture"},{"scim":"phoneNumbers[primary eq true].value","auth0":"app_metadata.primary_phone_number"},{"scim":"phoneNumbers[type eq \"mobile\"].value","auth0":"app_metadata.mobile_phone_number"},{"scim":"addresses[type eq \"work\"].streetAddress","auth0":"app_metadata.street_address"},{"scim":"addresses[type eq \"work\"].locality","auth0":"app_metadata.city"},{"scim":"addresses[type eq \"work\"].region","auth0":"app_metadata.state"},{"scim":"addresses[type eq \"work\"].postalCode","auth0":"app_metadata.postal_code"},{"scim":"addresses[type eq \"work\"].formatted","auth0":"app_metadata.postal_address"},{"scim":"addresses[type eq \"work\"].country","auth0":"app_metadata.country"},{"scim":"profileUrl","auth0":"app_metadata.profile_url"},{"scim":"userType","auth0":"app_metadata.user_type"},{"scim":"title","auth0":"app_metadata.title"},{"scim":"preferredLanguage","auth0":"app_metadata.language"},{"scim":"locale","auth0":"app_metadata.locale"},{"scim":"timezone","auth0":"app_metadata.timezone"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber","auth0":"app_metadata.employee_id"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.costCenter","auth0":"app_metadata.cost_center"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.organization","auth0":"app_metadata.organization"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.division","auth0":"app_metadata.division"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.department","auth0":"app_metadata.department"},{"scim":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager","auth0":"app_metadata.manager"}],"updated_on":"2024-09-19T17:12:14.029Z","created_at":"2024-09-19T17:12:14.029Z","user_id_attribute":"externalId"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
- duration: 189.8925ms
+ duration: 171.433125ms
- id: 2
request:
proto: HTTP/1.1
@@ -92,7 +92,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_qnsZ4BodEsoptC6S/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_UhcvPH20ShdDGE5i/scim-configuration
method: PATCH
response:
proto: HTTP/2.0
@@ -102,13 +102,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_qnsZ4BodEsoptC6S","connection_name":"Test-Okta-Connection-1726595265","strategy":"okta","mapping":[{"scim":"userName","auth0":"username"},{"scim":"email","auth0":"email"}],"updated_on":"2024-09-17T17:47:46.500Z","created_at":"2024-09-17T17:47:46.328Z","user_id_attribute":"userName"}'
+ body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_UhcvPH20ShdDGE5i","connection_name":"Test-Okta-Connection-1726765933","strategy":"okta","mapping":[{"scim":"userName","auth0":"username"},{"scim":"email","auth0":"email"}],"updated_on":"2024-09-19T17:12:14.208Z","created_at":"2024-09-19T17:12:14.029Z","user_id_attribute":"userName"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 160.525042ms
+ duration: 171.784208ms
- id: 3
request:
proto: HTTP/1.1
@@ -127,7 +127,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_qnsZ4BodEsoptC6S/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_UhcvPH20ShdDGE5i/scim-configuration
method: GET
response:
proto: HTTP/2.0
@@ -137,13 +137,13 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
- body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_qnsZ4BodEsoptC6S","connection_name":"Test-Okta-Connection-1726595265","strategy":"okta","mapping":[{"scim":"userName","auth0":"username"},{"scim":"email","auth0":"email"}],"updated_on":"2024-09-17T17:47:46.500Z","created_at":"2024-09-17T17:47:46.328Z","user_id_attribute":"userName"}'
+ body: '{"tenant_name":"go-auth0-dev.eu.auth0.com","connection_id":"con_UhcvPH20ShdDGE5i","connection_name":"Test-Okta-Connection-1726765933","strategy":"okta","mapping":[{"scim":"userName","auth0":"username"},{"scim":"email","auth0":"email"}],"updated_on":"2024-09-19T17:12:14.208Z","created_at":"2024-09-19T17:12:14.029Z","user_id_attribute":"userName"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
- duration: 157.479ms
+ duration: 161.0165ms
- id: 4
request:
proto: HTTP/1.1
@@ -162,7 +162,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_qnsZ4BodEsoptC6S/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_UhcvPH20ShdDGE5i/scim-configuration
method: DELETE
response:
proto: HTTP/2.0
@@ -178,7 +178,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 188.416875ms
+ duration: 158.31725ms
- id: 5
request:
proto: HTTP/1.1
@@ -197,7 +197,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_qnsZ4BodEsoptC6S/scim-configuration
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_UhcvPH20ShdDGE5i/scim-configuration
method: DELETE
response:
proto: HTTP/2.0
@@ -213,7 +213,7 @@ interactions:
- application/json; charset=utf-8
status: 204 No Content
code: 204
- duration: 152.863ms
+ duration: 163.353041ms
- id: 6
request:
proto: HTTP/1.1
@@ -232,7 +232,7 @@ interactions:
- application/json
User-Agent:
- Go-Auth0/1.10.0
- url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_qnsZ4BodEsoptC6S
+ url: https://go-auth0-dev.eu.auth0.com/api/v2/connections/con_UhcvPH20ShdDGE5i
method: DELETE
response:
proto: HTTP/2.0
@@ -242,10 +242,10 @@ interactions:
trailer: {}
content_length: 41
uncompressed: false
- body: '{"deleted_at":"2024-09-17T17:47:47.152Z"}'
+ body: '{"deleted_at":"2024-09-19T17:12:14.838Z"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
- duration: 152.942459ms
+ duration: 154.898875ms