diff --git a/.env.example b/.env.example index d0f31fd3..db47b9df 100644 --- a/.env.example +++ b/.env.example @@ -5,7 +5,7 @@ NODE_ENV=production # Configuration IDNOT IDNOT_ANNUARY_BASE_URL=https://qual-api.notaires.fr/annuaire # IDNOT_REDIRECT_URI=http://local.4nkweb.com:3004/authorized-client -IDNOT_REDIRECT_URI=http://local.lecoffreio.4nkweb.com:3000/authorized-client +IDNOT_REDIRECT_URI=http://local.4nkweb.com:3000/authorized-client IDNOT_TOKEN_URL=https://qual-connexion.idnot.fr/user/IdPOAuth2/token/idnot_idp_v1 IDNOT_API_BASE_URL=https://qual-api.notaires.fr/annuaire @@ -33,7 +33,7 @@ NEXT_PUBLIC_BACK_API_VERSION=v1 NEXT_PUBLIC_ANK_BASE_REDIRECT_URI=https://dev4.4nkweb.com/lecoffre/authorized-client NEXT_PUBLIC_TARGET_ORIGIN=https://dev4.4nkweb.com/lecoffre NEXT_PUBLIC_4NK_IFRAME_URL=https://dev4.4nkweb.com -NEXT_PUBLIC_IDNOT_REDIRECT_URI=http://local.lecoffreio.4nkweb.com:3000/authorized-client +NEXT_PUBLIC_IDNOT_REDIRECT_URI=http://local.4nkweb.com:3000/authorized-client NEXT_PUBLIC_DOCAPOSTE_API_URL= NEXT_PUBLIC_API_URL=https://dev4.4nkweb.com/back diff --git a/src/front/Components/Layouts/LoginCallback/index.tsx b/src/front/Components/Layouts/LoginCallback/index.tsx index ef63cb9e..397e7adb 100644 --- a/src/front/Components/Layouts/LoginCallback/index.tsx +++ b/src/front/Components/Layouts/LoginCallback/index.tsx @@ -66,7 +66,7 @@ export default function LoginCallBack() { UserStore.instance.disconnect(); // TODO: review - // HACK: If start with http://local.lecoffreio.4nkweb:3000/authorized-client + // HACK: If start with http://local.4nkweb.com:3000/authorized-client // Replace with http://localhost:3000/authorized-client // if (window.location.href.startsWith('http://local.4nkweb.com')) { // return;