broadinstitute / tgg_methods

Repo for miscellaneous methods developed by the methods group that don't fit anywhere else
MIT License
4 stars 0 forks source link

use session cookie for auth #24

Closed hanars closed 3 years ago

hanars commented 3 years ago

This changes the pull pedigree script so that it essentially bypasses seqr auth in the script. This is necessary because, due to security changes, users can no longer login via the POST login endpoint and instead need to log in with goole OAuth.

Before using the script, users need to log in to seqr and copy the sessionid cookie they have in their browser, and then pas that to the script. I realize this is a bit less user-friendly than the previous approach, so if this is not an acceptable change let me know and I can try to figure out something different, but this is by far the most straightforward way to authenticate now