IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  OAuth ID Token in Infomap

    Posted 12/09/20 11:35 AM
    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


  • 2.  RE: OAuth ID Token in Infomap

    Posted 01/14/21 05:34 AM
    Any pointers would be helpful.

    Thanks,
    Prandya Medhi

    ------------------------------
    Prandya Medhi
    ------------------------------