News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Carson McDonald's Blog:
Google OAuth for Installed Apps PHP Example
October 11, 2011 @ 12:13:10

Carson McDonald has posted an example of how to use the Google OAuth for Installed Apps tool to authenticate users.

I have been working on a long needed update to the Google analytics dashboard plugin for WordPress and one of the items I had on my TODO list was using Google's OAuth login instead of the old ClientLogin. Setting OAuth up for a WordPress plugin is complicated because it isn't a hosted application and as such I can't register it to get OAuth keys. That is where a special way of doing OAuth comes in called OAuth for installed apps.

He uses this OAuth library to handle the "dirty work" of the connections. With that included in the application, he shows how to - in two phases - make an authentication system that direct the user to a Google link for completing the authentication process. He points to the Google OAuth docs and playground as good resources to help you during the process.

0 comments voice your opinion now!
google oauth installed application example tutorial authentication


blog comments powered by Disqus

Similar Posts

PHPToys.com: Creating a file based AD rotator script

Jason Gilmore's Blog: Thirteen Zend Framework Tutorials

Padraic Brady's Blog: Example Zend Framework Blog Application Tutorial: Parts 1-8 Revisited

IBM developerWorks: Use Ajax with PHP and DB2 9 - Xajax

Noupe.com: Beautiful Forms - Design, Style, & make it work with PHP & Ajax


Community Events

Don't see your event here?
Let us know!


unittest extension framework interview symfony opinion library api language community threedevsandamaybe podcast voicesoftheelephpant security version laravel5 release laravel series introduction

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework