fixes oauth github permission issues

fixes #2