Credentials Issue #2165
Description
Describe the bug
I'm trying to fix my PR #2157.
My example gif shows a "something went wrong" error. At first, I assumed it was some maybe network issue or something since the error is the generic one (so who really knows). I just assumed it didn't code I changed since I didn't really change anything that I can see would ever effect it.
I printed the result in addCommentClient.swift
under the case: .faliure
the result is:
failure(Optional(Although you appear to have the correct authorization credentials,
theGitHawkApp
organization has enabled OAuth App access restrictions, meaning that data
access to third-parties is limited. For more information on these restrictions, including
how to whitelist this app, visit
https://help.github.com/articles/restricting-access-to-your-organization-s-data/
))
I guessed it may have been my Github Client ID or Secret but
- The app shouldn't sign me in if those aren't valid (pretty sure)
- I added them again to make sure it was right and I'm pretty sure they are fine.
Note: Using the Testflight version of githawk works fine.
To Reproduce
Umm.. unsure.
Expected behavior
For the comment to post successfully
Screenshots
See PR with gif
Anyone have an idea of stuff I can try? Did I just forget to do something obvious? Does my code in the PR seem to mess something up in this regard? (I really don't think its the code cause it works for my other repos
Any help is appreciated