schnack
schnack copied to clipboard
allow schnack being hosted on different domain
I'm not sure if I would like this or not, but without iframes we're always bound to hosting schnack under the same parent domain (e.g. schnack.mysite.com if your blog lives on mysite.com).
with iframes we could allow schnack to live on a third-party domain, potentially making it easier to host.
just throwing the idea in here, if anyone has opinions let me know
The problem seems to be principally related to session cookies, which should have the same domain. There we could either try with cookie.domain/cookie.sameSite or even better with stateless sessions (using JWT, for example).