You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unsure how to fix this error when accessing data in load function/page endpoint.
The docs say:
The access token should be send as a bearer token in the authorization header. Lucia does not rely on http-only cookies to verify the user in endpoints to prevent CSRF attacks.
How would this work with the a page endpoint that calls e.g.
Thank you for the fast reply!
Maybe I didn't explain it well enough, I'm not talking about using fetch for an endpoint but using a page-endpoint. As this is called directly on navigation, I'm not sure we can set auth headers here
Hi,
I'm unsure how to fix this error when accessing data in load function/page endpoint.
The docs say:
How would this work with the a page endpoint that calls e.g.
Thanks for your help!
The text was updated successfully, but these errors were encountered: