---
title: findProfile
description: >-
  The public profile of the account that holds or held `handle`, under its
  current handle; `undefined` when no account ever held it or the site binds no
  `SVARTZ_DB`. A result whose `handle` differs from the one asked for means the
  asked one is old: redirect to the current one. Old handles never pass to
  another account.
updated_at: '2026-11-25T17:56:14+01:00'
created_at: '2026-11-11T11:02:45+01:00'
symbol:
  kind: function
  name: findProfile
  signatures:
    - >-
      findProfile(handle: string, env: Readonly<Record<string, unknown>>):
      Promise<[[reference/api/auth/server/PublicProfile|PublicProfile]] |
      undefined>
  parameters:
    - name: handle
      type: string
    - name: env
      type: 'Readonly<Record<string, unknown>>'
  returns:
    type: >-
      Promise<[[reference/api/auth/server/PublicProfile|PublicProfile]] |
      undefined>
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/auth/src/server.ts#L79
---

# findProfile
