Skip to main content
SmartlyGreg
Helper ⭐️⭐️⭐️
Mar 16, 2022 2:03 AM UTC
Solved

Is it possible to deep link someone to use the SSO page and then land of a specific page upon registration?

I’d like to entice some of our customers toward using the search which has a few federated searches incorporated, BUT I want the users to register using SSO before…

I can send them to https://community.smartly.io/search?q= and append the search term they are after in the link but would it be possible to deep link them to that page after they register?

bas
basAnswer
Helper ⭐️⭐️⭐️
Mar 16, 2022 10:50 AM UTC

Hi Greg,

You should be able to specify the return url using the returnUrl parameter

So something like:

https://community.smartly.io/ssoproxy/login?returnUrl=

3 replies

SmartlyGreg
Helper ⭐️⭐️⭐️
Mar 16, 2022 2:15 AM UTC

NOTE: I just tried to write a script that redirects users to the SSO login page if the URL contains the parameter “&deepsso”. 

<!-- Deep Linking the Search page -->
<script>
if (inSidedData.page.url.includes("&deepsso")) {
window.location.href = 'SSOLINKHERE';
}
</script>

However this resulted in login in the user to the homepage…?

If not possible could we perhaps convert to an idea? cc @olimarrio 

Translate
bas
basAnswer
Helper ⭐️⭐️⭐️
Mar 16, 2022 10:50 AM UTC

Hi Greg,

You should be able to specify the return url using the returnUrl parameter

So something like:

https://community.smartly.io/ssoproxy/login?returnUrl=

Translate
SmartlyGreg
Helper ⭐️⭐️⭐️
Mar 16, 2022 11:38 AM UTC

@bas gonna have to try this! Thank you very much!

Translate