<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00008QlLFASA3Okta Classic EngineSingle Sign-OnAnswered2020-05-15T19:07:53.000Z2020-05-06T06:56:28.000Z2020-05-15T19:07:53.000Z

NirmalaS.28062 (Customer) asked a question.

Proxy and cookies - access token does not seem to work

We have a singe-page application hosted on web server, REST APIs are hosted on app server (no internet). For API calls from browser, we have setup reverse proxy on the web server. ; also setup ARR-Forward proxy on web server, to make outbound calls to Okta (to generate access token) from App server. The token that gets generated is used to protect our endpoints; but we are running into an issue that invalidates the access token. It looks like there is some issue related to cookies that Okta generates. For some reason, API endpoint call from browser does not read cookie information, and hence the call fails. (HttpContext.User.IsAuthenticated = false). Could you please guide. I am reading several articles, that say Proxy and Cookies do not go along, and to make it work, we could use outbound rule on URL Rewrite on Reverse Proxy. That does not seem to work either for me. Could someone help me know if it is known issue.

 


  • User157307950347129679 (Vendor Management)

    Hello, Nirmala. Based on the description you provided, it might need some help from our developers. For that please send an email at Okta Developer Support (developers@okta.com) and one of our engineers will assist you on this matter.

This question is closed.
Loading
Proxy and cookies - access token does not seem to work