Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Implementations of Oauth service provider for Java or Php

I would like to implement OAuth as a service provider for my website (Google App engine Java, and also CakePhp) but I could not find any good library/tutorial. Does anybody have good references?

Regards

like image 926
Lydon Ch Avatar asked Jan 03 '10 16:01

Lydon Ch


People also ask

What is OAuth php?

The OAuth extension provides a simple interface to interact with data providers using the OAuth HTTP specification to protect private resources.

What is OAuth in Java?

Summary: OAuth 2.0 is a standard specification for allowing end users to securely authorize a client application to access protected server-side resources.

What is service provider in OAuth?

An OAuth service provider is defined with the oauthProvider element in the server. xml file. You can define an OAuth service provider by editing the server. xml file or by using the WebSphere® Application Server Development Tools for Liberty. This task describes how to define a minimal OAuth configuration.


2 Answers

You will need to implement the OAuth provider within you application. You can use things like http://github.com/mohangk/appengine_oauth_provider to help you implement this.

like image 140
Pete Avatar answered Sep 21 '22 18:09

Pete


This might actually be a more helpful guide to what you want to do, since it is specifically about building a OAuth Provider in PHP:

http://toys.lerdorf.com/archives/55-Writing-an-OAuth-Provider-Service.html

like image 23
Nick Spacek Avatar answered Sep 19 '22 18:09

Nick Spacek