{"comment":{"url":"https://api.github.com/repos/ripple-cloud/cloud/comments/9323494","html_url":"https://github.com/ripple-cloud/cloud/commit/540dceb395d8bbdb12984e1c926b3e8422b2b628#commitcomment-9323494","id":9323494,"user":{"login":"laktek","id":5358,"avatar_url":"https://avatars.githubusercontent.com/u/5358?v=3","gravatar_id":"","url":"https://api.github.com/users/laktek","html_url":"https://github.com/laktek","followers_url":"https://api.github.com/users/laktek/followers","following_url":"https://api.github.com/users/laktek/following{/other_user}","gists_url":"https://api.github.com/users/laktek/gists{/gist_id}","starred_url":"https://api.github.com/users/laktek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laktek/subscriptions","organizations_url":"https://api.github.com/users/laktek/orgs","repos_url":"https://api.github.com/users/laktek/repos","events_url":"https://api.github.com/users/laktek/events{/privacy}","received_events_url":"https://api.github.com/users/laktek/received_events","type":"User","site_admin":false},"position":12,"line":31,"path":"handlers/auth.go","commit_id":"540dceb395d8bbdb12984e1c926b3e8422b2b628","created_at":"2015-01-16T23:19:18Z","updated_at":"2015-01-16T23:19:18Z","body":"Though it's not very transparent, `jwt.ParseFromRequest` do check for the existence of token param - https://github.com/dgrijalva/jwt-go/blob/master/jwt.go#L205.\r\n\r\nI added a test to verify that it returns an error when no token is given - https://github.com/ripple-cloud/cloud/blob/master/handlers/auth_test.go#L80-L81 "}}