-
Apr 12th, 2012, 02:49 AM
#1
Authorization_code grant type
Hi ,
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
#2
Hi,
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;
Regards
-kalyani
Last edited by kalyanib; Dec 13th, 2012 at 06:54 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules