Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
Q2SSOResponse Request Modification

I am doing some exploration with the SSO extension type to see if it is a suitable method to implement some SSOs.
Is it possible to add headers to the request that is sent out in the LINK_OUT option?
The url is being used to perform a get, I want to add headers to that get call.

response = Q2SSOResponse(
ResponseType.LINK_OUT, response=link
)

Votes Newest

Answers


Hi Derek,

Unfortunately the "Link Out" type of response takes a simple URL which basically gets turned into an HTML page with the javascript function on the frontend: <script type="text/javascript">window.location="URL_GOES_HERE";</script>

The Raw HTML output will allow you to create your own self-submitting form and do a POST. There is no way to cause a browser to pass headers on a redirect, regardless of the method. You will want to use cookies or other means of authenticating when performing an SSO.

Posted 2 years ago
Mark Ostroth
25 × 2 Administrator
107 Views
1 Answer
2 years ago
2 years ago