0

Hi after redirection from OAuth server, I am unable to get the complete URL in my JAVA Servlet.My URL looks like below -

https://host.vp.com/gui/MainPage.gdi#scope=openid%20profile&id_token=eyJ0eXAiOiJKV86sada0ajdasJUUEB343KHFKK

I tried request.getRequestURL() , request.getRequestURL(), request.getPathInfo(), no luck in getting the part of the URL which starts after #, i.e., scope=openid%20profile&id_token=eyJ0eXAiOiJKV86sada0ajdasJUUEB343KHFKK, Can someone help me here?

BalusC
  • 1,040,783
  • 362
  • 3,548
  • 3,513
Cleonjoys
  • 506
  • 4
  • 10

1 Answers1

0

Your Query string should start with ? instead of # to be able to read in the Selvlet.

Supritam
  • 236
  • 1
  • 8