Closed HalfdanJ closed 2 years ago
endpoints also need updating
looks like this commit from @landongn carries all the required fixes. can't wait for it to be merged. https://github.com/landongn/sk-auth/commit/dfcd60768a938717eb33aec2d034d919e52e70cd
An update has been made to sveltekit (not 100% sure which version it came with) that breaks the library. This is the breaking PR: https://github.com/sveltejs/kit/pull/3384
The error message is
event.headers has been replaced by event.request.headers. See https://github.com/sveltejs/kit/pull/3384 for details
pointing to this chunk of code:I believe that instead of
{ headers }
it should be{ request }
, and thenrequest.headers
.I tried modifying the library to make a PR, but having issues building the library in a way that the app will accept it.