[eluser]Unknown[/eluser]
Hi,
I am trying to use google authentication to use Picasa web album. Once authentication is done, google will redirect you to a predefined URL (this is configurable). This is my URL
http://<SERVER IP>/picasa/after_auth/
While redirecting google adds one authentication token information, which we can use to query user data from google.
http://<SERVER IP>/picasa/after_auth/?token=<SOME TOKEN>
Now I have a controller picasa and after_auth is a function defined in the controller, but the URL is showing 404 error.
If I remove "?" from the URL its working fine.
My controller code
<?php
class Picasa extends Controller {
function Picasa() {
parent::Controller();
}
function after_auth($token) {
echo "Success : ".$token;
}
}
Please Help