Skip to content

makeAuthResponse username is not populated for .btc names #1144

Closed
@pradel

Description

@pradel

Describe the bug

When the user login into an application via the Hiro wallet, the username field is an empty string while it should be the .btc domain.

What version of Blockstack.js are you using?

Is the bug present in the Blockstack CLI, Gaia hub, Connect or Blockstack Browser?

To Reproduce

Steps to reproduce the behavior:

  1. use the Hiro wallet to login into an app with an account that does have a .btc name
  2. call userSession.loadUserData() and see that the username field is an empty string

Expected behavior

When the user is logging in into my app I should be able to read the owner .btc username from the userSession.loadUserData() function. Similarly to .id.stx names.

Desktop (please complete the following information):

  • OS: Mac
  • Browser: chrome
  • Version 96.0.4664.55

Metadata

Metadata

Assignees

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