From 96976aa0accb428d0b247b350d4f458f45222886 Mon Sep 17 00:00:00 2001 From: Fabian Date: Thu, 18 Jan 2024 14:17:57 +0100 Subject: [PATCH] update auth-service --- services/auth-service/index.js | 3 +-- services/auth-service/version.txt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/services/auth-service/index.js b/services/auth-service/index.js index 341227d..196099b 100644 --- a/services/auth-service/index.js +++ b/services/auth-service/index.js @@ -4,7 +4,6 @@ import cookieParser from 'cookie-parser'; import pkceChallenge from 'pkce-challenge'; import verify from 'jsonwebtoken'; import jwksClient from 'jwks-rsa'; -import * as path from 'path'; // Add environment variables import * as dotenv from "dotenv"; @@ -65,7 +64,7 @@ const client = new FusionAuthClient('noapikeyneeded', internalFusionAuthURL); app.use(cookieParser()); /** Decode Form URL Encoded data */ -app.use(express.urlencoded()); +app.use(express.urlencoded({ extended: true })); app.get('/login', async (req, res, next) => { const tenant = `${req.query?.tenant}`; diff --git a/services/auth-service/version.txt b/services/auth-service/version.txt index 6a2b0ac..b482243 100644 --- a/services/auth-service/version.txt +++ b/services/auth-service/version.txt @@ -1 +1 @@ -v1.0.1 \ No newline at end of file +v1.0.2 \ No newline at end of file