Skip to content

Commit

Permalink
fix. fjernet innlogget part fra cookies til context holder
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikv committed Aug 8, 2024
1 parent 376b0a3 commit ce46dba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/src/proxy/decorator-intern-proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ const setup = (app: Express) => {
async (req, _, next) => {
const accessToken = await requestOboToken(process.env.MODIACONTEXTHOLDER_API_SCOPE, req);
req.headers.authorization = `Bearer ${accessToken}`;
req.headers.cookie = 'innlogget-part=VEILEDER; ' + req.headers.cookie;
next();
},
createProxyMiddleware({
Expand Down

0 comments on commit ce46dba

Please sign in to comment.