forked from auth0/go-auth0
-
Notifications
You must be signed in to change notification settings - Fork 1
/
TestJobManager_ReadErrors.yaml
181 lines (181 loc) · 7.98 KB
/
TestJobManager_ReadErrors.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
---
version: 2
interactions:
- id: 0
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 480
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
{"connection":"Username-Password-Authentication","email":"[email protected]","given_name":"Chuck","family_name":"Sanchez","username":"test-user506","nickname":"Chucky","password":"Passwords hide their chuck","user_metadata":{"favourite_attack":"roundhouse_kick"},"verify_email":false,"app_metadata":{"facts":["count_to_infinity_twice","kill_two_stones_with_one_bird","can_hear_sign_language"]},"picture":"https://example-picture-url.jpg","blocked":false,"email_verified":true}
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- Go-Auth0-SDK/latest
url: https://go-auth0-dev.eu.auth0.com/api/v2/users
method: POST
response:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
transfer_encoding: []
trailer: {}
content_length: 661
uncompressed: false
body: '{"blocked":false,"created_at":"2023-01-25T17:48:19.103Z","email":"[email protected]","email_verified":true,"family_name":"Sanchez","given_name":"Chuck","identities":[{"connection":"Username-Password-Authentication","user_id":"63d16b633416c557f7d02a3c","provider":"auth0","isSocial":false}],"name":"[email protected]","nickname":"Chucky","picture":"https://example-picture-url.jpg","updated_at":"2023-01-25T17:48:19.103Z","user_id":"auth0|63d16b633416c557f7d02a3c","user_metadata":{"favourite_attack":"roundhouse_kick"},"username":"test-user506","app_metadata":{"facts":["count_to_infinity_twice","kill_two_stones_with_one_bird","can_hear_sign_language"]}}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 201 Created
code: 201
duration: 222.688042ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 5
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
null
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- Go-Auth0-SDK/latest
url: https://go-auth0-dev.eu.auth0.com/api/v2/connections?include_totals=true&name=Username-Password-Authentication&per_page=50
method: GET
response:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
transfer_encoding: []
trailer: {}
content_length: -1
uncompressed: true
body: '{"total":1,"start":0,"limit":50,"connections":[{"id":"con_ftSSLHb0O7rcUGmF","options":{"mfa":{"active":true,"return_enroll_settings":true},"validation":{"username":{"max":15,"min":1}},"import_mode":false,"configuration":{},"customScripts":{},"passwordPolicy":"good","password_history":{"size":5,"enable":false},"strategy_version":2,"requires_username":true,"password_dictionary":{"enable":false,"dictionary":[]},"brute_force_protection":true,"password_no_personal_info":{"enable":false},"password_complexity_options":{"min_length":8},"enabledDatabaseCustomization":false},"strategy":"auth0","name":"Username-Password-Authentication","is_domain_connection":false,"realms":["Username-Password-Authentication"],"enabled_clients":["x6JQCUgTHFxLjAUqJE7Fx2Iyud62IlhI","8IgJbmEeGNsF7A4GXnYaiO6hScFYMjAv","JjLnHphshQijjCMloEAHgJFRmI0EUpgE","ExUOsL33W3KwCF6eOHIlTJdlrCxr6CT9","rpj0to9e68MdNFAQCh3DmCWo81OvqK6c","oZGzW6Pcxf3rZdzSUPv8NlPA7ij7MlM1","Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF"]}]}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 200 OK
code: 200
duration: 111.321041ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 808
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: "--8f1e39afd318bb401e8c54f52de61964f1e6d28cebe87ff0c71c5f559150\r\nContent-Disposition: form-data; name=\"connection_id\"\r\n\r\ncon_ftSSLHb0O7rcUGmF\r\n--8f1e39afd318bb401e8c54f52de61964f1e6d28cebe87ff0c71c5f559150\r\nContent-Disposition: form-data; name=\"upsert\"\r\n\r\nfalse\r\n--8f1e39afd318bb401e8c54f52de61964f1e6d28cebe87ff0c71c5f559150\r\nContent-Disposition: form-data; name=\"external_id\"\r\n\r\n\r\n--8f1e39afd318bb401e8c54f52de61964f1e6d28cebe87ff0c71c5f559150\r\nContent-Disposition: form-data; name=\"send_completion_email\"\r\n\r\nfalse\r\n--8f1e39afd318bb401e8c54f52de61964f1e6d28cebe87ff0c71c5f559150\r\nContent-Disposition: form-data; name=\"users\"; filename=\"users.json\"\r\nContent-Type: application/json\r\n\r\n[{\"email\":\"[email protected]\",\"email_verified\":true}]\r\n--8f1e39afd318bb401e8c54f52de61964f1e6d28cebe87ff0c71c5f559150--\r\n"
form: {}
headers:
Content-Type:
- multipart/form-data; boundary=8f1e39afd318bb401e8c54f52de61964f1e6d28cebe87ff0c71c5f559150
User-Agent:
- Go-Auth0-SDK/latest
url: https://go-auth0-dev.eu.auth0.com/api/v2/jobs/users-imports
method: POST
response:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
transfer_encoding: []
trailer: {}
content_length: 197
uncompressed: false
body: '{"type":"users_import","status":"pending","connection_id":"con_ftSSLHb0O7rcUGmF","connection":"Username-Password-Authentication","created_at":"2023-01-25T17:48:19.680Z","id":"job_Msbc3YRyjuAREpPy"}'
headers:
Content-Type:
- application/json; charset=utf-8
status: 202 Accepted
code: 202
duration: 756.669042ms
- id: 3
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 5
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: |
null
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- Go-Auth0-SDK/latest
url: https://go-auth0-dev.eu.auth0.com/api/v2/jobs/job_Msbc3YRyjuAREpPy/errors
method: GET
response:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
transfer_encoding: []
trailer: {}
content_length: -1
uncompressed: true
body: '[{"user":{"email":"[email protected]","email_verified":true},"errors":[{"code":"DUPLICATED_USER","message":"The user already exist and upsert parameter is false"}]}]'
headers:
Content-Type:
- application/json
status: 200 OK
code: 200
duration: 195.127125ms
- id: 4
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 0
transfer_encoding: []
trailer: {}
host: go-auth0-dev.eu.auth0.com
remote_addr: ""
request_uri: ""
body: ""
form: {}
headers:
Content-Type:
- application/json
User-Agent:
- Go-Auth0-SDK/latest
url: https://go-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C63d16b633416c557f7d02a3c
method: DELETE
response:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
transfer_encoding: []
trailer: {}
content_length: 0
uncompressed: false
body: ""
headers:
Content-Type:
- application/json; charset=utf-8
status: 204 No Content
code: 204
duration: 102.571083ms