--- http_interactions: - request: method: post uri: https://develop.lifen.fr/authentication/api/register/third_party body: encoding: UTF-8 string: '{"emailAddress":null,"lastName":null,"firstName":"Marc"}' headers: User-Agent: - Faraday v0.10.0 Authorization: - Bearer valid_application_access_token Content-Type: - application/json Accept: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 401 message: Unauthorized headers: Server: - Apache-Coyote/1.1 X-B3-Sampled: - '1' X-B3-Spanid: - 5f594a52a125cb57 X-B3-Traceid: - 5f594a52a125cb57 X-Content-Type-Options: - nosniff X-Xss-Protection: - 1; mode=block Cache-Control: - no-cache, no-store, max-age=0, must-revalidate - no-store Pragma: - no-cache - no-cache Expires: - '0' Www-Authenticate: - 'Bearer realm="oauth", error="invalid_token", error_description="Invalid access token: valid_application_access_token"' Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Date: - Fri, 09 Dec 2016 09:48:27 GMT body: encoding: UTF-8 string: '{"error":"invalid_token","error_description":"Invalid access token: valid_application_access_token"}' http_version: recorded_at: Fri, 09 Dec 2016 09:46:36 GMT recorded_with: VCR 3.0.3