From 99cbd5b87f15cc0d64e9a89d718ab9d789ecb958 Mon Sep 17 00:00:00 2001 From: Mandar Patil Date: Wed, 21 Jul 2021 17:48:24 -0700 Subject: [PATCH 1/2] Fixed typo and error when using Auth0 service; `Allowed Web Origin` on Auth0 is now required to be set to `http://localhost:3000` --- examples/blog-with-comment/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/blog-with-comment/README.md b/examples/blog-with-comment/README.md index 0dca2a32b0b5f..f896f2654c9d9 100644 --- a/examples/blog-with-comment/README.md +++ b/examples/blog-with-comment/README.md @@ -46,13 +46,15 @@ Go to the [Upstash Console](https://console.upstash.com/) and create a new datab to `https://myapp.com/` when deploying your application. - **Allowed Logout URLs**: Should be set to `http://localhost:3000/` when testing locally or typically to `https://myapp.com/` when deploying your application. + - **Allowed Web Origins**: Should be set to `http://localhost:3000` when testing locally or typically + to `https://myapp.com/` when deploying your application. 4. Save the settings. #### Auth0 environment - `NEXT_PUBLIC_AUTH0_DOMAIN`: Can be found in the Auth0 dashboard under `settings`. - `NEXT_PUBLIC_AUTH0_CLIENT_ID`: Can be found in the Auth0 dashboard under `settings`. -- `NEXT_PUBLIC_AUTH0_ADMIN_EMAIL`: This is the email of the admin user which you use while singing in Auth0. Admin is able to delete any comment. +- `NEXT_PUBLIC_AUTH0_ADMIN_EMAIL`: This is the email of the admin user which you use while signing in Auth0. Admin is able to delete any comment. ## Deploy Your Local Project From 6b5251ac24a0569e462eab07e2d0fd4422d7e6a1 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Wed, 21 Jul 2021 22:15:19 -0500 Subject: [PATCH 2/2] lint-fix --- examples/blog-with-comment/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/blog-with-comment/README.md b/examples/blog-with-comment/README.md index f896f2654c9d9..3854144b5958a 100644 --- a/examples/blog-with-comment/README.md +++ b/examples/blog-with-comment/README.md @@ -46,7 +46,7 @@ Go to the [Upstash Console](https://console.upstash.com/) and create a new datab to `https://myapp.com/` when deploying your application. - **Allowed Logout URLs**: Should be set to `http://localhost:3000/` when testing locally or typically to `https://myapp.com/` when deploying your application. - - **Allowed Web Origins**: Should be set to `http://localhost:3000` when testing locally or typically + - **Allowed Web Origins**: Should be set to `http://localhost:3000` when testing locally or typically to `https://myapp.com/` when deploying your application. 4. Save the settings.