Error on redirect after authorization

This suggests a problem with your SSL Certificate.

Not a problem with the oAuth API itself