set-auth-jwt header not always set

Hi, When trying to implement the jwt token in sveltekit/hono combo, the set-auth-jwt is not always sent with the session as you can see in the following screenshots from the auth/get-session endpoint. Is it something expected from better-auth or an issue on hono side ? note: even custom-headers set in hono middleware seem to be striped from auth endpoint
No description
No description
1 Reply
Tempo
TempoOP2d ago
It seem it has to do with cookieCache beeing true

Did you find this page helpful?