# Unable to read okta headers in my JSP page

**URL:** <https://devforum.okta.com/t/unable-to-read-okta-headers-in-my-jsp-page/185>\
**Category:** Questions\
**Created:** [June 25, 2017, 5:40am UTC](https://devforum.okta.com/t/unable-to-read-okta-headers-in-my-jsp-page/185 "2017-06-25T05:40:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmulakalapalle](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@dmulakalapalle](https://devforum.okta.com/u/dmulakalapalle)\
**Post date:** [June 25, 2017, 5:40am UTC](https://devforum.okta.com/t/unable-to-read-okta-headers-in-my-jsp-page/185/1 "2017-06-25T05:40:14Z")

</div>

Hello

I have a web app registered in OKTA as SSWA app… As soon as I click icon, web page is redirected to my jsp page.  
OKTA and my JSP application are in different domains. I have written a jsp to read all incoming headers. But I am unable to read any headers that are set by OKTA

Is there a way where I can read headers or cookie information that was set by OKTA in my JSP page. Please let me know.

thanks

David

---

<div class="post-metadata">

**Author:** ![tom](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/tom/32/24_2.png) [@tom](https://devforum.okta.com/u/tom)\
**Post date:** [June 28, 2017, 2:49pm UTC](https://devforum.okta.com/t/unable-to-read-okta-headers-in-my-jsp-page/185/2 "2017-06-28T14:49:56Z")

</div>

What information do you need from Okta or are you expecting in the header? What are you doing with this information?

By ‘icon’, do you mean when the end-user clicks your application on their dashboard?

Usually headers are going to be set by the client, redirects on different domains (doing a GET or 302 to an application) won’t have cookies/headers set by Okta.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [January 12, 2024, 7:04pm UTC](https://devforum.okta.com/t/unable-to-read-okta-headers-in-my-jsp-page/185/3 "2024-01-12T19:04:05Z")

</div>


