oltu-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Sanso <asa...@adobe.com>
Subject Re: Client demo webapp
Date Tue, 19 Nov 2013 14:11:27 GMT

On Nov 19, 2013, at 2:59 PM, Lumus Sensus <lumus.sensus@gmail.com> wrote:

> Okay, that works and makes sense as this is a client demo and you wouldn't normally try
and access a resource on the client like I was. 
> 
> I see your page (https://cwiki.apache.org/confluence/display/OLTU/OAuth+2.0+Resource+Server),
mentions validating the access token. Do you intend to add a token info endpoint for the AS
to be able do this or are you leaving this to implementers? 

yes, some hint in http://www.slideshare.net/ufried/oauth-20-18356495

> 
> Additionally, do you think you might support JOSE/JWT to enable token validation on the
resource server in the future?


we have some jws/jwt modules that is on early stage for the moment but works fine so far…

regards

antonio

> Thanks,
> Lumus
> 
> 
> 
> 
> On Tue, Nov 19, 2013 at 12:43 PM, Antonio Sanso <asanso@adobe.com> wrote:
> try add https://graph.facebook.com/me
> 
> On Nov 19, 2013, at 1:08 PM, Lumus Sensus <lumus.sensus@gmail.com> wrote:
> 
>> Hello,
>> 
>> I'm running the demo client webapp under jetty with facebook as the AS (workflow
started from http://localhost:8080/). When I get to step 3 (get resource), what am I supposed
to add to the resource URL?
>> I've tried http://localhost:8080/get_resource but this returns: 
>> 
>> java.lang.NullPointerException
>>     at org.apache.oltu.oauth2.client.URLConnectionClient.execute(URLConnectionClient.java:62)
>>     at org.apache.oltu.oauth2.client.OAuthClient.resource(OAuthClient.java:81)
>>     at org.apache.oltu.oauth2.client.demo.controller.ResourceController.authorize(ResourceController.java:64
>> 
>> Is the ResourceController attempting to validate the token or just check one is there?
Why is it failing?
>> 
>> Thanks,
>> Lumus
>> 
> 
> 


Mime
View raw message