0👍
You can’t access HttpOnly tokens from JavaScript, that is the purpose of that attribute.
A better approach is to not handle tokens at all in the browser and instead use the BFF-pattern (Backends for Frontends) as described in this video:
Source:stackexchange.com