I have several pages in my addon, “home” page works pretty well:
it loads first, having Jira context and i have no troubles with recognizing the user and making rest api requests for him. But when i load new page in frame (target="_self") it looses Jira context, any request made from that page has zero Jira parameters and my server can’t recognize a user.
I checked another addons in marketplace and they also load pages in frame just via url, and they don’t loose context. What i’m doing wrong?
UPD. I steel can get JWT token using js API, but what i should to to have all requests made from second page to have at least jwt token in parameters?