This topic was automatically generated from Slack. You can find the original thread here.
What we’ve found useful for cases like these is to manually log in and save the session cookie for the automation script to use later.
And then we refresh the cookie whenever the session expire (about once a month), and it only take ~5 minutes to replace the cookie. Not too painful of a process.
To save the cookie, we just use the Chrome network inspector, right click on a request, and then “copy as curl”. And then just copy-paste the value of the cookie header as-is into the corresponding secret store.