Getting back to the url from which the user is logging in....

5 views
Skip to first unread message

boogi

unread,
Sep 2, 2010, 4:21:05 AM9/2/10
to Janrain Developers
Hello all,

Is there a particular way in which we can track the url
that the user is starting this login process....


Suppose say the user is in a page called viewVIdeo.php and starts this
login process from that page...... once he submits we wont be able to
go back to the particular viewVieo.php page as the janrain server
redirects to the rpx.php page where we are forced the navigate to a
particular page....

so can anyone tel me how to get the starting page from the rpx
server?? is there a particular parameter which returns the starting
page??

Any help appreciated.....

Basford, Forest

unread,
Sep 2, 2010, 1:54:40 PM9/2/10
to rpx-dev...@googlegroups.com
Add a parameter to the token URL with the target URL and then add code to your token processor to redirect there after login.



--
You received this message because you are subscribed to the Google Groups "Janrain Developers" group.
To post to this group, send email to rpx-dev...@googlegroups.com.
To unsubscribe from this group, send email to rpx-developer...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rpx-developers?hl=en.


Yako

unread,
Sep 3, 2010, 10:45:00 AM9/3/10
to Janrain Developers
I have troubles to make it work the right way...

So, here is my login link :
http://[myWebsite].rpxnow.com/openid/embed?token_url=>>>>rpx.php&redirect=[mySourceURL]

In rpx.php, how do I get the value of the $_GET['redirect'] ?
Is it included in an array or something ?

Thanks for the help !
> > rpx-developer...@googlegroups.com<rpx-developers%2Bunsubscribe@go oglegroups.com>
> > .

Yako

unread,
Sep 3, 2010, 10:56:15 AM9/3/10
to Janrain Developers
I have some troubles to make it work properly...

So let's say this is my iframe URL for the login page :
http://mysite.rpxnow.com/openid/embed?token_url=XXXrpx.php&redirect=mySourceURL

Once the user is logged in, there's a redirection towards rpx.php.
Then how is it possible to get the value of the $_GET['redirect'] ?
Is it available in an array or something ?

Thanks !

On 2 sep, 19:54, "Basford, Forest" <for...@janrain.com> wrote:
> > rpx-developer...@googlegroups.com<rpx-developers%2Bunsubscribe@go oglegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages