Skip to content

Commit

Permalink
Test prod id_token
Browse files Browse the repository at this point in the history
  • Loading branch information
timvanoostrom committed Nov 6, 2023
1 parent dfd164f commit f3b2042
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/server/router-oidc.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as Sentry from '@sentry/node';
import express, { Request, Response } from 'express';
import { attemptSilentLogin, auth } from 'express-openid-connect';
import { FeatureToggle } from '../universal/config';
import { FeatureToggle, IS_PRODUCTION } from '../universal/config';
import { apiSuccessResult } from '../universal/helpers';
import {
AUTH_CALLBACK,
Expand Down Expand Up @@ -281,8 +281,8 @@ function logout(postLogoutRedirectUrl: string) {
res.oidc.logout({
returnTo: postLogoutRedirectUrl,
logoutParams: {
id_token_hint: null,
logout_hint: auth.profile.sid,
id_token_hint: auth.token,
logout_hint: null,
},
});
};
Expand Down

0 comments on commit f3b2042

Please sign in to comment.