You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NEXT_PUBLIC_API_URL=http://localhost:3000 # Optional - defaults to localhost:3000 in dev
12
16
```
13
17
14
18
### AUTH_SECRET
@@ -17,8 +21,14 @@ Generate a random secret for Auth.js:
17
21
npx auth secret
18
22
```
19
23
20
-
### API_SECRET_TOKEN
21
-
This should match the API token configured in your backend for accessing the OTP endpoints.
24
+
### NEXT_PUBLIC_API_SECRET_TOKEN
25
+
This should match the API token configured in your backend for accessing the OTP endpoints. Uses `NEXT_PUBLIC_` prefix to make it available in client-side code.
26
+
27
+
### NEXT_PUBLIC_API_URL (Optional)
28
+
Override the default API URL. If not set, it will auto-detect based on environment:
0 commit comments