---
title: findProfilesByIdentity
description: >-
  `findProfileByIdentity` for each of `identities` in one D1 call, by identity;
  identities no account has are absent.
updated_at: '2026-11-25T17:56:14+01:00'
created_at: '2026-11-11T11:02:45+01:00'
symbol:
  kind: function
  name: findProfilesByIdentity
  signatures:
    - >-
      findProfilesByIdentity(identities: readonly string[], env:
      Readonly<Record<string, unknown>>): Promise<Map<string,
      [[reference/api/auth/server/PublicProfile|PublicProfile]]>>
  parameters:
    - name: identities
      type: 'readonly string[]'
    - name: env
      type: 'Readonly<Record<string, unknown>>'
  returns:
    type: >-
      Promise<Map<string,
      [[reference/api/auth/server/PublicProfile|PublicProfile]]>>
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/auth/src/server.ts#L93
---

# findProfilesByIdentity
