https://github.com/ondram/oauth2-example
Zend Framework OAuth 2.0 example app
https://github.com/ondram/oauth2-example
Last synced: about 1 year ago
JSON representation
Zend Framework OAuth 2.0 example app
- Host: GitHub
- URL: https://github.com/ondram/oauth2-example
- Owner: OndraM
- Archived: true
- Created: 2012-02-09T17:24:50.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-02-10T01:12:52.000Z (over 14 years ago)
- Last Synced: 2025-03-11T02:37:02.562Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 110 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Zend Framework OAuth 2.0 example application
================
Example OAuth 2.0 consumer application for Zend Framework.
Using Authorization Code Grant flow on Facebook.
Get it working
----------------
- Register your own OAuth consumer at https://developers.facebook.com/apps
- Replace CLIENT_ID and CLIENT_SECRET in application/controllers/FacebookController.php
- Configure own vhost on your Apache to url http://oauth2.local
- Enjoy!
Notes
----------------
- No layout, just simple views
- Probably not valid HTML, made just as simple preview
- Error states are not properly handled
- No refresh token handling
References
----------------
1. OAuth 2.0 draft v23 - http://tools.ietf.org/html/draft-ietf-oauth-v2-23
2. Authentication on Facebook - https://developers.facebook.com/docs/authentication/
3. Own bachelor thesis - http://o.vlastovka.eu/download/machuon1_2012bach.pdf
4. Presentation (in Czech) - http://www.slideshare.net/ondram/oauth-20-a-zend-framework