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,082,665
  • 372
  • 3,610
  • 3,555
Cleonjoys
  • 504
  • 4
  • 10

1 Answers1

0

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

Supritam
  • 259
  • 1
  • 9