Applied [patch](https://github.com/nxtbgthng/OAuth2Client/pull/80) from @kangaroo5383