Skip to content

User Creation and Authentication Flow

Aidan Sunbury edited this page Oct 13, 2023 · 2 revisions

Overview

  1. When a user first signs in, they are directed to the /profile page
  2. The /profile page calls the /api/user/validate route, which either returns null, or the slug of the user (first name last name with no spaces)
  3. If the user slug is returned, we navigate to that user's profile at /profile/[slug]
Clone this wiki locally