Skip to content

Commit

Permalink
fix ts for test
Browse files Browse the repository at this point in the history
  • Loading branch information
achorein committed Nov 12, 2024
1 parent a6163d1 commit 860e4a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/src/controllers/young/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,7 @@ router.post("/france-connect/user-info", async (req: UserRequest, res) => {

const redisClient = getRedisClient();
storedState = await redisClient.get(`franceConnectState:${value.state}`);
// @ts-ignore
storedNonce = await redisClient.get(`franceConnectNonce:${decodedToken.nonce}`);

if (!token["access_token"] || !token["id_token"] || !storedNonce || !storedState) {
Expand Down

0 comments on commit 860e4a4

Please sign in to comment.