verifyAuthRequest
name lookup URL is on mainnet
#916
Labels
bug
Unwanted or unintended logic causing harm
verifyAuthRequest
name lookup URL is on mainnet
#916
Although mainnet is live, BNS endpoints are not deployed to mainnet yet. So, if an app uses the latest
@stacks/auth
version, and a user logs in with a username, thenverifyAuthRequest
will fail (this is called by default in all auth flows).Options to fix temporarily:
appConfig.coreNode
tohttps://core.blockstack.org
- this is a decent fix for as long as we don't have BNS endpoints or a new subdomain registrar@stacks/auth
default URL to usehttps://core.blockstack.org
- and we can revert that once BNS is liveWe should be careful to test this - the API is not currently 1-for-1, for example,
/v1/names/:name
returns a stacks address (it used to be a BTC address), so there might be slight changes needed to support this change. Part of that might need to be on the authenticator, and some might be in@stacks/auth
itself.The text was updated successfully, but these errors were encountered: