Webapp behind Cloudflare Access cant access Cookies

Hello I have a Webapp which is behind Access. I want to validate the CF_Authorization Cookie but when i try to get document.cookie i only get an empty string. On the same page when i open the DevTools and go to Application > Cookies > DOMAIN.TLD > I see the cookies with the current domain.

Do i have to enable anything to get this working?
Was this page helpful?