Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot connect wallet to any dapps with older accounts #2166

Closed
whitebreadgolf opened this issue Jan 25, 2022 · 3 comments
Closed

cannot connect wallet to any dapps with older accounts #2166

whitebreadgolf opened this issue Jan 25, 2022 · 3 comments
Assignees

Comments

@whitebreadgolf
Copy link

Seems like a backwards compatibility issue with older accounts. I can reproduce this both on chrome and firefox and with several dapps (arkadiko, alex, stacksart). The error in the console is"Error checking doPublicKeysMatchUsername", which seems to come from the below CORS issue below.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://core.blockstack.org/v1/names/karlcd.id.blockstack. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 301.

Here is a screenshot of the console
Screen Shot 2022-01-25 at 11 46 18 AM

Here is a screenshot of request headers for the failed https://core.blockstack.org/v1/names/karlcd.id.blockstack request
Screen Shot 2022-01-25 at 11 48 38 AM

@janniks
Copy link
Contributor

janniks commented Jan 25, 2022

Thanks for the report! We'll look into this.

Discussing potential solutions under hirosystems/stacks.js#1166

@ahsan-javaid
Copy link

tidbit :)
This was fixed in stacks.js in this pr: hirosystems/stacks.js#1149 and released in v3.
Make sure to upgrade to @stacks/auth 3.1.0

@saralab
Copy link

saralab commented Jan 26, 2022

Needs upgrade to auth-3.1.0, closing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants