Layer 7 API Management

Expand all | Collapse all

How to retrieve fragment parameters in jsp

Jump to Best Answer
  • 1.  How to retrieve fragment parameters in jsp

    Posted 02-13-2017 08:13 AM

    In Oauth, when I call access_token endpoint, it redirects to redirect_uri and provides access_token as a fragment parameter. How to retrieve this fragment parameter?



  • 2.  Re: How to retrieve fragment parameters in jsp
    Best Answer

    Posted 02-14-2017 08:10 AM

    Hi Ruchita.mantri,

     

    The hash fragment of a URL is never sent to the server so something like JSP would not work here.

    You would need to use client side scripting, i.e: JavaScript (window.location.hash).

     

    Regards,

    Joe