j_slno
BABetter Auth
•Created by bpurdyiv on 3/21/2025 in #help
Custom Admin Role - Admin Plugin
The role is missing the required permission for the requested endpoint. Add
user: ["list"]
to your custom role statements.7 replies
BABetter Auth
•Created by yasserconnect on 3/4/2025 in #bug-reports
Admin plugin
make sure to upgrade to latest version
7 replies
BABetter Auth
•Created by yasserconnect on 3/4/2025 in #bug-reports
Admin plugin
whats the error? Unauthorized?
7 replies
BABetter Auth
•Created by anw on 3/2/2025 in #help
getting clientlayout to work
better-auth
doenst provide a BetterAuthProvider
7 replies
BABetter Auth
•Created by k5o5 on 2/26/2025 in #help
Trying to get up and running with an Express app, but running into an error when `npm run start`
lib
should be inside compilerOptions
also make sure to set declarations
to false19 replies
BABetter Auth
•Created by k5o5 on 2/26/2025 in #help
Trying to get up and running with an Express app, but running into an error when `npm run start`
Have you tried to delete
node_modules
and your lock file and reinstall again?19 replies
BABetter Auth
•Created by Kaylee on 2/26/2025 in #help
Creating an org at user creation best practices
You really should use database hooks like already advised. Querying the database every time a session is created causes a lot of unnecessary overload. The user is created before the session so
user.create.after
should most definitely finish before session.create.before
.8 replies
BABetter Auth
•Created by k5o5 on 2/26/2025 in #help
Trying to get up and running with an Express app, but running into an error when `npm run start`
19 replies
BABetter Auth
•Created by k5o5 on 2/26/2025 in #help
Trying to get up and running with an Express app, but running into an error when `npm run start`
"Note that CommonJS (cjs) isn't supported. Use ECMAScript Modules (ESM) by setting "type": "module" in your package.json or configuring your tsconfig.json to use ES modules."
You cant use commonjs.
19 replies
BABetter Auth
•Created by k5o5 on 2/26/2025 in #help
Trying to get up and running with an Express app, but running into an error when `npm run start`
19 replies
BABetter Auth
•Created by k5o5 on 2/26/2025 in #help
Trying to get up and running with an Express app, but running into an error when `npm run start`
can you try to exclude node_modules
19 replies
BABetter Auth
•Created by k5o5 on 2/26/2025 in #help
Trying to get up and running with an Express app, but running into an error when `npm run start`
try to set
declarations
to false and strict
to true in your tsconfig19 replies
BABetter Auth
•Created by TheGuy on 2/26/2025 in #help
How to return custom session with modified DB fields
You can assign it manually though, or in your case you could write a function that converts the keys from camel to snake case.
5 replies
BABetter Auth
•Created by TheGuy on 2/26/2025 in #help
How to return custom session with modified DB fields
its just changing the column names in the database, not the variable names.
5 replies
BABetter Auth
•Created by chris on 1/22/2025 in #help
how to have protected social login (whitelisted emails)
14 replies