as the title says my server takes site.com and www.site.com as both valid urls to access my site but Blockstack treats them differently, if I’ve logged in site.com and uploaded data then if I go to www.site.com I get my website but Blockstack asks for another sign in and my data from site.com won’t show up.
At this time, Blockstack uses the app’s
Origin header to derive the app private key.
You should pick one of the two hostnames as your canonical hostname and permanently redirect requests to the other to the canonical hostname. This won’t only fix the problem you’re seeing with blockstack apps, it’s also best practice for SEO and other reasons.