Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Last activity: 6 Jul 2016 9:50 EDT
Urgent: How to redirect Dev1 to Dev2 with cookies in Authentication activity
Hi,
Case
- We have 4 different applications on separate system Dev1, Dev2, Dev3 and Dev4.
- User Login application using SSO and default system is Dev1.
- Based on cookies, if we identify that user have to login to Dev2, we have to redirect along with cookies
Query: How to redirect Dev1 to Dev2 with cookies in Authentication activity?
Thanks & Regards
U Rajasekhar
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689951000/6edb6beb-cf8e-431c-9679-ef67ce5f3aba.jpg?itok=hzTHfrBw)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689951000/6edb6beb-cf8e-431c-9679-ef67ce5f3aba.jpg?itok=hzTHfrBw)
Pegasystems Inc.
US
there is a similar question here: How to implement redirection?
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Hi Kevin,
Are you talking about beow coe. Please confirm or guide us.
<html>
<head>
<meta http-equiv="refresh" content="0;url=<%=StringUtils.urlCrossScriptingFilter(tools.getParamValue("redirectURL"))%>"/>
</head>
<body></body>
</html>
Thanks & Regards
U Rajasekhar
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689876000/519a060c-44a0-4fbc-b269-dbbd3b13e0ac.png?itok=0f5joLU3)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689876000/519a060c-44a0-4fbc-b269-dbbd3b13e0ac.png?itok=0f5joLU3)
Pegasystems Inc.
US
Hi Rajasekhar, yes, this might work as long as the SSO allows the redirection. did you face any issue with this?
![](/themes/custom/pegacc_theme/images/user-icon.png)
![](/themes/custom/pegacc_theme/images/user-icon.png)
in addition, when the request reaches dev2, authentication activity will be called and url should have necessary details in order to authentication the user. Dev 1 pega cookie will not work in dev 2 & does not need to be forwarded.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Hi Gopi,
I am not able identify, why is not displaying Dev2 URL, Do we have any way to trace. Currently I am using log message for debugging.
If "Dev 1 pega cookie will not work in dev 2", What is steps to pass parameter to Dev2. Please share, If you have any sample code.
Thanks & Regards
U Rajasekhar
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Hi Gopi,
It is not redirecting Dev2, it is showing Dev1 URL in browser.
Could you please elaborate "this might work as long as the SSO allows the redirection". Please share, If you have any sample code.
Thanks & Regards
U Rajasekhar
![](/themes/custom/pegacc_theme/images/user-icon.png)
![](/themes/custom/pegacc_theme/images/user-icon.png)
Hi Rajasekhar, In the fiddler trace, do you see above html code as response from dev2? where in the application above code is returned? this probably would require a screen share session, I suggest to raise support request with us. Thanks!
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Hi Gopi,
I think you missed something because you are saying "do you see above html code as response from dev2?"
Thanks & Regards
U Rajasekhar
![](/themes/custom/pegacc_theme/images/user-icon.png)
![](/themes/custom/pegacc_theme/images/user-icon.png)
Hi Rajasekhar, I meant the html code you mentioned in your earlier post as response.
here is the code from your earlier post.
<html>
<head>
<meta http-equiv="refresh" content="0;url=<%=StringUtils.urlCrossScriptingFilter(tools.getParamValue("redirectURL"))%>"/>
</head>
<body></body>
</html>
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
If "Dev 1 pega cookie will not work in dev 2", What is steps to pass parameter to Dev2. Please share, If you have any sample code.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
If "Dev 1 pega cookie will not work in dev 2", What is steps to pass parameter to Dev2. Please share, If you have any sample code.
How to trace Authentication activity.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Can someone response to query. If "Dev 1 pega cookie will not work in dev 2", What is steps to pass parameter to Dev2. Please share, If you have any sample code.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Can someone response to query.
- If "Dev 1 pega cookie will not work in dev 2", What is steps to pass parameter to Dev2. Please share, If you have any sample code
- How to pass querystring from Dev1 to Dev2
- How to pass requestHeader from Dev1 to Dev2
![](/themes/custom/pegacc_theme/images/user-icon.png)
![](/themes/custom/pegacc_theme/images/user-icon.png)
Hi Rajasekhar,
Can you please raise a SR , one of our engineer will look into the issue .
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Hi Arun,
Client is not agreed for raising SR for this. They requested, How we can achieve in Pega using OOTB.
Thanks & Regards
U Rajasekhar
![](https://accounts.pega.com/sites/default/files/pega-user-image/209/REG-209263.png?source=PUMINIT)
![](https://accounts.pega.com/sites/default/files/pega-user-image/209/REG-209263.png?source=PUMINIT)
Pegasystems Inc.
IN
Hi Rajasekhar,
Once you go ahead and raise an SR as per suggested by Arun Mahanty , I request you to share the SR number here, so that we can track it for you within the thread.
Thanks,
Vidyaranjan A V | Community Moderator | Pegasystems Inc.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Hi Vidyaranjan,
Client is not agreed for raising SR. We can close this discussion. Later if required, we can reopen.
Thanks all for your support and guidance.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Currently we are debugging the SSO authentication activity using log-message.
Can someone tell us know any other way to trace the SSO authentication activity and login process.
Thanks in Advance!
Best Regards
U Rajasekhar
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689875000/cb80d47d-e4e8-47b8-bedb-9b3c42f08e0e.jpg?itok=rnR8AszO)
CGI
IN
Currently we are debugging the SSO authentication activity using log-message.
Can someone tell us know any other way to trace the SSO authentication activity and login process.
Thanks in Advance!
Best Regards
U Rajasekhar