Microservice Token Authentication and User Information Propagation Scheme

Design Approach Upon successful login, generate a token using the userId and have the frontend store it. When subsequent requests reach the gateway, create a filter to parse userId from the token and inject it into the request headers. Once the request arrives at the target service, create an interceptor to extract userId from the headers, fet ...

Posted on Thu, 07 May 2026 05:44:52 +0000 by edwinlcy

JWT Security: A WebGoat Challenge Walkthrough

Cookie (Stored in Browser) A cookie is a specific piece of data that is permanently stored in the browser. It is merely a data storage functionality implemented by browsers. Cookies are generated by the server, sent to the browser, and saved as key-value pairs in a text file within a directory on the client. On subsequent requests to the same w ...

Posted on Thu, 07 May 2026 05:24:52 +0000 by marcela1637