chore(env): mise à jour .env.example + ajustements LoginCallback
Some checks failed
build-and-push-ext / build_push (push) Has been cancelled

This commit is contained in:
Debian Dev4 2025-09-17 11:46:05 +00:00
parent 3dd2b55417
commit 1a76bf0525
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;