New answers tagged


You should do the Oauth authentication in a named credetial (outside of apex) and then simply reference the named credential in apex That'll greatly simplify your code.


The problem was related to IIS not allowing cookies for my test domain. I had to change the node in the web.test.config to use the new domain. Hopefully this helps someone in the future.

Top 50 recent answers are included