BOB Docs
FrontendTutorials

Authorization

The BOB is designed to support multiple authentication standards.
The backend is ready to work with any third-party provider #LINK.

Firebase

Firebase Authentication is the default option, and I highly recommend using it—especially because it works well with Gmail, which is the standard today.
To use Firebase, you need to create your own project. Check the backend docs for setup instructions: #LINK

Setting Up

To make Firebase Authentication work properly, you need to provide Firebase configuration data.
To get this configuration for your frontend app:

  1. Go to your Firebase Project Settings (gear icon in the upper left corner after logging into Firebase).
  2. Click General and scroll down to the Your apps section.
  3. Click Add app and select Web (< / >).
  4. Give your app a name. Do not enable Firebase Hosting, unless you want to—BOB is self-deployed.
  5. Click Create app and copy the firebaseConfig object.
  6. Paste this configuration into the file:
    app/config/firebase.ts

After that, check if logging in with Firebase works.
Also, remember to add Google as an authentication provider in your Firebase app under the “Sign-in method” tab.

Redirects

Some actions require predefined paths to handle special events like post-purchase screens or invitations.
You can easily adjust these paths in the backend by changing the appropriate environment variables #LINK.

On this page