Jump to content

Redirect to Dynamic Link on Login Success

Featured Replies

Posted

I have a Dynamic Link that handles Login Information between my Website and Desktop Software which DON'T use the typical IPS API/Tokens.

 

If the User isn't logged in, I redirect to the login page for them to login but my problem is, I then need to redirect back to this Uniquely Generated Link once they're logged in but I am not sure how to have IPS redirect me back to an external link after the login.

Try meta refresh

<META http-equiv="REFRESH" content="0;url=https://yoursite/login/">

 

  • Author
31 minutes ago, Adlago said:

Try meta refresh


<META http-equiv="REFRESH" content="0;url=https://yoursite/login/">

 

I edited my original post, I might have not been clear what I needed.

If the link is on the same domain as the community, you can pass the URL to send the user to as a ref query string parameter.

http://yoursite.com/login/?ref=http://yoursite.com/page-to-redirect-to

 

  • Author
2 hours ago, bfarber said:

If the link is on the same domain as the community, you can pass the URL to send the user to as a ref query string parameter.


http://yoursite.com/login/?ref=http://yoursite.com/page-to-redirect-to

 

It's on the same domain but not built into IPS, Ref only works for Links/URLs that are Internal to IPS.

Redirect + redirect

https://yourforum.com/login/?ref=https://yourforum.com/redirect.php?url=https://refurl.com

You should also encode (base64) ref param value

+ create redirect.php to handle url

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.