git-issues icon indicating copy to clipboard operation
git-issues copied to clipboard

Add GitHub oAuth.

Open akashnimare opened this issue 7 years ago • 3 comments

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.

akashnimare avatar May 16 '18 13:05 akashnimare

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.

priyank-p avatar May 16 '18 16:05 priyank-p

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.

akashnimare avatar May 16 '18 17:05 akashnimare

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.

priyank-p avatar May 16 '18 20:05 priyank-p