Pass headers or cookies to my SSO API

I open Rocket Chat in iframe and i am using iframe auth.
The documentation says I can use /sso API to validate user session (via cookies, headers, etc). But when rocket chat calls my /sso REST API I don’t get any extra cookies or headers.
It it possible to pass my own headers/cookies to /sso in iframe auth?