Routes

Ship It provides a number of useful paths which will redirect your users in several ways. You can use these to add simple links to your site to allow users to logout, manage their subscription, etc.

  • /shipit/oauth2/login: Redirect your user to log in with Auth0.
  • /shipit/oauth2/login?returnTo=signUp: Redirect your user to log in with Auth0, and then display subscription options.
  • /shipit/oauth2/logout: Log your user out.
  • /shipit/stripe/table: Display pricing table (if multiple prices are selected).
  • /shipit/stripe/manage: Display Stripe Customer Portal for managing the user's subscription and billing info.
  • /shipit/stripe/checkout/:stripe_price_id: Create Stripe Checkout session for a particular price.