stf icon indicating copy to clipboard operation
stf copied to clipboard

Oauth authentication with state parameter token

Open marouj opened this issue 3 years ago • 2 comments

Hello, I'm using STF for my Android test, I want to add Oauth authentication with an okta provider on STF.

But when I tried to activate it, I have a problem, in oAuth documentation the state parameter is not required but in okta implementation of this protocol it is. So, when I activate the flag --oauth-state in STF. I have this error message. error-stf Capture d’écran du 2021-09-23 13-34-01

Do you know how I can solve it ?

Thank you !

marouj avatar Sep 23 '21 13:09 marouj

Hi anyone

I meet the issue too, does anyone know how can solve it?

genki0403 avatar Oct 06 '21 10:10 genki0403

Hi anyone

I meet the issue too, does anyone know how can solve it?

If you Provider does not require "state" parameter you can disable it. But, if this parameter is required you can use SAML protocol implementation it's working with STF.

marouj avatar Oct 06 '21 12:10 marouj