forwarding to DefaultController after authentication

i ended up changing
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?
#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?
0
Comments
Vanilla Forums COO [GitHub, Twitter, About.me]