Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sveltekit) - client functions not working in latest patch #12751

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jaysin586
Copy link

@jaysin586 jaysin586 commented Mar 9, 2025

☕️ Reasoning

The latest sveltekit changes broke the logging in and out of users when developers attempt to use the client functions.

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

For tests, I did not know what tooling I could add to update the test cases. I was thinking of using testing-framework jsdom but since they were not in the list of approved packages I did not add any. If there is a link to tools that we can use I will work them into the process.

I am also open to changing it if there is a way to get the baseURL from the server config to the front end. I do not believe this should be hard coded to /auth and should allow the user to change it if necessary. If there is a way we would like to see this implemented I will make any changes required.

🎫 Affected issues

Fixes: #12719

📌 Resources

@jaysin586 jaysin586 requested a review from ThangHuuVu as a code owner March 9, 2025 12:46
Copy link

vercel bot commented Mar 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 9, 2025 0:54am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Mar 9, 2025 0:54am

Copy link

vercel bot commented Mar 9, 2025

@jaysin586 is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

@adminy
Copy link

adminy commented Mar 19, 2025

@ThangHuuVu can this be merged to fix sveltekit being broken in the latest version? Thank you.

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

Successfully merging this pull request may close these issues.

Getting Started in Sveltekit is Not working
2 participants