shadow
shadow
Explore posts from servers
BABetter Auth
Created by shadow on 2/27/2025 in #help
Error generating schemas.
Here is my file structure:
.
├── app
│ ├── api
│ │ └── auth
│ │ └── [...all]
│ │ └── route.ts
│ ├── favicon.ico
│ ├── globals.css
│ ├── layout.tsx
│ └── page.tsx
├── components.json
├── eslint.config.mjs
├── lib
│ ├── auth-client.ts
│ ├── auth.ts
│ └── utils.ts
├── middleware.ts
├── next.config.ts
├── package-lock.json
├── package.json
├── postcss.config.mjs
├── public
│ ├── file.svg
│ ├── globe.svg
│ ├── next.svg
│ ├── vercel.svg
│ └── window.svg
├── tailwind.config.ts
└── tsconfig.json
.
├── app
│ ├── api
│ │ └── auth
│ │ └── [...all]
│ │ └── route.ts
│ ├── favicon.ico
│ ├── globals.css
│ ├── layout.tsx
│ └── page.tsx
├── components.json
├── eslint.config.mjs
├── lib
│ ├── auth-client.ts
│ ├── auth.ts
│ └── utils.ts
├── middleware.ts
├── next.config.ts
├── package-lock.json
├── package.json
├── postcss.config.mjs
├── public
│ ├── file.svg
│ ├── globe.svg
│ ├── next.svg
│ ├── vercel.svg
│ └── window.svg
├── tailwind.config.ts
└── tsconfig.json
(This is a fresh NextJS project where i made it until step 4 in https://www.better-auth.com/docs/installation#configure-database, including step 4)
5 replies
BABetter Auth
Created by shadow on 1/15/2025 in #help
Added additional field, but authClient.signUp.email doesnt accept it
why i am getting this error when isFirst is true? am i correctly using the admin plugin?
{
code: "UNAUTHORIZED",
status: 401,
statusText: "UNAUTHORIZED"
}
{
code: "UNAUTHORIZED",
status: 401,
statusText: "UNAUTHORIZED"
}
4 replies