Announcement Announcement Module
Collapse
No announcement yet.
Authorization_code grant type Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #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, 06:54 AM.

    Comment

    Working...
    X