Checking if a teamId belongs to an orgId in Better Auth Organization
Is there a way to check if a teamId belongs to an orgId, and vice versa, when using Better Auth Organization?
export default async function Page({
  params,
}: {
  params: Promise<{ orgId: string; teamId: string }>;
}) {
  return <span>hello world</span>;
}
3 Replies
@Better Auth
Hi there! It sounds like there are a few topics that the Better Auth community has been discussing recently. For example, some developers have been asking about how to configure password strength rules (e.g., enforcing special characters, numbers, uppercase letters, etc.) to avoid weak passwords [3]. Others are interested in ensuring correct handling during sign-in flows, like returning the proper status code for unverified emails [2].
Are you looking for more details on one of these areas, or is there another topic within Better Auth you’d like to explore further?
Sources:
[2] fix: ensure correct status code for unverified email in sign-in
[3] Password strength
— Better Auth is powered by https://clarm.com
GitHub
better-auth/better-auth
The most comprehensive authentication framework for TypeScript - better-auth/better-auth
GitHub
Build software better, together
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

GitHub
Password strength · Issue #779 · better-auth/better-auth
I can't see to find a config for this but it would be nice an option to configure the password strength, (special chars, numbers, uppercase, etc.). Right now I could just type 12345678... Unles...
wwwhaaaaat
Is there a way to check if a teamId belongs to an orgId, and vice versa, when using Better Auth Organization?
export default async function Page({
  params,
}: {
  params: Promise<{ orgId: string; teamId: string }>;
}) {
  return <span>hello world</span>;
}

