Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

  • Tim July 2010

Who's Online 11

ericgillettelucsandino +8 guests

forwarding to DefaultController after authentication

This discussion is related to the Vanilla Proxyconnect addon.
i ended up changing
#Gdn::Request()->WithRoute('DefaultController');
to:
#Gdn::Request()
in order to achieve the following behavior:

i have a page in my forum called "myvanilla/some/cool/page"

when a user on my own service visits that page for the first time, proxyconnector authenticates them and then bounces them to my DefaultController (/discussions). instead, i want them to be authenticated and land on the page they originally requested.

with the change above, i was able to achieve this effect. is this the best way for me to achieve this effect?

Comments

  • TimTim
    Posts: 1,573
    This should be happening automatically, but there have been some bugs in the V2.0/Proxy1.4 combo that might have messed with this. 1.5 will have better support.

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

Sign In or Register to comment.