SSO JWT redirect does not pass return_to correctly

Comments

2 comments

  • Avatar
    Suresh ungarala

    Replace "#" with "%23"

    0
    Comment actions Permalink
  • Avatar
    Jordan Pitlor (Edited )

    For anyone coming here from Google that might be in this scenario:

    We have Sisense redirect to our front end, which requests a token from the back end - in this process, the url gets encoded/decoded twice! If you encoded # once, and it's still not working, try to replace # with %23, then encode the % again to %25. The final result in this instance should look like this:

    http://sisense-poc.mycorp.io:8081/app/main%2523/dashboards/5c66cbd72a66db0f1c4b6f11?embed=true&h=false

    When Sisense redirects to the SSO sign in url, your back end will receive the URL completely decoded (return_to=/app/main#/dashboards/5c66cbd72a66db0f1c4b6f11?embed=true&h=false)

    0
    Comment actions Permalink

Please sign in to leave a comment.