Redirect to custom access denied page

Hello Okta Team,

This query is regarding one of our React.JS based application for which we want to implement following functionality:

In case user is unauthorized, redirect to custom access denied page instead of default OKTA access denied page.

We have checked with our internal OKTA team but they told us that it will be done at tenant level and therefore will be changed for all the applications installed in OKTA.

Could you please let me know if there is a way to implement this functionality for a specific application under OKTA without affecting all other applciations.

Thanks in advance.

Regards,
Bharat