Redirect error/error_id/4 to SSO Login page and then redirect back to Same answer/article page
Current Scenario : If any article which is protected, it is going to "error/erro_id/4" page. (Permission Denied).
Requirement : What we want is to instead going to error page, redirect it to login (SSO) page and after successful login, redirect to the same article page.
Even putting redirect condition on error page, it is always redirecting to "app/home" page, not to that article. We checked the response coming from SSO, and it has "p_next_page" parameter in response URL.
Can you help me figuring the issue.
This is related to CP for KA enabled project.