--- http_interactions: - request: method: post uri: https://api.workos.com/user_management/authenticate body: encoding: UTF-8 string: '{"code":"invalid","client_id":"client_123","client_secret":"","ip_address":"200.240.210.16","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) Chrome/108.0.0.0 Safari/537.36","grant_type":"authorization_code"}' headers: Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - WorkOS; ruby/3.0.2; arm64-darwin21; v2.16.0 response: status: code: 400 message: Bad Request headers: Date: - Wed, 30 Aug 2023 19:51:51 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - "92" Connection: - keep-alive Cf-Ray: - 7fef92211809c715-SEA Cf-Cache-Status: - DYNAMIC Etag: - W/"5c-iYZxvYBkO+QosPHgQENUzbE8Uac" Strict-Transport-Security: - max-age=15552000; includeSubDomains Vary: - Origin, Accept-Encoding Via: - 1.1 spaces-router (devel) Access-Control-Allow-Credentials: - "true" Content-Security-Policy: - "default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests" Expect-Ct: - max-age=0 Referrer-Policy: - no-referrer X-Content-Type-Options: - nosniff X-Dns-Prefetch-Control: - "off" X-Download-Options: - noopen X-Frame-Options: - SAMEORIGIN X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - 470506e4-7be1-464c-8d2c-8ce98207bff6 X-Xss-Protection: - "0" Set-Cookie: - __cf_bm=T4FglgOdveH_UrrH3p1bZTMlmgx6dOp6MwUIacX.Ilw-1693425111-0-AeeLZFZ2Ai2iZTCSKu01aHk1f9fy95FYgYE79bYIpSi63zy8YTFMKhaIQlHj2CfrK485zE0frTrbD+76Rve+trw=; path=/; expires=Wed, 30-Aug-23 20:21:51 GMT; domain=.workos.com; HttpOnly; Secure; SameSite=None - __cfruid=3e9a5d359ba92753e7626245fef8b2f1ee096477-1693425111; path=/; domain=.workos.com; HttpOnly; Secure; SameSite=None Server: - cloudflare body: encoding: UTF-8 string: '{"error":"invalid_grant","error_description":"The code ''452079'' has expired or is invalid."}' http_version: recorded_at: Wed, 30 Aug 2023 19:51:51 GMT recorded_with: VCR 5.0.0