@Consumes("application/json")
@Produces("application/json")
public Response register(@Context HttpServletRequest request) throws OAuthSystemException {
OAuthServerRegistrationRequest oauthRequest = null;
try {
oauthRequest = new OAuthServerRegistrationRequest(new JSONHttpServletRequestWrapper(request));
oauthRequest.discover();
oauthRequest.getClientName();
oauthRequest.getClientUrl();
oauthRequest.getClientDescription();
oauthRequest.getRedirectURI();
OAuthResponse response = OAuthServerRegistrationResponse
.status(HttpServletResponse.SC_OK)
.setClientId(CommonExt.CLIENT_ID)
.setClientSecret(CommonExt.CLIENT_SECRET)