give a 'next' arg on login url

Chris Drackett's Avatar

Chris Drackett

09 Jan, 2010 09:19 PM

right now login is a static url, so when a user logs in using multipass they are always returned to tender on the base homepage. I think it would be nice to put the current page in a get var:

http://mysite.com/multipass/?next=http://mysite.tenderapp.com/discu...

this way we can return them to the page they were on with a multipass to log them in.

  1. Support Staff 1 Posted by Courtenay on 09 Jan, 2010 10:49 PM

    Courtenay's Avatar

    I believe you can use "to=" instead of "next" to get that working.

  2. 2 Posted by Chris Drackett on 09 Jan, 2010 11:03 PM

    Chris Drackett's Avatar

    The problem is I don't know where on tender the user is coming from. Tender directs them to my site, but I don't know the url the user is coming from.

  3. Support Staff 3 Posted by Courtenay on 09 Jan, 2010 11:41 PM

    Courtenay's Avatar

    Oh you want a template or something like.. login_url would be set to

      http://yoursite.com/multipass/?next={current_url}

    and your site would just redirect back there.

    ... if we supported {current_url} .. right?

  4. 4 Posted by Chris Drackett on 09 Jan, 2010 11:42 PM

    Chris Drackett's Avatar

    yeah, exactly :)

  5. 5 Posted by rick on 10 Jan, 2010 03:36 PM

    rick's Avatar

    Or we just append ?tender_return=url to their url.

  6. Nicole closed this discussion on 05 Feb, 2010 09:27 PM.

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac