You need to sign in to do that
Don't have an account?
3421
redirect url not directing the portal user
I have a VF page on site where I am creating a user and a contact. Upon logging the user in, I wanted the user to be re-directed to an external website instead of site page
I did try this code
I also tried using start url with ref url as parameter too, but either of them did not work.
Thoughts on this
I did try this code
PageReference pf = Site.login(u.username,password,'custom_login?startURL=%2Fidp%2Flogin%3Fapp%4D0spo000120005Dkg'); return pf; PageReference redirectPage = new PageReference('https%1A%1D%1test.com%1Finteg%1Fsso%1Fgfd.aspx%30%37'); return redirectPage;
I also tried using start url with ref url as parameter too, but either of them did not work.
Thoughts on this
I did try that. In this scenario, it is not logging the user in if I try the code , but it is just redirecting the user to the new page(google.com)
--
Thanks
Prashant