cancel
Showing results for 
Search instead for 
Did you mean: 

Hosted Page dev url social login redirect

jctapnio
Explorer
0 Kudos

Hi,

How to redirect user when using social login or custom button to profile update page that is also a hosted page?

Other question, how to redirect user after logging in using social login to a different page that is not logged in, and redirect if not? Is that custom code implementation?

Regards,

Jonathan

edarevsky
Discoverer
0 Kudos

Hi Jonathan,

I would like to understand your case better before I can answer.

Is social login in each would happen also from a hosted page, or login will happen on a separate page (not hosted page by gigya)?

Thanks,
Elena

jctapnio
Explorer
0 Kudos

Hi Elena,

It will not be hosted by gigya.

Accepted Solutions (0)

Answers (1)

Answers (1)

edarevsky
Discoverer

Hi Jonathan,

Since the initial page where login happens is not hosted, that we can treat redirect to hosted page as redirect to any other URL after login. There is no special logic/place to configure hosted page to use after social login

So you have to major options to do that:

1. On the initial page where login happen you can either pass redirectUrl parameter to accounts.showScreenSet if you use screen set to login or to accounts.socialLogin if you use custom implementation without screen sets.

2. Subscribe to onLogin event and add custom JS that will redirect to the page you need depending on errorCode of the response or any other logic you'll choose.