--- http_interactions: - request: method: post uri: https://api.workos.com/user_management/authenticate body: encoding: UTF-8 string: '{"code":"01H93ZZHA0JBHFJH9RR11S83YN","client_id":"client_123","client_secret":"<API_KEY>","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: 200 message: OK headers: Date: - Wed, 30 Aug 2023 19:51:51 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Cf-Ray: - 7fef921deeca091f-SEA Cf-Cache-Status: - DYNAMIC Etag: - W/"13b-pHataL1lHEvsW5EO4vq5QgAdcWw" 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: - 630bec5a-5a13-4311-a0b7-958889a3bbb2 X-Xss-Protection: - "0" Set-Cookie: - __cf_bm=o5KBdIAUFZp0azSQnnd1GlQcIlcPCz95uFg6hFNnKM8-1693425111-0-ARSauqdojZdKD6Z7vp12JBrxCp6wE1s0JzEhaN0XE2DqME76OnJiDJugj2TsbNGXtqWaH3By7XHUXVZDf+AdFxU=; 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: ASCII-8BIT string: '{"user":{"object":"user","id":"user_01H93ZY4F80YZRRS6N59Z2HFVS","email":"test@workos.app","email_verified":false,"first_name":"Lucille","last_name":"Bluth","created_at":"2023-08-30T19:50:13.214Z","updated_at":"2023-08-30T19:50:13.214Z","user_type":"managed","sso_profile_id":"prof_01H93ZTVWYPAT4RKDSPFPPXH0J"},"access_token":"<ACCESS_TOKEN>","refresh_token":"<REFRESH_TOKEN>"}' http_version: recorded_at: Wed, 30 Aug 2023 19:51:51 GMT recorded_with: VCR 5.0.0