ipfs-inactive / project-repos

[ARCHIVED] Project health metrics
http://project-repos.ipfs.io/
MIT License
7 stars 8 forks source link

GitHub Authentication #82

Closed RichardLitt closed 8 years ago

RichardLitt commented 8 years ago

Is there any possibility we can have users authenticate, with GitHub, and then user their authentication token to hit the API? I am super tired of hitting rate limits.

whyrusleeping commented 8 years ago

This might be relevant: https://tectonic.com/quay-enterprise/docs/latest/github-app.html

Kubuxu commented 8 years ago

Friend of mine was using GitHub OAuth for registration of users, using it to get API access might be very similar.

@magik6k do you have guide or documentation you used on hand?

magik6k commented 8 years ago

@Kubuxu Just GH developer docs: https://developer.github.com/v3/

RichardLitt commented 8 years ago

@harlantwood What do you think about this?

harlantwood commented 8 years ago

Hm, probably not an issue for most users, but definitely an issue for devs.

Here is the super simple dev hack I used previously...

https://github.com/ipfs/project-repos/commit/008cf68e3514ea98ea259907d1c55167671f6203

Just uncomment either username /password and you will get lots more calls than anon access ...

Allowing github auth would be great, but I wouldn't want to require it. It may not be worth the effort to set up IMO.

harlantwood commented 8 years ago

@richardlitt ^^^

RichardLitt commented 8 years ago

Saw this. Awesome - I will use this from now on, then.