Skip to content

Fetching Github username (not Display Name) #3

@wangeguo

Description

@wangeguo

Need to research how to correctly retrieve the user's Github username (unique login identifier) in Better Auth, instead of their public Display Name. Potential solutions may involve before or after Hooks. Key questions:

  1. Difference between username and display name in Github API response
  2. Whether Better Auth defaults to fetching the wrong field, requiring override/extend
  3. Hook best practices (timing, data modification approach)

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions