- Response code: e.g. if this is an API request, a simple
200
response would suffice to act as a successful authentication. - Response body exact match: You can have a base64 encoded body that you would expect as a successful match, if the two bodies are the same, then the request will be deemed successful.
- Regex: Most likely, the response might be dynamic (and return a response code, timestamp or other often changing parameter), in which case you may want to just match the response to a regex.
200 OK
and match the regex in order to be marked as successful.
JSON Data and User names
The Proxy provider can do some clever things, such as extract JSON data from the response and decode it, as well as pull username data from the Basic Auth header (for example, if your identity provider supports dynamic basic auth).Log into the Dashboard with the Proxy Provider
The configuration below will proxy a request tohttp://{TARGET-HOSTNAME}:{PORT}/
and evaluate the response status code, if the status code returned is 200
then TIB will assume the response is JSON ("ResponseIsJson": true
) to extract an access token (e.g. if this is an OAuth pass-through request) and try and find an identity to bind the Dashboard user to in the user_name
JSON field of the response object ("UsernameField": "user_name"
):