auth

Paddy 2014-11-11 Parent:c8b0208c9e5d

72:ade4f4afd898 Go to Latest

auth/http.go

Already pulled client ID out of basic auth. Remove another finished TODO.

History
     1.1 --- a/http.go	Tue Nov 11 21:17:03 2014 -0500
     1.2 +++ b/http.go	Tue Nov 11 21:20:39 2014 -0500
     1.3 @@ -283,7 +283,6 @@
     1.4  	if clientIDStr == "" && err == nil {
     1.5  		clientIDStr = r.PostFormValue("client_id")
     1.6  	}
     1.7 -	// TODO(paddy): client ID can also come from Basic auth
     1.8  	clientID, err := uuid.Parse(clientIDStr)
     1.9  	if err != nil {
    1.10  		// TODO(paddy): render invalid request JSON