Skip to content

docs: fix better-auth tutorial#576

Open
typed-sigterm wants to merge 1 commit intoelysiajs:mainfrom
typed-sigterm:patch-1
Open

docs: fix better-auth tutorial#576
typed-sigterm wants to merge 1 commit intoelysiajs:mainfrom
typed-sigterm:patch-1

Conversation

@typed-sigterm
Copy link

The original usage is incorrect.

If we pass the prefix to .mount, paths like /auth/sign-in/social would throw 404.

@gokaybiz
Copy link

It looks like you stripped out the sample snippet part completely? I mean if we shouldn't use mount chain then what should we prefer?

@typed-sigterm
Copy link
Author

I mean to use .mount as in the previous section (only pass 1 parameter) and set the prefix in better-auth.

Copy link

@SaviruFr SaviruFr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants