OKTA 'State' and 'Code' value parameter send via Jmeter

I’m currently working on performance scripting for a web system. While scripting the login scenario, I encountered an issue with a POST API call to /signin-oidc.

I was able to capture the state and code values from the API call to /redirect?stateToken=02.id.${shortStateToken}, and I passed both values as parameters in the /signin-oidc request.

However, I’m receiving a 401 Unauthorized response.

Is there anyone here who can help me resolve this issue? I’d really appreciate your quick response and support on this matter.

Hi, @ngamage. Can you please test the sign-in flow outside of your current environment? You can use this debugger tool: https://oidcdebugger.com/. Be sure to set the redirect URI to https://oidcdebugger.com/debug in your Okta oidc app dashboard. See if you still see the same error.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.