Authorize WebApi - Server PreRendering #1081

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

Originally created by @NicolasHumann on 1/27/2017

Hi,

My web apis are protected by OAuth and use the Authorize attribute.
When I call my webapi in the constructor or in ngOnInit, Any credentials are passed in the request made by node in the rendering process.

How can I pass the token from the browser cookies to node ?

PS: I use the template ASP.NET Core Template Pack extension with angular2 / ts / webpack

Thanks !

*Originally created by @NicolasHumann on 1/27/2017* Hi, My web apis are protected by OAuth and use the Authorize attribute. When I call my webapi in the constructor or in ngOnInit, Any credentials are passed in the request made by node in the rendering process. How can I pass the token from the browser cookies to node ? PS: I use the template ASP.NET Core Template Pack extension with angular2 / ts / webpack Thanks !
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1081
No description provided.