0

I am trying to automate login to my app which uses among others, google sso authentication. However login form return error "This browser or app may not be secure.". I set my google account options to allow less secure apps but still nothing.

I browsed few topics:

And it seems that google is blocking this way at all in favor of oauth. People write in these topics that solutions stopped working recently

So is it currently possible, to set ChromeDriver somehow using capabalities, to be able to login through SSO?. I need a simple solution, that will run headless with other scripts on cloud (not something that would require me to manually login first on another instance as one anwser suggests). If its not possible or extremly complicated please tell me I will not waste time on it.

1 Answers1

0

If you want to use chrome capabilities, what you can do is set the user-data-dir to a chrome profile that has already been signed in using SSO.

You should look up how to reuse chrome profiles with selenium.

raveoli22
  • 21
  • 3