Skip to main content
Solved

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

  • March 16, 2022
  • 3 replies
  • 137 views

SmartlyGreg
Forum|alt.badge.img

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?

Best answer by bas

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
Forum|alt.badge.img
  • Author
  • Helper ⭐️⭐️⭐️
  • March 16, 2022

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 


bas
Forum|alt.badge.img+1
  • Helper ⭐️⭐️⭐️
  • Answer
  • March 16, 2022

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=


SmartlyGreg
Forum|alt.badge.img
  • Author
  • Helper ⭐️⭐️⭐️
  • March 16, 2022

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