Fixed it! Turns out it used the wrong scheme (http instead of https)