Scripting against Okta Authentication
Question ID: 108934
0
0

We are using Performance Center 12.50. We are having trouble using the web htttp/html protocol against an internal application that uses OKTA for authentication. Any articles or advice on how to get around this?

Marked as spam
Posted by (Questions: 159, Answers: 15)
Asked on April 17, 2019 12:51 pm
51 views
Answers (1)
0
Private answer

When using Oauth 2.0 Authentication, I recommend using the TruClient protocol.

If this does not work in the TruClient Protocol, the only other option is to create a web service script. The Web (HTML/HTTP) protocol does not support Oauth/SAML 2.0 Authentication.

* Add the correct custom web_add_auto_header function to the script

* Depending on the size of the OAuth2 Token response, you will need to add the web_set_max_html_param_len(); function. You can verify with your developer on what this function limit max needs to be set at.

* You will need to identify the OAuth2 Token from the capture , and manually capture the value of the OAuth2 Token authenticate for every request through the rest of the script. This is created behind the scenes and not scene by http capture. Manual correlation of the OAuth2 Token, placed above the correct URL within the script, will be required, or the OAth2 Token will never be seen.

* A final token maybe needed, to be captured to be used to keep the logon connection alive. You will need to work with your developers and reviewing of the application capture from Fiddler or HAR, to find out.

I hope this helps

Marked as spam
Posted by (Questions: 17, Answers: 266)
Answered on April 17, 2019 12:53 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top