Skip to main content

No Authentication

No-authentication mode lets the widget connect using only a user identifier, with no token verification. This is the fastest way to get started during development.
This mode does not verify the user’s identity. Anyone with the API key and a user ID can connect as that user. Do not use this in production with sensitive notifications.

Setup

Pass authType: "none" with the user’s identity:
<NotifizzInbox
  options={{
    apiKey: "YOUR_FRONT_API_KEY",
    authType: "none",
    userId: "user_42",
    userEmail: "alice@example.com",
  }}
/>

Required fields

FieldTypeDescription
authType"none"Must be set to "none".
userIdstringThe user’s unique identifier.
userEmailstringThe user’s email address.

When to use

This mode is appropriate for local development, demos, hackathons, or internal tools where security is not a concern. It lets you test the full notification flow without setting up backend token generation or Firebase.

Migrating to production

When you’re ready to go to production, switch to one of the secure authentication strategies:

Backend tokens

Recommended for apps with their own auth system.

Firebase

Zero-effort if you already use Firebase Auth.