I am trying to use c# to login to a federated portal that uses ldap and receive a token to make requests. I am unable to use the generate token url because when you access the website an alert type window opens to login to (image below). So, the initial get request's response comes up as 401. Anyone have an idea what I should try? TIA.
