Issue 9: Some bug fix and code clean up
Status:  Fixed
Owner: ----
Closed:  Dec 2010
Reported by hswong3i@gmail.com, Oct 30, 2010
Bug fix:
  * Change "redirect_uri" filtering from FILTER_VALIDATE_URL to FILTER_SANITIZE_URL
    * I am using a domain with http://example-domain.com but the "-" is not allow and being filtered. Seems FILTER_SANITIZE_URL may be more suitable?
  * Update get_access_token() as  issue 5 .

Table column rename:
  * clients.pw => clients.client_secret
  * tokens.id => tokens.oauth_token
  * auth_codes.id => auth_codes.code
  * Update function implementation as above.

Code clean up:
  * Clean up dummy space from the end of line.
  * Replace "\t" as "  ".
oauth2-php-1288457112.patch
20.8 KB   View   Download
Oct 31, 2010
#1 hswong3i@gmail.com
I have setup a test case and able to test with both addclient.php, authorize.php, protected_resource.php and token.php. Hope this simple step-by-step guide can help the others: http://edin.no-ip.com/blog/hswong3i/oauth2-php-step-step-setup-and-testing
Dec 13, 2010
Project Member #2 hswon...@pantarei-design.com
Refer to https://code.google.com/p/oauth2-php/source/detail?r=d4e371c900e8fa8f0d59c798ca47ecca5f579db6, this is now get fixed within latest dev.
Status: Fixed
May 31, 2011
#3 claudio....@gmail.com
hi, the link for step-by-step example doesn't work, it's possible to restore? Thanks.