Welcome

Edge contains configuration tools and scripts that are run "at the edge" of FloatMe. Currently in practice this includes cloudflare workers for Auth, DeepLinking, Text me the app, and CBC Waitlist (deprecated) endpoints. It also includes all our Auth0 cloud functions such as the MFA Action and old Auth0 Rules (deprecated).

High Level Descriptions

Auth0

  • MFA Action - determines if the request to auth0 should include an MFA challenge. In test this action also looks for integration test users to skip MFA challenges.

Cloudflare

  • Auth Worker - proxy for all authentication requests to auth0, with certain endpoints also using castle to prevent suspicious users from making requests.

  • SMS Worker - takes in simple requests from floatme.com to text a link to the app to a phone number.

  • Links Worker - takes in requests to links.floatme.io or links.test.floatme.io and reroutes them to deeplink format (floatme://<url). This worker also hosts .well-known files used by apple and google to confirm our ownership of the app and url.

  • Waitlist Worker (deprecated) - handles requests for user interactions with the MVP waitlist.