parse github authorization response as json