Advanced Workflows

OAuth is what lets you log in to a service with an existing Google or Facebook account. customers often need to set a redirect target from their “test app” on an external service to allow logging in to their own accounts.

For this use case, we’ve created the endpoint, and the flow looks like this:

  1. User visits
  2. User clicks “log in with Google”
  3. User is redirected to a Google login page for a test application
  4. The “redirect URI” for that login page is “”, so the user is sent to
  5. reads a cookie to see which cidemo site the user was last on, so the user is redirected back to
  6. The application can now read the code and log the user in as usual.

Combining with white-labeled sites (routing)

The same can be done for, in the case where a route with $ exists.