From 056e448036bbd5254bd5921fd62b76d08f0c261c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Br=C3=A5then=20Nomerstad?= Date: Wed, 10 May 2023 12:58:55 +0200 Subject: [PATCH] =?UTF-8?q?Reverterer=20login=20url=20for=20arbeidsgiver,?= =?UTF-8?q?=20ettersom=20minside=20arbgiver=20n=C3=A5=20igjen=20er=20white?= =?UTF-8?q?listet=20av=20loginservice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/login.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/login.ts b/src/utils/login.ts index 75a9494a7..280fa33d9 100644 --- a/src/utils/login.ts +++ b/src/utils/login.ts @@ -21,8 +21,7 @@ const getRedirectUrl = (environment: Environment, arbeidsflate: MenuValue) => { } if (arbeidsflate === MenuValue.ARBEIDSGIVER) { - // Temp fix ettersom minside arbeidsgiver har blitt fjernet fra whitelist i loginservice - return "https://arbeidsgiver.nav.no/ditt-nav-arbeidsgiver"; + return MINSIDE_ARBEIDSGIVER_URL; } return MIN_SIDE_URL;