Skip to content
Back

[SOLVED] 1.5 Nextjs SSR Auth issue

  • 0
  • Self Hosted
  • Auth
  • Web
Badeck
11 Mar, 2024, 16:12

Hello 😃

I am currently trying to follow the nextjs ssr auth tutorial. source: "https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-5"

But i get the following error:

Any help would be appreciated.

Thanks :appwriteheart:

TL;DR
Developers shared that the issue was due to not setting up the .env file correctly. Double-check this setup. The error likely stems from copying code incorrectly. Make sure to past exactly as instructed in the tutorial. No need to await on `createAdminClient()`.
Ryan
11 Mar, 2024, 16:14

I don't believe you need to await on createAdminClient()

Ryan
11 Mar, 2024, 16:15

Did you copy the code for createAdminClient() exactly from the tutorial?

Badeck
11 Mar, 2024, 16:17

yes it is exactly what i did. Copy & Paste 🙂

Badeck
11 Mar, 2024, 16:49

OK MY BAD ! I did not set up .env file correctly.

Badeck
11 Mar, 2024, 16:49

SOLVED

Badeck
11 Mar, 2024, 16:50

[SOLVED] 1.5 Nextjs SSR Auth issue

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more