Skip to content
Back

Session Secret not generating

  • 0
  • Web
darkxnarutoop
18 Aug, 2025, 18:13

Hello, im trying to use otp verification in my next js project but appwrite server is sending empty secret. i am attaching code where the error is occuring and some error msg screenshot. it is creating a session but secret is empty due to which it is failing. please help

TL;DR
Developers are struggling with generating a session secret in their Next.js project while using OTP verification with Appwrite server. They suspect the issue might be related to an empty secret being sent. One suggestion is to double-check if a valid API key is being used and ensure it is not exposed on the client side.
D5
18 Aug, 2025, 18:37

Are you sure that you're using a valid API key? Make sure it's not exposed to the client side...

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