diff --git a/.changeset/cli-named-default-auto-detect.md b/.changeset/cli-named-default-auto-detect.md new file mode 100644 index 0000000000..0c533d5d64 --- /dev/null +++ b/.changeset/cli-named-default-auto-detect.md @@ -0,0 +1,5 @@ +--- +"auth": minor +--- + +The CLI now auto-detects auth configs that export the same instance as both a named export and the default export (e.g. `export const auth = betterAuth(...); export default auth;`). Previously such configs failed when no explicit `--config` path was passed.