How to setup httpOnly cookie for auth?

There you go impl details How to pass JWT token from Header Set-Cookie to Headers Authorization: Bearer token