{"action":"created","comment":{"url":"https://api.github.com/repos/ory-am/hydra/pulls/comments/75870821","id":75870821,"diff_hunk":"@@ -62,36 +63,36 @@ var localWarden = &warden.LocalWarden{\n \n func init() {\n \tintrospectors[\"local\"] = &oauth2.LocalIntrospector{\n-\t\tOAuth2: localWarden.OAuth2,\n-\t\tIssuer: \"tests\",\n+\t\tOAuth2:              localWarden.OAuth2,\n+\t\tIssuer:              \"tests\",\n \t\tAccessTokenLifespan: time.Hour,\n \t}\n \n \tr := httprouter.New()\n \tserv := &oauth2.Handler{\n-\t\tFirewall: localWarden,\n-\t\tH:      &herodot.JSON{},\n+\t\tFirewall:     localWarden,\n+\t\tH:            &herodot.JSON{},\n \t\tIntrospector: introspectors[\"local\"],\n \t}\n \tserv.SetRoutes(r)\n \tts = httptest.NewServer(r)\n \n \tar := fosite.NewAccessRequest(oauth2.NewSession(\"alice\"))\n-\tar.GrantedScopes = fosite.Arguments{\"core\"}\n+\tar.GrantedScopes = fosite.Arguments{0: \"core\"}\n \tar.RequestedAt = now\n \tar.Client = &fosite.DefaultClient{ID: \"siri\"}\n \tar.Session.(*oauth2.Session).Extra = map[string]interface{}{\"foo\": \"bar\"}\n \tfositeStore.CreateAccessTokenSession(nil, tokens[0][0], ar)\n \n \tar2 := fosite.NewAccessRequest(oauth2.NewSession(\"siri\"))\n-\tar2.GrantedScopes = fosite.Arguments{\"core\"}\n+\tar2.GrantedScopes = fosite.Arguments{0: \"core\"}\n \tar2.RequestedAt = now\n \tar2.Session.(*oauth2.Session).Extra = map[string]interface{}{\"foo\": \"bar\"}\n \tar2.Client = &fosite.DefaultClient{ID: \"siri\"}\n \tfositeStore.CreateAccessTokenSession(nil, tokens[1][0], ar2)\n \n \tar3 := fosite.NewAccessRequest(oauth2.NewSession(\"siri\"))\n-\tar3.GrantedScopes = fosite.Arguments{\"core\"}\n+\tar3.GrantedScopes = fosite.Arguments{0: \"core\"}","path":"oauth2/introspector_test.go","position":93,"original_position":93,"commit_id":"7ab95c5b6e7a81c08bbc1c5b6708193a65ea6334","original_commit_id":"7ab95c5b6e7a81c08bbc1c5b6708193a65ea6334","user":{"login":"leetal","id":1221839,"avatar_url":"https://avatars.githubusercontent.com/u/1221839?v=3","gravatar_id":"","url":"https://api.github.com/users/leetal","html_url":"https://github.com/leetal","followers_url":"https://api.github.com/users/leetal/followers","following_url":"https://api.github.com/users/leetal/following{/other_user}","gists_url":"https://api.github.com/users/leetal/gists{/gist_id}","starred_url":"https://api.github.com/users/leetal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leetal/subscriptions","organizations_url":"https://api.github.com/users/leetal/orgs","repos_url":"https://api.github.com/users/leetal/repos","events_url":"https://api.github.com/users/leetal/events{/privacy}","received_events_url":"https://api.github.com/users/leetal/received_events","type":"User","site_admin":false},"body":"Yeah ;) I think i'll remove the 0's. Will just confuse lesser bewildered gophers.","created_at":"2016-08-23T13:58:34Z","updated_at":"2016-08-23T13:58:34Z","html_url":"https://github.com/ory-am/hydra/pull/231#discussion_r75870821","pull_request_url":"https://api.github.com/repos/ory-am/hydra/pulls/231","_links":{"self":{"href":"https://api.github.com/repos/ory-am/hydra/pulls/comments/75870821"},"html":{"href":"https://github.com/ory-am/hydra/pull/231#discussion_r75870821"},"pull_request":{"href":"https://api.github.com/repos/ory-am/hydra/pulls/231"}}},"pull_request":{"url":"https://api.github.com/repos/ory-am/hydra/pulls/231","id":82366003,"html_url":"https://github.com/ory-am/hydra/pull/231","diff_url":"https://github.com/ory-am/hydra/pull/231.diff","patch_url":"https://github.com/ory-am/hydra/pull/231.patch","issue_url":"https://api.github.com/repos/ory-am/hydra/issues/231","number":231,"state":"open","locked":false,"title":"vendor: updated jwt-go to 3.0.0. Also fixed a few go vet issues.","user":{"login":"leetal","id":1221839,"avatar_url":"https://avatars.githubusercontent.com/u/1221839?v=3","gravatar_id":"","url":"https://api.github.com/users/leetal","html_url":"https://github.com/leetal","followers_url":"https://api.github.com/users/leetal/followers","following_url":"https://api.github.com/users/leetal/following{/other_user}","gists_url":"https://api.github.com/users/leetal/gists{/gist_id}","starred_url":"https://api.github.com/users/leetal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leetal/subscriptions","organizations_url":"https://api.github.com/users/leetal/orgs","repos_url":"https://api.github.com/users/leetal/repos","events_url":"https://api.github.com/users/leetal/events{/privacy}","received_events_url":"https://api.github.com/users/leetal/received_events","type":"User","site_admin":false},"body":"This is in reply to #229.\r\n\r\n**WIP:** This uses the current HEAD ref in .glide for Fosite. This MUST be changed prior to accepting this PR.\r\n\r\n_**NOTE:** Untested_","created_at":"2016-08-23T13:37:14Z","updated_at":"2016-08-23T13:58:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"430f9fa1e76f4a9cb290d080f0c15bfd69f83737","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ory-am/hydra/pulls/231/commits","review_comments_url":"https://api.github.com/repos/ory-am/hydra/pulls/231/comments","review_comment_url":"https://api.github.com/repos/ory-am/hydra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ory-am/hydra/issues/231/comments","statuses_url":"https://api.github.com/repos/ory-am/hydra/statuses/7ab95c5b6e7a81c08bbc1c5b6708193a65ea6334","head":{"label":"leetal:master","ref":"master","sha":"7ab95c5b6e7a81c08bbc1c5b6708193a65ea6334","user":{"login":"leetal","id":1221839,"avatar_url":"https://avatars.githubusercontent.com/u/1221839?v=3","gravatar_id":"","url":"https://api.github.com/users/leetal","html_url":"https://github.com/leetal","followers_url":"https://api.github.com/users/leetal/followers","following_url":"https://api.github.com/users/leetal/following{/other_user}","gists_url":"https://api.github.com/users/leetal/gists{/gist_id}","starred_url":"https://api.github.com/users/leetal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leetal/subscriptions","organizations_url":"https://api.github.com/users/leetal/orgs","repos_url":"https://api.github.com/users/leetal/repos","events_url":"https://api.github.com/users/leetal/events{/privacy}","received_events_url":"https://api.github.com/users/leetal/received_events","type":"User","site_admin":false},"repo":{"id":66360726,"name":"hydra","full_name":"leetal/hydra","owner":{"login":"leetal","id":1221839,"avatar_url":"https://avatars.githubusercontent.com/u/1221839?v=3","gravatar_id":"","url":"https://api.github.com/users/leetal","html_url":"https://github.com/leetal","followers_url":"https://api.github.com/users/leetal/followers","following_url":"https://api.github.com/users/leetal/following{/other_user}","gists_url":"https://api.github.com/users/leetal/gists{/gist_id}","starred_url":"https://api.github.com/users/leetal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leetal/subscriptions","organizations_url":"https://api.github.com/users/leetal/orgs","repos_url":"https://api.github.com/users/leetal/repos","events_url":"https://api.github.com/users/leetal/events{/privacy}","received_events_url":"https://api.github.com/users/leetal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leetal/hydra","description":"Run your very own low-latency, api-only, cloud native OAuth2 and OpenID Connect provider within minutes. Integrates with existing authentication mechanisms. Written in Google Go.","fork":true,"url":"https://api.github.com/repos/leetal/hydra","forks_url":"https://api.github.com/repos/leetal/hydra/forks","keys_url":"https://api.github.com/repos/leetal/hydra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leetal/hydra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leetal/hydra/teams","hooks_url":"https://api.github.com/repos/leetal/hydra/hooks","issue_events_url":"https://api.github.com/repos/leetal/hydra/issues/events{/number}","events_url":"https://api.github.com/repos/leetal/hydra/events","assignees_url":"https://api.github.com/repos/leetal/hydra/assignees{/user}","branches_url":"https://api.github.com/repos/leetal/hydra/branches{/branch}","tags_url":"https://api.github.com/repos/leetal/hydra/tags","blobs_url":"https://api.github.com/repos/leetal/hydra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leetal/hydra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leetal/hydra/git/refs{/sha}","trees_url":"https://api.github.com/repos/leetal/hydra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leetal/hydra/statuses/{sha}","languages_url":"https://api.github.com/repos/leetal/hydra/languages","stargazers_url":"https://api.github.com/repos/leetal/hydra/stargazers","contributors_url":"https://api.github.com/repos/leetal/hydra/contributors","subscribers_url":"https://api.github.com/repos/leetal/hydra/subscribers","subscription_url":"https://api.github.com/repos/leetal/hydra/subscription","commits_url":"https://api.github.com/repos/leetal/hydra/commits{/sha}","git_commits_url":"https://api.github.com/repos/leetal/hydra/git/commits{/sha}","comments_url":"https://api.github.com/repos/leetal/hydra/comments{/number}","issue_comment_url":"https://api.github.com/repos/leetal/hydra/issues/comments{/number}","contents_url":"https://api.github.com/repos/leetal/hydra/contents/{+path}","compare_url":"https://api.github.com/repos/leetal/hydra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leetal/hydra/merges","archive_url":"https://api.github.com/repos/leetal/hydra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leetal/hydra/downloads","issues_url":"https://api.github.com/repos/leetal/hydra/issues{/number}","pulls_url":"https://api.github.com/repos/leetal/hydra/pulls{/number}","milestones_url":"https://api.github.com/repos/leetal/hydra/milestones{/number}","notifications_url":"https://api.github.com/repos/leetal/hydra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leetal/hydra/labels{/name}","releases_url":"https://api.github.com/repos/leetal/hydra/releases{/id}","deployments_url":"https://api.github.com/repos/leetal/hydra/deployments","created_at":"2016-08-23T11:21:41Z","updated_at":"2016-08-23T11:21:43Z","pushed_at":"2016-08-23T13:33:16Z","git_url":"git://github.com/leetal/hydra.git","ssh_url":"git@github.com:leetal/hydra.git","clone_url":"https://github.com/leetal/hydra.git","svn_url":"https://github.com/leetal/hydra","homepage":"https://ory.am/hydra","size":15208,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ory-am:master","ref":"master","sha":"c77f435572c02baf64766f0728599a4853acd95c","user":{"login":"ory-am","id":10667373,"avatar_url":"https://avatars.githubusercontent.com/u/10667373?v=3","gravatar_id":"","url":"https://api.github.com/users/ory-am","html_url":"https://github.com/ory-am","followers_url":"https://api.github.com/users/ory-am/followers","following_url":"https://api.github.com/users/ory-am/following{/other_user}","gists_url":"https://api.github.com/users/ory-am/gists{/gist_id}","starred_url":"https://api.github.com/users/ory-am/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ory-am/subscriptions","organizations_url":"https://api.github.com/users/ory-am/orgs","repos_url":"https://api.github.com/users/ory-am/repos","events_url":"https://api.github.com/users/ory-am/events{/privacy}","received_events_url":"https://api.github.com/users/ory-am/received_events","type":"Organization","site_admin":false},"repo":{"id":36071697,"name":"hydra","full_name":"ory-am/hydra","owner":{"login":"ory-am","id":10667373,"avatar_url":"https://avatars.githubusercontent.com/u/10667373?v=3","gravatar_id":"","url":"https://api.github.com/users/ory-am","html_url":"https://github.com/ory-am","followers_url":"https://api.github.com/users/ory-am/followers","following_url":"https://api.github.com/users/ory-am/following{/other_user}","gists_url":"https://api.github.com/users/ory-am/gists{/gist_id}","starred_url":"https://api.github.com/users/ory-am/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ory-am/subscriptions","organizations_url":"https://api.github.com/users/ory-am/orgs","repos_url":"https://api.github.com/users/ory-am/repos","events_url":"https://api.github.com/users/ory-am/events{/privacy}","received_events_url":"https://api.github.com/users/ory-am/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ory-am/hydra","description":"Run your very own low-latency, api-only, cloud native OAuth2 and OpenID Connect provider within minutes. Integrates with existing authentication mechanisms. Written in Google Go.","fork":false,"url":"https://api.github.com/repos/ory-am/hydra","forks_url":"https://api.github.com/repos/ory-am/hydra/forks","keys_url":"https://api.github.com/repos/ory-am/hydra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ory-am/hydra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ory-am/hydra/teams","hooks_url":"https://api.github.com/repos/ory-am/hydra/hooks","issue_events_url":"https://api.github.com/repos/ory-am/hydra/issues/events{/number}","events_url":"https://api.github.com/repos/ory-am/hydra/events","assignees_url":"https://api.github.com/repos/ory-am/hydra/assignees{/user}","branches_url":"https://api.github.com/repos/ory-am/hydra/branches{/branch}","tags_url":"https://api.github.com/repos/ory-am/hydra/tags","blobs_url":"https://api.github.com/repos/ory-am/hydra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ory-am/hydra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ory-am/hydra/git/refs{/sha}","trees_url":"https://api.github.com/repos/ory-am/hydra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ory-am/hydra/statuses/{sha}","languages_url":"https://api.github.com/repos/ory-am/hydra/languages","stargazers_url":"https://api.github.com/repos/ory-am/hydra/stargazers","contributors_url":"https://api.github.com/repos/ory-am/hydra/contributors","subscribers_url":"https://api.github.com/repos/ory-am/hydra/subscribers","subscription_url":"https://api.github.com/repos/ory-am/hydra/subscription","commits_url":"https://api.github.com/repos/ory-am/hydra/commits{/sha}","git_commits_url":"https://api.github.com/repos/ory-am/hydra/git/commits{/sha}","comments_url":"https://api.github.com/repos/ory-am/hydra/comments{/number}","issue_comment_url":"https://api.github.com/repos/ory-am/hydra/issues/comments{/number}","contents_url":"https://api.github.com/repos/ory-am/hydra/contents/{+path}","compare_url":"https://api.github.com/repos/ory-am/hydra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ory-am/hydra/merges","archive_url":"https://api.github.com/repos/ory-am/hydra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ory-am/hydra/downloads","issues_url":"https://api.github.com/repos/ory-am/hydra/issues{/number}","pulls_url":"https://api.github.com/repos/ory-am/hydra/pulls{/number}","milestones_url":"https://api.github.com/repos/ory-am/hydra/milestones{/number}","notifications_url":"https://api.github.com/repos/ory-am/hydra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ory-am/hydra/labels{/name}","releases_url":"https://api.github.com/repos/ory-am/hydra/releases{/id}","deployments_url":"https://api.github.com/repos/ory-am/hydra/deployments","created_at":"2015-05-22T12:42:08Z","updated_at":"2016-08-23T12:20:48Z","pushed_at":"2016-08-23T13:37:15Z","git_url":"git://github.com/ory-am/hydra.git","ssh_url":"git@github.com:ory-am/hydra.git","clone_url":"https://github.com/ory-am/hydra.git","svn_url":"https://github.com/ory-am/hydra","homepage":"https://ory.am/hydra","size":15208,"stargazers_count":1754,"watchers_count":1754,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":80,"mirror_url":null,"open_issues_count":31,"forks":80,"open_issues":31,"watchers":1754,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ory-am/hydra/pulls/231"},"html":{"href":"https://github.com/ory-am/hydra/pull/231"},"issue":{"href":"https://api.github.com/repos/ory-am/hydra/issues/231"},"comments":{"href":"https://api.github.com/repos/ory-am/hydra/issues/231/comments"},"review_comments":{"href":"https://api.github.com/repos/ory-am/hydra/pulls/231/comments"},"review_comment":{"href":"https://api.github.com/repos/ory-am/hydra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ory-am/hydra/pulls/231/commits"},"statuses":{"href":"https://api.github.com/repos/ory-am/hydra/statuses/7ab95c5b6e7a81c08bbc1c5b6708193a65ea6334"}}}}
{"actor":{"display_login":"leetal"}}