title: Cypress + API auth
body: <p>I have a sample react app that uses an identity provider for user auth.  I am trying to automate user login with cypress, via the IdP (Okta in this case) API.</p>
  <p>With custom cypress command I am able to authorize and retrieve user details and authorization token, but I don't know what to do with that information.</p>
  <p>After receiving user details and token if I come back to my app root (which is configured as the callback url), it just tells me I am not authenticated.</p>
  <p>I have configured a /profile page that uses a Secure route in React, which should only be accessible when the user is logged in.  If I get the token and then visit the /profile url, it still tells me I am not authenticated.</p>