From 0f0618698911390b397f2164f66124923a5712cc Mon Sep 17 00:00:00 2001 From: Aswin V Date: Thu, 24 Feb 2022 13:34:55 +0530 Subject: [PATCH] Append domain before send --- pages/saml/login.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/saml/login.tsx b/pages/saml/login.tsx index f8a53f8..9f83a28 100644 --- a/pages/saml/login.tsx +++ b/pages/saml/login.tsx @@ -28,7 +28,7 @@ export default function Login() { headers: { 'Content-Type': 'application/json', }, - body: JSON.stringify({ email, id, audience, acsUrl, providerName, relayState }), + body: JSON.stringify({ email: `${email}@example.com`, id, audience, acsUrl, providerName, relayState }), }); if (response.ok) { const newHtml = await response.text();