oltu-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Moren <lukasz.mo...@gmail.com>
Subject Getting Started- Help!
Date Wed, 23 Mar 2011 10:59:53 GMT
Hi Preeti,

We don't have example of oauth server. I think there was a thread on
stackoverflow describing good practices for building that. You can check as
well integration tests, it contains simple implementation of oauth
endpoints. Should be enough for a start.


On Wed, Mar 23, 2011 at 10:03 AM, Preeti Yarashi

>  Thanks Lukasz, that was extremely helpful. I am now able to run the
> client-demo application. I also looked at the resources on Leelo site that
> shows sample code required to build authorization server and resource
> server. Since I am interested in building an Oauth 2.0 provider, is there a
> similar example to client-demo like server/provider demo? Would you
> recommend that I refer to oauth2-integration-tests module for examples of
> these? Also do you have any instructions/documentation around how to run and
> go about understanding the examples in this module? I am assuming mvn test
> will only run the junits.
> thanks again!
> Preeti
> On 3/22/2011 4:27 PM, Lukasz Moren wrote:
> Hi Preeti,
>  We have moved OAuth 2.0 code from
> https://bitbucket.org/smartproject/oauth-2.0/wiki/Home project. You can
> find there tutorials how to build OAuth 2.0 client and servers.
> We are in process of upgrading documentation for Amber and try to prepare
> distribution packages soon.
> The new repository is available on: https://github.com/apache/amber . So
> far you have to download source and build on your own.
> If you are using Maven, simple mvn clean install should be enough.
>  Demo OAuth 2.0 client that connects with Facebook and Github can be found
> on:
> https://github.com/apache/amber/tree/trunk/oauth-2.0/oauth2-client-demo
> To run it you can use mvn jetty:run command. This will start demo app on
> port 8080.
>  Hope it helps.
>  Cheers,
> Lukasz
>  On Tue, Mar 22, 2011 at 6:34 AM, Preeti Yarashi <
> preeti.yarashi@oracle.com> wrote:
>>  Hi,
>> I am new to Oauth. I have read the specifications on the Oauth website. I
>> want to be able to develop an Oauth server using Oauth 2.0. I am
>> investigating the use of Amber for this however I am a bit overwhelmed at this
>> site <http://incubator.apache.org/projects/amber.html> and am not sure
>> where to begin. *What I am interested is in to download the library and
>> be able to run a sample that perhaps explains how to build a simple client
>> as well as a server. Is there a getting started document that explains how
>> to go about this?* I see the source code available here but no
>> distributable that I can download. Do I need to download the source and
>> compile this and generate the javadocs myself? Infact I couldn't even find a
>> read me anywhere to help me get started.
>> thanks for your help!!
>> regards,
>>  Preeti

View raw message