schnack icon indicating copy to clipboard operation
schnack copied to clipboard

allow schnack being hosted on different domain

Open gka opened this issue 7 years ago • 1 comments

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

gka avatar Dec 19 '17 12:12 gka

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).

g-div avatar Dec 19 '17 16:12 g-div