Hi,
I have created an infomap and done configurations in IBM Security Verify version 10 to call Oauth /authorize endpoint to get id_token and I am able to get it either in response body (response_mode=form_post) or response location attribute (response_mode=fragment or response_mode=query or no response_mode parameter specified)
I want result of infomap to be just id_token. For that, I would need to parse the http response body html to get getElementsByTagName('id_token'). Any pointer on any DOMParser to do the same? I tried with some of the available parsers but no luck yet.
OR, I would need to access http response location attribute which contains id_token. I can see in response that location attribute is returned, but com.ibm.security.access.httpclient.HttpResponse.getHeaderKeys() doesnt return it. I tried passing AllowAutoRedirect = false as a Parameter in HttpClient.httpPost but still no luck.
Any pointers to get id_token from infomap would be greatly appreciated.
Thanks,
Pradnya Medhi