--- http_interactions: - request: method: post uri: https://auth0-sdk-tests.auth0.com/api/v2/device-credentials body: encoding: UTF-8 string: '{"device_name":"rubytest-210908-username_phone_1","type":"public_key","value":"dmFsdWU=","device_id":"68753A44-4D6F-1226-9C60-0050E4C00067","client_id":"2cnWuug6zaFX1j0ge1P99jAUn0F4XSuI"}' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin19.6.0 x86_64) ruby/2.7.0p0 Content-Type: - application/json Auth0-Client: - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI1LjUuMCIsImVudiI6eyJydWJ5IjoiMi43LjAifX0= Authorization: - Basic VXNlcm5hbWUtUGFzc3dvcmQtQXV0aGVudGljYXRpb25ccnVieXRlc3QtMjEwOTA4LXJ1Ynl0ZXN0LTIxMDkwOC11c2VybmFtZUBhdXRoMC5jb206QjR6TTRqRm05QjYyYjE= Content-Length: - '187' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - auth0-sdk-tests.auth0.com response: status: code: 401 message: Unauthorized headers: Date: - Fri, 03 Sep 2021 20:16:23 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Cf-Ray: - 6891a7d2290c04f7-LAX Cache-Control: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - origin,accept-encoding Www-Authenticate: - Bearer Cf-Cache-Status: - DYNAMIC Expect-Ct: - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Ot-Baggage-Auth0-Request-Id: - 6891a7d2290c04f7 Ot-Tracer-Sampled: - 'true' Ot-Tracer-Spanid: - 2c0891a267dd3909 Ot-Tracer-Traceid: - 33a26032311adeec X-Content-Type-Options: - nosniff Server: - cloudflare Alt-Svc: - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400 body: encoding: ASCII-8BIT string: '{"statusCode":401,"error":"Unauthorized","message":"Missing authentication"}' recorded_at: Fri, 03 Sep 2021 20:16:23 GMT recorded_with: VCR 6.0.0