Hi, I have next.js with zero trust + workers as API How i can access current signed user's email in

Hi, I have next.js with zero trust + workers as API

How i can access current signed user's email in next.js and worker?

My current hint is to decode frontend cookie in worker and hopefuly will get that email and send it back to frontend in response? Some endpoint like GET /user thats is requested on initila page load
Was this page helpful?