Extend "params" passed to prerender boot function to include incoming request's cookies #1566

Closed
opened 2025-08-09 17:20:38 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @SteveSandersonMS on 6/14/2016

This will make it possible to prepare your SPA framework's HTTP APIs in some way so they pass through those cookies in selected outgoing requests.

At some point we might put this cookie passthrough in the Angular2Spa/ReactReduxSpa templates. But for security, it's important to only pass through the cookies to outgoing HTTP requests to the same origin as the current incoming HTTP request from the client.

*Originally created by @SteveSandersonMS on 6/14/2016* This will make it possible to prepare your SPA framework's HTTP APIs in some way so they pass through those cookies in selected outgoing requests. At some point we might put this cookie passthrough in the Angular2Spa/ReactReduxSpa templates. But for security, it's important to only pass through the cookies to outgoing HTTP requests to the same origin as the current incoming HTTP request from the client.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1566
No description provided.