Retrieves the profile information for the currently authenticated user. This endpoint requires a valid JWT token and returns the user’s MongoDB profile data.
The profile endpoint uses the JWT token to identify the user, so you don’t need to pass a user ID. Each user can only access their own profile.
This endpoint returns data from MongoDB, not Supabase. It includes the supabaseId field which links the MongoDB record to the Supabase authentication record.