Skip to content

user.metadata is missing #253

@stepanh

Description

@stepanh

Describe the bug
I have metadata key display_name set on a user - I can see it on the Dashboard under "Custom metadata" but the user returned by useAuth hook doesn't include it.
I tried logging out and using Safari instead of Chrome, yet metadata still shows up empty.

To Reproduce

const { user } = useAuth();
console.log("user", user);
// logs the user but metadata is empty object
// metadata: {}

Expected behavior
Custom metadata is included.

Desktop (please complete the following information):

  • OS: [MacOS]
  • Browser [chrome, safari]
  • authkit-nextjs version [2.3.2]
  • Next.js version [15.3.2]

Additional context
externalId is returned on the user

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions