Диагностика входа

Эта страница показывает, что именно сервер видит по текущей сессии: auth user, claims, профиль доступа и allowlist.

Быстрый вывод

requiresAccountAccess: true
enforceProfileAccess: true
server supabase client: true
admin supabase client: true
auth user id:
auth user email:
claimed role in token:
claimed is_active in token:
profiles row found: false
profiles is_active:
invite_allowlist row found: false
invite_allowlist is_active:

Что это значит

Сервер не видит текущую сессию. Обычно это значит, что auth callback / cookies / redirect URL настроены неправильно.

auth.getUser()

null

claims / parsed claims

{
  "rawClaims": null,
  "parsedClaims": {
    "userId": null,
    "email": null,
    "profile": null
  }
}

profiles query

{
  "data": null,
  "error": "No auth user or no server client"
}

invite_allowlist query

{
  "data": null,
  "error": "No auth user email"
}