ember-fastboot / ember-cli-fastboot

Server-side rendering for Ember.js apps
http://ember-fastboot.com/
MIT License
852 stars 160 forks source link

Is there a way to handle cookies on the fastboot app server #910

Open st-h opened 1 year ago

st-h commented 1 year ago

I am wondering if there is any recommendation, or possibly something already built in, that would allow to handle cookies, similar to what a web browser does.

Use case:

I am currently working around that by manually storing the cookie data in the ember adapter after extracting it from the response. Then in the headers() function of my application adapter, I return the cookie header when in fastboot mode, so that subsequent requests will contain that cookie information. However, I was wondering if there is be a better way to accomplish this.