-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Getting Started in Sveltekit is Not working #12719
Comments
https://github.com/nextauthjs/next-auth/releases/tag/%40auth%2Fsveltekit%401.8.0 probably introduced breaking changes (or bug). I tried to upgrade on my base code but auth didn't worked as before. |
This might be the reason for the breaking changes/bug: The endpoint that signin and signout call was changed, but the actual endpoint they need to call didn't change which broke things. |
This is 100% spot on. I believe what they were attempting to do was bring in the baseURL config parameter. But instead brought in the base from |
I would imagine the base paths should be configurable with basePath and not the base path of the entire sveltekit application. |
Chiming in as another affected person. Pinning to version 1.7.1 has allowed me to keep working, but I'm subscribing to get updates if/when this is resolved. If anyone has any workarounds to use 1.8, please share specifics. |
Same for me. Pinned to 1.7.4 to keep working. Using the client API. |
I am pretty sure I can make the change. Give me a bit to get involved. |
rolling back to |
What is the improvement or update you wish to see?
Hello, Yesterday i wanted to Work with the Sveltekit AuthJS lib but it Just wouldnt Work. I First used the https://authjs.dev/getting-started/authentication/credentials?framework=sveltekit guide but later i figured Out there is a Guide wich Looks better and i think that also works https://authjs.dev/reference/sveltekit
Is there any context that might help us understand?
I only wrote one of the Pages but i think all the Sveltekit docs schould be updated
Does the docs page already exist? Please link to it.
https://authjs.dev/getting-started/authentication/credentials?framework=sveltekit
The text was updated successfully, but these errors were encountered: