adicu / learn-webdev

The intro to web development curriculum for DevFest
http://learn.adicu.com/webdev
23 stars 15 forks source link

Write the Authentication section (2.3) #4

Closed schlosser closed 10 years ago

schlosser commented 10 years ago

So this section should:

if __name__ == "__main__":
    # scan gh user/pass
    # check if it's valid by sending a request to http://developer.github.com/v3/users/#get-the-authenticated-user
    # quit if invalid, or run the server if 200

then do oauth (I haven't thought of a good way to do this). Should it be an extension?

natebrennand commented 10 years ago

I"ll tackle the basic auth, not sure how to go about oauth for now

natebrennand commented 10 years ago

Do we want to do anything with that token once they get it?

natebrennand commented 10 years ago

Nvm, will keep data and use to authenticate the search requests to move requests/minute from 5 ----> 20

schlosser commented 10 years ago

exactly :]

On Fri, Jan 10, 2014 at 1:26 AM, Nate notifications@github.com wrote:

Nvm, will keep data and use to authenticate the search requests to move requests/minute from 5 ----> 20

— Reply to this email directly or view it on GitHubhttps://github.com/adicu/devfest-webdev/issues/4#issuecomment-32005406 .

natebrennand commented 10 years ago

do you want me to do it for them in the doc or pose it as an assignment?

schlosser commented 10 years ago

If its complicated/new walk it through, if it's application of what they've already learned then pose as a assignment On Jan 10, 2014 1:29 AM, "Nate" notifications@github.com wrote:

do you want me to do it for them in the doc or pose it as an assignment?

— Reply to this email directly or view it on GitHubhttps://github.com/adicu/devfest-webdev/issues/4#issuecomment-32005508 .