News Feed
Sections




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

PHPMaster.com:
Authenticate Users with Mozilla Persona
December 03, 2012 @ 11:18:09

On PHPMaster.com there's a new tutorial from Vito Tardia about using the Mozilla Persona authentication system in your PHP application - an abstracted authentication system that keeps only a token representing the user in your system.

Mozilla Persona is built upon the BrowserID technology also developed by Mozilla. You can find an expanded explanation of the concepts in the article How BrowserID Works by Lloyd Hilaiel. [...] An email address is an identity and it's verified by the email provider [then the] authentication takes place in the browser.

He talks about the three steps in the process (certificate provisioning, assertion generation and assertion verification) and includes some sample code that does the work for you with some PHP, HTML and Javascript. In his example he just authenticates the user and returns the success/fail back to the calling script. You could take it one step further and integrate it with the session handler as well.

0 comments voice your opinion now!
authenticate user mozilla persona javascript sso browserid


blog comments powered by Disqus

Similar Posts

Zak Greant's Blog: php|works 2006 Followup Reports

PHPClasses.org: Lately in PHP podcast episode 11 - Is the Cloud the Right Solution?

PHPBuilder.com: Using XML - A PHP Developer\'s Primer (Part 4) - XML-RPC, PHP and Javascript

Zend Developer Zone: AJAX Chat Tutorial Part 2

Noupe.com: 10 AJAX-based, PHP WebMail Clients For a Great User Experience


Community Events





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


opinion tips conference library interview language bugfix list community developer symfony series introduction laravel podcast zendserver api deployment release framework

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