Apr 12th, 2012, 02:49 AM
Authorization_code grant type
I have a requirement to provide authorization_code grant type and I succeeded in it.Now my requirement is to
skip the user Authorize/Deny step based on the client_id sent in the url parameter .Searching for ways how to skip the user approval step. Appreciate quick responses.
Dec 13th, 2012, 06:49 AM
I solved the problem.
Customized the handleRequestInternal method in AccessConfirmationController.
when a particular client for which the authorization needs to be skipped , redirecting to authorize success page using following state ment
response.sendRedirect(request.getContextPath() + "/oauth/user/authorize?"+BasicUserApprovalFilter.DEFAULT_APPROV AL_REQUEST_PARAMETER+"="+BasicUserApprovalFilter.D EFAULT_APPROVAL_PARAMETER_VALUE);
and returning null at the end;
Last edited by kalyanib; Dec 13th, 2012 at 06:54 AM.
Tags for this Thread