auth
95:b0a759e00e6d Browse Files
Add a TODO for code cleanup. We want to separate the logic for determining if a redirect URI is valid for any given client into its own helper, as we'll probably need that again.
1.1 --- a/oauth2.go Sat Dec 13 19:38:56 2014 -0500 1.2 +++ b/oauth2.go Sat Dec 13 19:45:38 2014 -0500 1.3 @@ -261,6 +261,7 @@ 1.4 } 1.5 return 1.6 } 1.7 + // TODO(paddy): checking if the redirect URI is valid should be a helper function 1.8 // whether a redirect URI is valid or not depends on the number of endpoints 1.9 // the client has registered 1.10 numEndpoints, err := context.CountEndpoints(clientID)