akashnimare / git-issues

:octocat: A better way to browse GitHub issues.
https://git-issues.now.sh/
MIT License
26 stars 6 forks source link

Add GitHub oAuth. #9

Open akashnimare opened 6 years ago

akashnimare commented 6 years ago

I think it would be great if the user can comment on any issue while browsing the same. To do this we need to add the GitHub OAuth.

priyank-p commented 6 years ago

Wait a minute after looking into this, i think doing a post request usign fetch with a comment at this endpoint documented here: https://developer.github.com/v3/issues/comments/#create-a-comment should work.

akashnimare commented 6 years ago

Yeah, with a token we just need to post a request to the comment endpoint but for the token, we'll have to do the GitHub oAuth.

priyank-p commented 6 years ago

About the token thing, yeah oauth is needed, though i think it not required here since, i think (may or may not work) since the user is signed in, we don't need the token.