The REST service that implements the service consumer registry should support
generating consumer secrets
---------------------------------------------------------------------------------------------------------
Key: AMDATU-209
URL: http://jira.amdatu.org/jira/browse/AMDATU-209
Project: Amdatu
Issue Type: New Feature
Components: Amdatu Authentication - oAuth
Affects Versions: 0.1.0
Reporter: Ivo Ladage - van Doorn
Assignee: Ivo Ladage - van Doorn
Fix For: 0.1.0
The REST service that provides a method to add a new consumer should also
support a method to add a new consumer AND generate a consumer secret which is
returned to the client. In the end this should allow some UI in which gadget
developers can registrer a new gadget and retrieving the secret when adding the
gadget.
I think:
- The default /rest/services/oauth/consumers/oauth/consumers PUT method creates
an empty consumer and returns 200.
- The /rest/services/oauth/consumers/oauth/consumers/{key} method generates
this secret by default and return the created consumer with key {key}
... I think.
See also http://sites.google.com/site/oauthgoog/2leggedoauth/2opensocialrestapi
which refers to the MySpace's OpenSocial registration process which does exact
the same thing.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira