openstf / stf

Control and manage Android devices from your browser.
https://openstf.io
Other
13.39k stars 2.79k forks source link

Oauth authentication with state parameter token #1305

Open marouj opened 3 years ago

marouj commented 3 years ago

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 !

genki0403 commented 3 years ago

Hi anyone

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

marouj commented 3 years ago

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.