{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/zenoss/go-auth0/pulls/8","id":202357920,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMzU3OTIw","html_url":"https://github.com/zenoss/go-auth0/pull/8","diff_url":"https://github.com/zenoss/go-auth0/pull/8.diff","patch_url":"https://github.com/zenoss/go-auth0/pull/8.patch","issue_url":"https://api.github.com/repos/zenoss/go-auth0/issues/8","number":8,"state":"open","locked":false,"title":"Allow creating a client for each service","user":{"login":"spopezen","id":21313058,"node_id":"MDQ6VXNlcjIxMzEzMDU4","avatar_url":"https://avatars2.githubusercontent.com/u/21313058?v=4","gravatar_id":"","url":"https://api.github.com/users/spopezen","html_url":"https://github.com/spopezen","followers_url":"https://api.github.com/users/spopezen/followers","following_url":"https://api.github.com/users/spopezen/following{/other_user}","gists_url":"https://api.github.com/users/spopezen/gists{/gist_id}","starred_url":"https://api.github.com/users/spopezen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spopezen/subscriptions","organizations_url":"https://api.github.com/users/spopezen/orgs","repos_url":"https://api.github.com/users/spopezen/repos","events_url":"https://api.github.com/users/spopezen/events{/privacy}","received_events_url":"https://api.github.com/users/spopezen/received_events","type":"User","site_admin":false},"body":"The previous implementation was to just make one client to do all of the things.  That didn't work out well since most applications will be more specialized for the purpose, so now you can create a client for authorization or a client for the management api or a standard golang http client to your api that has all the oauth stuff hooked up.\r\n\r\nThere were also a few sensible changes to be closer to what auth0 wants (api has a path, domain should include .auth0.com, etc).\r\n\r\nAnd I added a gopkg.toml","created_at":"2018-07-18T19:37:47Z","updated_at":"2018-07-18T19:37:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zenoss/go-auth0/pulls/8/commits","review_comments_url":"https://api.github.com/repos/zenoss/go-auth0/pulls/8/comments","review_comment_url":"https://api.github.com/repos/zenoss/go-auth0/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zenoss/go-auth0/issues/8/comments","statuses_url":"https://api.github.com/repos/zenoss/go-auth0/statuses/53ee63368251dc2745d0bb799782cabb6f459308","head":{"label":"zenoss:returnServiceClient","ref":"returnServiceClient","sha":"53ee63368251dc2745d0bb799782cabb6f459308","user":{"login":"zenoss","id":243767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0Mzc2Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/243767?v=4","gravatar_id":"","url":"https://api.github.com/users/zenoss","html_url":"https://github.com/zenoss","followers_url":"https://api.github.com/users/zenoss/followers","following_url":"https://api.github.com/users/zenoss/following{/other_user}","gists_url":"https://api.github.com/users/zenoss/gists{/gist_id}","starred_url":"https://api.github.com/users/zenoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenoss/subscriptions","organizations_url":"https://api.github.com/users/zenoss/orgs","repos_url":"https://api.github.com/users/zenoss/repos","events_url":"https://api.github.com/users/zenoss/events{/privacy}","received_events_url":"https://api.github.com/users/zenoss/received_events","type":"Organization","site_admin":false},"repo":{"id":111611679,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE2MTE2Nzk=","name":"go-auth0","full_name":"zenoss/go-auth0","owner":{"login":"zenoss","id":243767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0Mzc2Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/243767?v=4","gravatar_id":"","url":"https://api.github.com/users/zenoss","html_url":"https://github.com/zenoss","followers_url":"https://api.github.com/users/zenoss/followers","following_url":"https://api.github.com/users/zenoss/following{/other_user}","gists_url":"https://api.github.com/users/zenoss/gists{/gist_id}","starred_url":"https://api.github.com/users/zenoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenoss/subscriptions","organizations_url":"https://api.github.com/users/zenoss/orgs","repos_url":"https://api.github.com/users/zenoss/repos","events_url":"https://api.github.com/users/zenoss/events{/privacy}","received_events_url":"https://api.github.com/users/zenoss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zenoss/go-auth0","description":"A Go client to Auth0 APIs","fork":false,"url":"https://api.github.com/repos/zenoss/go-auth0","forks_url":"https://api.github.com/repos/zenoss/go-auth0/forks","keys_url":"https://api.github.com/repos/zenoss/go-auth0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zenoss/go-auth0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zenoss/go-auth0/teams","hooks_url":"https://api.github.com/repos/zenoss/go-auth0/hooks","issue_events_url":"https://api.github.com/repos/zenoss/go-auth0/issues/events{/number}","events_url":"https://api.github.com/repos/zenoss/go-auth0/events","assignees_url":"https://api.github.com/repos/zenoss/go-auth0/assignees{/user}","branches_url":"https://api.github.com/repos/zenoss/go-auth0/branches{/branch}","tags_url":"https://api.github.com/repos/zenoss/go-auth0/tags","blobs_url":"https://api.github.com/repos/zenoss/go-auth0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zenoss/go-auth0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zenoss/go-auth0/git/refs{/sha}","trees_url":"https://api.github.com/repos/zenoss/go-auth0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zenoss/go-auth0/statuses/{sha}","languages_url":"https://api.github.com/repos/zenoss/go-auth0/languages","stargazers_url":"https://api.github.com/repos/zenoss/go-auth0/stargazers","contributors_url":"https://api.github.com/repos/zenoss/go-auth0/contributors","subscribers_url":"https://api.github.com/repos/zenoss/go-auth0/subscribers","subscription_url":"https://api.github.com/repos/zenoss/go-auth0/subscription","commits_url":"https://api.github.com/repos/zenoss/go-auth0/commits{/sha}","git_commits_url":"https://api.github.com/repos/zenoss/go-auth0/git/commits{/sha}","comments_url":"https://api.github.com/repos/zenoss/go-auth0/comments{/number}","issue_comment_url":"https://api.github.com/repos/zenoss/go-auth0/issues/comments{/number}","contents_url":"https://api.github.com/repos/zenoss/go-auth0/contents/{+path}","compare_url":"https://api.github.com/repos/zenoss/go-auth0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zenoss/go-auth0/merges","archive_url":"https://api.github.com/repos/zenoss/go-auth0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zenoss/go-auth0/downloads","issues_url":"https://api.github.com/repos/zenoss/go-auth0/issues{/number}","pulls_url":"https://api.github.com/repos/zenoss/go-auth0/pulls{/number}","milestones_url":"https://api.github.com/repos/zenoss/go-auth0/milestones{/number}","notifications_url":"https://api.github.com/repos/zenoss/go-auth0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zenoss/go-auth0/labels{/name}","releases_url":"https://api.github.com/repos/zenoss/go-auth0/releases{/id}","deployments_url":"https://api.github.com/repos/zenoss/go-auth0/deployments","created_at":"2017-11-21T23:09:44Z","updated_at":"2018-05-24T07:43:57Z","pushed_at":"2018-07-13T04:19:35Z","git_url":"git://github.com/zenoss/go-auth0.git","ssh_url":"git@github.com:zenoss/go-auth0.git","clone_url":"https://github.com/zenoss/go-auth0.git","svn_url":"https://github.com/zenoss/go-auth0","homepage":null,"size":47,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"zenoss:master","ref":"master","sha":"6af2227b21214c3d24b7701f83f377103bdebaef","user":{"login":"zenoss","id":243767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0Mzc2Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/243767?v=4","gravatar_id":"","url":"https://api.github.com/users/zenoss","html_url":"https://github.com/zenoss","followers_url":"https://api.github.com/users/zenoss/followers","following_url":"https://api.github.com/users/zenoss/following{/other_user}","gists_url":"https://api.github.com/users/zenoss/gists{/gist_id}","starred_url":"https://api.github.com/users/zenoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenoss/subscriptions","organizations_url":"https://api.github.com/users/zenoss/orgs","repos_url":"https://api.github.com/users/zenoss/repos","events_url":"https://api.github.com/users/zenoss/events{/privacy}","received_events_url":"https://api.github.com/users/zenoss/received_events","type":"Organization","site_admin":false},"repo":{"id":111611679,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE2MTE2Nzk=","name":"go-auth0","full_name":"zenoss/go-auth0","owner":{"login":"zenoss","id":243767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0Mzc2Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/243767?v=4","gravatar_id":"","url":"https://api.github.com/users/zenoss","html_url":"https://github.com/zenoss","followers_url":"https://api.github.com/users/zenoss/followers","following_url":"https://api.github.com/users/zenoss/following{/other_user}","gists_url":"https://api.github.com/users/zenoss/gists{/gist_id}","starred_url":"https://api.github.com/users/zenoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenoss/subscriptions","organizations_url":"https://api.github.com/users/zenoss/orgs","repos_url":"https://api.github.com/users/zenoss/repos","events_url":"https://api.github.com/users/zenoss/events{/privacy}","received_events_url":"https://api.github.com/users/zenoss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zenoss/go-auth0","description":"A Go client to Auth0 APIs","fork":false,"url":"https://api.github.com/repos/zenoss/go-auth0","forks_url":"https://api.github.com/repos/zenoss/go-auth0/forks","keys_url":"https://api.github.com/repos/zenoss/go-auth0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zenoss/go-auth0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zenoss/go-auth0/teams","hooks_url":"https://api.github.com/repos/zenoss/go-auth0/hooks","issue_events_url":"https://api.github.com/repos/zenoss/go-auth0/issues/events{/number}","events_url":"https://api.github.com/repos/zenoss/go-auth0/events","assignees_url":"https://api.github.com/repos/zenoss/go-auth0/assignees{/user}","branches_url":"https://api.github.com/repos/zenoss/go-auth0/branches{/branch}","tags_url":"https://api.github.com/repos/zenoss/go-auth0/tags","blobs_url":"https://api.github.com/repos/zenoss/go-auth0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zenoss/go-auth0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zenoss/go-auth0/git/refs{/sha}","trees_url":"https://api.github.com/repos/zenoss/go-auth0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zenoss/go-auth0/statuses/{sha}","languages_url":"https://api.github.com/repos/zenoss/go-auth0/languages","stargazers_url":"https://api.github.com/repos/zenoss/go-auth0/stargazers","contributors_url":"https://api.github.com/repos/zenoss/go-auth0/contributors","subscribers_url":"https://api.github.com/repos/zenoss/go-auth0/subscribers","subscription_url":"https://api.github.com/repos/zenoss/go-auth0/subscription","commits_url":"https://api.github.com/repos/zenoss/go-auth0/commits{/sha}","git_commits_url":"https://api.github.com/repos/zenoss/go-auth0/git/commits{/sha}","comments_url":"https://api.github.com/repos/zenoss/go-auth0/comments{/number}","issue_comment_url":"https://api.github.com/repos/zenoss/go-auth0/issues/comments{/number}","contents_url":"https://api.github.com/repos/zenoss/go-auth0/contents/{+path}","compare_url":"https://api.github.com/repos/zenoss/go-auth0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zenoss/go-auth0/merges","archive_url":"https://api.github.com/repos/zenoss/go-auth0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zenoss/go-auth0/downloads","issues_url":"https://api.github.com/repos/zenoss/go-auth0/issues{/number}","pulls_url":"https://api.github.com/repos/zenoss/go-auth0/pulls{/number}","milestones_url":"https://api.github.com/repos/zenoss/go-auth0/milestones{/number}","notifications_url":"https://api.github.com/repos/zenoss/go-auth0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zenoss/go-auth0/labels{/name}","releases_url":"https://api.github.com/repos/zenoss/go-auth0/releases{/id}","deployments_url":"https://api.github.com/repos/zenoss/go-auth0/deployments","created_at":"2017-11-21T23:09:44Z","updated_at":"2018-05-24T07:43:57Z","pushed_at":"2018-07-13T04:19:35Z","git_url":"git://github.com/zenoss/go-auth0.git","ssh_url":"git@github.com:zenoss/go-auth0.git","clone_url":"https://github.com/zenoss/go-auth0.git","svn_url":"https://github.com/zenoss/go-auth0","homepage":null,"size":47,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zenoss/go-auth0/pulls/8"},"html":{"href":"https://github.com/zenoss/go-auth0/pull/8"},"issue":{"href":"https://api.github.com/repos/zenoss/go-auth0/issues/8"},"comments":{"href":"https://api.github.com/repos/zenoss/go-auth0/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/zenoss/go-auth0/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/zenoss/go-auth0/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zenoss/go-auth0/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/zenoss/go-auth0/statuses/53ee63368251dc2745d0bb799782cabb6f459308"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":7,"additions":494,"deletions":193,"changed_files":22}}
{"actor":{"display_login":"spopezen"}}