hyper63 / hyper63/tutorial-sveltekit-authentication

callback.js req.locals.user

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
29
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Hello, you have a req.locals.user assignment within the `callback.js` endpoint, that you state on the website it will modify the request object to be read by the handle function in the `hooks.js`.

Are you sure this is supposed to work like that? Doesn't the request get wiped out after the redirect? Just trying to make sure I'm not missing anything, thank you for putting this together,

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.