From 7599f2384e7cf0c0cdcb8b5e710c9a24aa660074 Mon Sep 17 00:00:00 2001 From: Choongkyu Kim Date: Sat, 18 Jun 2022 10:47:38 -0700 Subject: [PATCH] Add NEXTAUTH_URL to app.json to address heroku deploy failure (#3091) --- app.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app.json b/app.json index 75190ec814..3f91f1b1a3 100644 --- a/app.json +++ b/app.json @@ -18,7 +18,11 @@ "description": "Application Key for symmetric encryption and decryption. Must be 32 bytes for AES256 encryption algorithm.", "value": "secret" }, - "NEXTAUTH_SECRET": "secret" + "NEXTAUTH_SECRET": "secret", + "NEXTAUTH_URL": { + "description": "Replace HEROKU_APP_NAME with the name given to your app", + "value": "https://HEROKU_APP_NAME.herokuapp.com" + } }, "scripts": { "postdeploy": "cd packages/prisma && npx prisma migrate deploy"