Welcome Guest, Not a member yet? Register   Sign In
URI routing question
#7

[eluser]freshmug[/eluser]
I just noticed the last few responses but wanted to tell you what I did in the last 10 minutes.


After looking at the documentation for "enabling query strings", I decided to give that a try.

I do have control over the callback url as I described in my last post, so I enabled query strings and changed the callback to:
http://www.mysite.com/index.php?c=mycont...rocessAuth

I changed my processAuth function in my controller to:
Code:
function processAuth () {
  echo "hello"
}

It worked. The processAuth function gets called on the callback and the new callback url is:
http://www.mysite.com/index.php?c=mycont...6bab9832c4

So now I just need to figure out how to extract the auth_token value from the processAuth() function. I'll go try to figure that one out now. Smile

Thanks again for the responses.


Messages In This Thread
URI routing question - by El Forum - 01-05-2008, 02:42 PM
URI routing question - by El Forum - 01-06-2008, 02:34 AM
URI routing question - by El Forum - 01-06-2008, 06:12 AM
URI routing question - by El Forum - 01-06-2008, 08:04 AM
URI routing question - by El Forum - 01-06-2008, 08:18 AM
URI routing question - by El Forum - 01-06-2008, 08:18 AM
URI routing question - by El Forum - 01-06-2008, 08:34 AM
URI routing question - by El Forum - 01-11-2008, 02:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB