Using machines A and B (virtual is acceptable) both with KDevelop installed and a github account that is authorized for any kdevelop installation.
authorize the github account with kdevelop on machine A and it will work.
Attempt to authorize the same account on machine B and it will not work without this patch. The error will also not give any indication as to why the authorization failed.