<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
0D51Y00009vyVhDSAUOkta Classic EngineSingle Sign-OnAnswered2020-11-20T09:22:35.000Z2020-11-19T11:19:39.000Z2020-11-20T09:22:35.000Z

WayneD.65055 (Customer) asked a question.

Accessing requestContext from a custom error page

Hello,

 

It's easy to access the requestContext in a custom Sign In page: just a call to `OktaUtil.getRequestContext()`.

 

The documentation for custom error pages omits reference to `OktaUtil`, and when I try to embed it using the same syntax as described in the Sign In page documentation (`{{{OktaUtil}}}`) nothing is embedded in the rendered HTML.

 

Is there a way for me to access the additional context of the error in custom Javascript?


This question is closed.
Loading
Accessing requestContext from a custom error page