OAuth2 example is broken when using client credentials as authorization grants

classic Classic list List threaded Threaded
1 message Options
Kay
Reply | Threaded
Open this post in threaded view
|

OAuth2 example is broken when using client credentials as authorization grants

Kay
I tried OAuth2 example (org\restlet\example\ext\oauth\server\OAuth2Sample) in restlet 2.2.2. However, in org.restlet.ext.oauth.TokenAuthServerResource, the username is required for the json response or the TokenVerifier will throw exceptions. In client credential grants, it does not need a user auth for access, am I right?

Thanks.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3089268