Authentication and Passcode

Last updated 7 months ago

The open-source version only support email + password and does not have a passcode feature at the moment

You can access Jadebook through 3 ways:

  1. Email - Password

  2. Google

  3. Github

Identities refer to how you sign-in. You can not have both Github and Google enabled at the same time. This is mainly due to security concerns.

From our Auth provider (Supabase):

In order for automatic linking to correctly identify the user for linking, Supabase Auth needs to ensure that all user emails are unique. It would also be an insecure practice to automatically link an identity to a user with an unverified email address since that could lead to pre-account takeover attacks. To prevent this from happening, when a new identity can be linked to an existing user, Supabase Auth will remove any other unconfirmed identities linked to an existing user.

You can still have email plus one oAuth provider. You can manage these from your account settings.

If you initially signed-in through an oAuth provider and want to also have email login (for autocomplete), you simply update your password and a email identity is created for you.

Passcode

Passcode is simply a way to make sure that if someone else is using your device, they can’t just open Jadebook and see your journal entries. The code must be a 6-digit numerical code. We might update this to allow alphabets in the future.