Closed leovoon closed 2 years ago
@leovoon is signout working against these new changes? I'm using the main branch of sk-auth and seeing HTTP 405 on POST http://localhost:3000/api/auth/signout
and an accompanying error:
Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
I'll have to take a deeper look myself.
@leovoon is signout working against these new changes? I'm using the main branch of sk-auth and seeing HTTP 405 on
POST http://localhost:3000/api/auth/signout
and an accompanying error:
Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
I'll have to take a deeper look myself.
I have no issues with it. As the PR has been merged, I might as well close this issue. You may open one of your own.
I had aliased get
and post
imports from SvelteKitAuth
due to changes in SvelteKit which were addressed with the merge. 🥂 thanks for that fix.
Recent sveltekit updates break endpoints https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md