feat: set NEXTAUTH_URL based on DEPLOY_PRIME_URL on Netlify

This commit is contained in:
Michael Zetterberg
2024-04-22 17:50:54 +02:00
parent 285f8bdcfa
commit e2252c01cf
5 changed files with 24 additions and 7 deletions

View File

@@ -12,10 +12,11 @@ CURITY_CLIENT_ID_USER=""
CURITY_CLIENT_SECRET_USER=""
CURITY_ISSUER_USER="https://testlogin.scandichotels.com"
CYPRESS_BASE_URL="http://localhost:3000"
# See next.config.js for info
DEPLOY_PRIME_URL="http://localhost:3000"
DESIGN_SYSTEM_ACCESS_TOKEN=""
NEXTAUTH_REDIRECT_PROXY_URL="http://localhost:3000/api/web/auth"
NEXTAUTH_SECRET=""
NEXTAUTH_URL="http://localhost:3000/"
REVALIDATE_SECRET=""
SEAMLESS_LOGIN_DA="http://www.example.dk/updatelogin"
SEAMLESS_LOGIN_DE="http://www.example.de/updatelogin"