SaasCore Docs
  • Get Started
  • Configuration
    • Database
    • Stripe
      • Product ID and Price ID
      • API keys
      • Stripe Webhook
    • Emails
      • Cron Jobs
    • Claudinary
    • Chat plugin
    • Upstash Redis
    • OAuth with Google and GitHub
    • Subscription types and plans
    • Affiliate program
    • Google Analytics Api
  • Landing page
    • Header
    • Hero
      • Discount
      • AvatarCircles
    • Other components
  • Authentication Flow
    • For Admins
    • For Clients
      • OAuth
      • Credentials
    • For Affiliates
  • Payments
    • Payment Flow Scenarios
      • Scenario 1: Registered Client
      • Scenario 2: Direct Subscription from Home Page
      • Upgrading/Downgrading/Canceling Subscriptions
    • Pricing Table
  • Component Protection
  • Pending ...
Powered by GitBook
On this page
  1. Authentication Flow

For Admins

To register an admin account, follow these steps:

  1. Configuration:

    • Ensure the "Free Plan" exists in the configuration file under the plans array. This can be removed later after signing up.

  2. Sign Up:

    • Go to the Sign-up page.

    • Choose your preferred authentication method (OAuth or traditional credentials).

    • Create your account.

  3. Database Update:

    • Access your database management system (e.g., Neon).

    • Go to the Users table.

    • Change the user role toADMIN.

  4. Access Dashboards:

    • Logout and log in again.

    • You will now have access to three dashboards: Admin, Client, and Affiliate.

PreviousAuthentication FlowNextFor Clients

Last updated 10 months ago