Correlate dynamic value from a redirected request URL

How can I capture a dynamic value generated in a redirected request URL ?

Eg: SSO redirect

Redirected Request URL : /as/authorization.oauth2?nonce=***********&client_id=&state=&scope=******

Is there a way to capture the ****** values ?

Hi @karunakaran.ramanand !

Welcome to the community forums! :wave:

I believe you could use the solution described in How can I get responses from redirections? - #3 by codebien to get the Redirected Request URL and later parse a value with URL and URLSearchParams web apis by legander · Pull Request #9 · grafana/jslib.k6.io · GitHub.

Hope that answers,
Cheers!