---
http_interactions:
- request:
    method: post
    uri: https://sso.zeachable.com/api/v1/my_teachable_sign_in/validate
    body:
      encoding: UTF-8
      string: email=obama%40teachable.com&password=password&referral=&auth_token=MARKETING_API_AUTH_TOKEN
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Wed, 20 Nov 2019 18:53:38 GMT
      Content-Type:
      - application/json; charset=utf-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Set-Cookie:
      - __cfduid=d65347fedb7cac5e058e13239fb9d01b01574276017; expires=Fri, 20-Dec-19
        18:53:37 GMT; path=/; domain=.zeachable.com; HttpOnly; Secure
      - _afid=1616f119-a53e-4294-9a81-5c5a88a5cca0; domain=.zeachable.com; path=/;
        expires=Fri, 20 Nov 2020 18:53:38 -0000
      - aid=1616f119-a53e-4294-9a81-5c5a88a5cca0; domain=.zeachable.com; path=/; expires=Fri,
        20 Nov 2020 18:53:38 -0000
      - request_method=POST; path=/
      X-Fedora-School-Id:
      - ''
      Access-Control-Allow-Origin:
      - "*"
      Access-Control-Allow-Methods:
      - POST
      Access-Control-Allow-Headers:
      - X-Requested-With, X-Prototype-Version, Content-Type
      Access-Control-Max-Age:
      - '1728000'
      Etag:
      - W/"595958229de59debd5ffca7f7c13664f"
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - ba29dd6e-6135-494c-a5ce-17738735dc1a
      X-Runtime:
      - '0.247372'
      Vary:
      - Accept-Encoding
      Strict-Transport-Security:
      - max-age=0
      X-Content-Type-Options:
      - nosniff
      X-Download-Options:
      - noopen
      X-Frame-Options:
      - SAMEORIGIN
      X-Permitted-Cross-Domain-Policies:
      - none
      X-Xss-Protection:
      - 1; mode=block
      Cf-Cache-Status:
      - DYNAMIC
      Expect-Ct:
      - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
      Server:
      - cloudflare
      Cf-Ray:
      - 538ca0b85f7ee6bc-EWR
    body:
      encoding: ASCII-8BIT
      string: '{"sign_ins":[{"school_name":"Gravy Train Express","school_id":108,"authenticated_url":"https://sso.zeachable.com/secure/108/users/sessions/remote_sign_in?redirect=admin\u0026remote_sign_in_token=2b5bf50eaa9b711e4d2fdc448e22d93e\u0026user_id=147","zendesk_url":"https://teachable1475385865.zendesk.com/access/jwt?jwt=eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzQyNzYwMTgsImp0aSI6IjE1NzQyNzYwMTgvOTBlNzdmMTY3ZDkzYzY5YThiMTQxYTM3MWIzMWVmMDRlZTM1IiwibmFtZSI6Ik9iYW1hIiwiZW1haWwiOiJvYmFtYUB0ZWFjaGFibGUuY29tIn0.P0EEaZFSrHZH-qtD_5NRAHBtj7MHSrFwIcBsMCZwi9E","id":147,"last_four":"4242","card_type":"Visa","school_plan_id":3,"primary_owner":false,"school_deleted":false},{"school_name":"No
        MyT School","school_id":107,"authenticated_url":"https://sso.zeachable.com/secure/107/users/sessions/remote_sign_in?redirect=admin\u0026remote_sign_in_token=228b018878b48c485e2f1abe9b820fc2\u0026user_id=146","zendesk_url":"https://teachable1475385865.zendesk.com/access/jwt?jwt=eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzQyNzYwMTgsImp0aSI6IjE1NzQyNzYwMTgvMmI1MGIyOTNjZWI3YTZmZTc0MGMxZTBmZWFjMTBkMGRhMzE1IiwibmFtZSI6Ik9iYW1hIiwiZW1haWwiOiJvYmFtYUB0ZWFjaGFibGUuY29tIn0.WHmDNLNjYy8rgYhId6y5SS9ogfR9BGJe7tNqSrdZ7jk","id":146,"last_four":"4242","card_type":"Visa","school_plan_id":3,"primary_owner":false,"school_deleted":false}]}'
    http_version: 
  recorded_at: Wed, 20 Nov 2019 18:53:38 GMT
recorded_with: VCR 5.0.0
