payload: {"action":"created","comment":{"url":"https://api.github.com/repos/okta/okta-sdk-golang/pulls/comments/309415202","pull_request_review_id":269261503,"id":309415202,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwOTQxNTIwMg==","diff_hunk":"@@ -118,22 +116,19 @@ This library should only be used with the Okta management API. To call the [Auth\n \n ### Get a User\n ```\n-config := okta.NewConfig()\n-client := okta.NewClient(config, nil, nil)\n+client := okta.NewClient(context, okta.WithOrgUrl(\"https://{yourOktaDomain}\"), okta.WithToken(\"{apiToken}\"))","path":"README.md","position":26,"original_position":26,"commit_id":"5195336fd55e5c7f3bc40a474a6c81025304646d","original_commit_id":"5195336fd55e5c7f3bc40a474a6c81025304646d","user":{"login":"bretterer","id":1906920,"node_id":"MDQ6VXNlcjE5MDY5MjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1906920?v=4","gravatar_id":"","url":"https://api.github.com/users/bretterer","html_url":"https://github.com/bretterer","followers_url":"https://api.github.com/users/bretterer/followers","following_url":"https://api.github.com/users/bretterer/following{/other_user}","gists_url":"https://api.github.com/users/bretterer/gists{/gist_id}","starred_url":"https://api.github.com/users/bretterer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bretterer/subscriptions","organizations_url":"https://api.github.com/users/bretterer/orgs","repos_url":"https://api.github.com/users/bretterer/repos","events_url":"https://api.github.com/users/bretterer/events{/privacy}","received_events_url":"https://api.github.com/users/bretterer/received_events","type":"User","site_admin":false},"body":"This was decided on about a year ago to have copy/paste-able that included the client.","created_at":"2019-07-31T20:25:21Z","updated_at":"2019-07-31T20:25:21Z","html_url":"https://github.com/okta/okta-sdk-golang/pull/77#discussion_r309415202","pull_request_url":"https://api.github.com/repos/okta/okta-sdk-golang/pulls/77","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/okta/okta-sdk-golang/pulls/comments/309415202"},"html":{"href":"https://github.com/okta/okta-sdk-golang/pull/77#discussion_r309415202"},"pull_request":{"href":"https://api.github.com/repos/okta/okta-sdk-golang/pulls/77"}},"in_reply_to_id":309414466},"pull_request":{"url":"https://api.github.com/repos/okta/okta-sdk-golang/pulls/77","id":303070942,"node_id":"MDExOlB1bGxSZXF1ZXN0MzAzMDcwOTQy","html_url":"https://github.com/okta/okta-sdk-golang/pull/77","diff_url":"https://github.com/okta/okta-sdk-golang/pull/77.diff","patch_url":"https://github.com/okta/okta-sdk-golang/pull/77.patch","issue_url":"https://api.github.com/repos/okta/okta-sdk-golang/issues/77","number":77,"state":"open","locked":false,"title":"Configuration Checks added","user":{"login":"bretterer","id":1906920,"node_id":"MDQ6VXNlcjE5MDY5MjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1906920?v=4","gravatar_id":"","url":"https://api.github.com/users/bretterer","html_url":"https://github.com/bretterer","followers_url":"https://api.github.com/users/bretterer/followers","following_url":"https://api.github.com/users/bretterer/following{/other_user}","gists_url":"https://api.github.com/users/bretterer/gists{/gist_id}","starred_url":"https://api.github.com/users/bretterer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bretterer/subscriptions","organizations_url":"https://api.github.com/users/bretterer/orgs","repos_url":"https://api.github.com/users/bretterer/repos","events_url":"https://api.github.com/users/bretterer/events{/privacy}","received_events_url":"https://api.github.com/users/bretterer/received_events","type":"User","site_admin":false},"body":"I have added configuration checks which resolves OKTA-221069\r\n\r\nThis change breaks the way config and client generation is done.  You no longer pass in a config object into the client, but rather pass in the `With*` methods in as the final properties for the client.\r\n\r\n```\r\nclient, err := okta.NewClient(context, okta.WithOrgUrl(\"\"), okta.WithToken(\"xxxxx\")\r\n```\r\n\r\nif an error shows in the configuration, a panic will be triggered preventing the app from running.\r\n\r\n\r\nReadme has been updated to reflect this.","created_at":"2019-07-31T18:17:28Z","updated_at":"2019-07-31T20:25:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0207a97f12ad776d81a55f4973deebb24eeac369","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/okta/okta-sdk-golang/pulls/77/commits","review_comments_url":"https://api.github.com/repos/okta/okta-sdk-golang/pulls/77/comments","review_comment_url":"https://api.github.com/repos/okta/okta-sdk-golang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/okta/okta-sdk-golang/issues/77/comments","statuses_url":"https://api.github.com/repos/okta/okta-sdk-golang/statuses/5195336fd55e5c7f3bc40a474a6c81025304646d","head":{"label":"okta:okta-221069","ref":"okta-221069","sha":"5195336fd55e5c7f3bc40a474a6c81025304646d","user":{"login":"okta","id":362460,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MjQ2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/362460?v=4","gravatar_id":"","url":"https://api.github.com/users/okta","html_url":"https://github.com/okta","followers_url":"https://api.github.com/users/okta/followers","following_url":"https://api.github.com/users/okta/following{/other_user}","gists_url":"https://api.github.com/users/okta/gists{/gist_id}","starred_url":"https://api.github.com/users/okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okta/subscriptions","organizations_url":"https://api.github.com/users/okta/orgs","repos_url":"https://api.github.com/users/okta/repos","events_url":"https://api.github.com/users/okta/events{/privacy}","received_events_url":"https://api.github.com/users/okta/received_events","type":"Organization","site_admin":false},"repo":{"id":131864021,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE4NjQwMjE=","name":"okta-sdk-golang","full_name":"okta/okta-sdk-golang","private":false,"owner":{"login":"okta","id":362460,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MjQ2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/362460?v=4","gravatar_id":"","url":"https://api.github.com/users/okta","html_url":"https://github.com/okta","followers_url":"https://api.github.com/users/okta/followers","following_url":"https://api.github.com/users/okta/following{/other_user}","gists_url":"https://api.github.com/users/okta/gists{/gist_id}","starred_url":"https://api.github.com/users/okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okta/subscriptions","organizations_url":"https://api.github.com/users/okta/orgs","repos_url":"https://api.github.com/users/okta/repos","events_url":"https://api.github.com/users/okta/events{/privacy}","received_events_url":"https://api.github.com/users/okta/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/okta/okta-sdk-golang","description":"okta-sdk-golang","fork":false,"url":"https://api.github.com/repos/okta/okta-sdk-golang","forks_url":"https://api.github.com/repos/okta/okta-sdk-golang/forks","keys_url":"https://api.github.com/repos/okta/okta-sdk-golang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okta/okta-sdk-golang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okta/okta-sdk-golang/teams","hooks_url":"https://api.github.com/repos/okta/okta-sdk-golang/hooks","issue_events_url":"https://api.github.com/repos/okta/okta-sdk-golang/issues/events{/number}","events_url":"https://api.github.com/repos/okta/okta-sdk-golang/events","assignees_url":"https://api.github.com/repos/okta/okta-sdk-golang/assignees{/user}","branches_url":"https://api.github.com/repos/okta/okta-sdk-golang/branches{/branch}","tags_url":"https://api.github.com/repos/okta/okta-sdk-golang/tags","blobs_url":"https://api.github.com/repos/okta/okta-sdk-golang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okta/okta-sdk-golang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okta/okta-sdk-golang/git/refs{/sha}","trees_url":"https://api.github.com/repos/okta/okta-sdk-golang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okta/okta-sdk-golang/statuses/{sha}","languages_url":"https://api.github.com/repos/okta/okta-sdk-golang/languages","stargazers_url":"https://api.github.com/repos/okta/okta-sdk-golang/stargazers","contributors_url":"https://api.github.com/repos/okta/okta-sdk-golang/contributors","subscribers_url":"https://api.github.com/repos/okta/okta-sdk-golang/subscribers","subscription_url":"https://api.github.com/repos/okta/okta-sdk-golang/subscription","commits_url":"https://api.github.com/repos/okta/okta-sdk-golang/commits{/sha}","git_commits_url":"https://api.github.com/repos/okta/okta-sdk-golang/git/commits{/sha}","comments_url":"https://api.github.com/repos/okta/okta-sdk-golang/comments{/number}","issue_comment_url":"https://api.github.com/repos/okta/okta-sdk-golang/issues/comments{/number}","contents_url":"https://api.github.com/repos/okta/okta-sdk-golang/contents/{+path}","compare_url":"https://api.github.com/repos/okta/okta-sdk-golang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okta/okta-sdk-golang/merges","archive_url":"https://api.github.com/repos/okta/okta-sdk-golang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okta/okta-sdk-golang/downloads","issues_url":"https://api.github.com/repos/okta/okta-sdk-golang/issues{/number}","pulls_url":"https://api.github.com/repos/okta/okta-sdk-golang/pulls{/number}","milestones_url":"https://api.github.com/repos/okta/okta-sdk-golang/milestones{/number}","notifications_url":"https://api.github.com/repos/okta/okta-sdk-golang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okta/okta-sdk-golang/labels{/name}","releases_url":"https://api.github.com/repos/okta/okta-sdk-golang/releases{/id}","deployments_url":"https://api.github.com/repos/okta/okta-sdk-golang/deployments","created_at":"2018-05-02T14:39:14Z","updated_at":"2019-07-27T16:25:31Z","pushed_at":"2019-07-31T19:25:22Z","git_url":"git://github.com/okta/okta-sdk-golang.git","ssh_url":"git@github.com:okta/okta-sdk-golang.git","clone_url":"https://github.com/okta/okta-sdk-golang.git","svn_url":"https://github.com/okta/okta-sdk-golang","homepage":"https://github.com/okta/okta-sdk-golang","size":1551,"stargazers_count":23,"watchers_count":23,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":28,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":21,"open_issues":28,"watchers":23,"default_branch":"master"}},"base":{"label":"okta:develop","ref":"develop","sha":"b43ae6e821c049f3f9caf99531f414ea46f9e2ea","user":{"login":"okta","id":362460,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MjQ2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/362460?v=4","gravatar_id":"","url":"https://api.github.com/users/okta","html_url":"https://github.com/okta","followers_url":"https://api.github.com/users/okta/followers","following_url":"https://api.github.com/users/okta/following{/other_user}","gists_url":"https://api.github.com/users/okta/gists{/gist_id}","starred_url":"https://api.github.com/users/okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okta/subscriptions","organizations_url":"https://api.github.com/users/okta/orgs","repos_url":"https://api.github.com/users/okta/repos","events_url":"https://api.github.com/users/okta/events{/privacy}","received_events_url":"https://api.github.com/users/okta/received_events","type":"Organization","site_admin":false},"repo":{"id":131864021,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE4NjQwMjE=","name":"okta-sdk-golang","full_name":"okta/okta-sdk-golang","private":false,"owner":{"login":"okta","id":362460,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MjQ2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/362460?v=4","gravatar_id":"","url":"https://api.github.com/users/okta","html_url":"https://github.com/okta","followers_url":"https://api.github.com/users/okta/followers","following_url":"https://api.github.com/users/okta/following{/other_user}","gists_url":"https://api.github.com/users/okta/gists{/gist_id}","starred_url":"https://api.github.com/users/okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okta/subscriptions","organizations_url":"https://api.github.com/users/okta/orgs","repos_url":"https://api.github.com/users/okta/repos","events_url":"https://api.github.com/users/okta/events{/privacy}","received_events_url":"https://api.github.com/users/okta/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/okta/okta-sdk-golang","description":"okta-sdk-golang","fork":false,"url":"https://api.github.com/repos/okta/okta-sdk-golang","forks_url":"https://api.github.com/repos/okta/okta-sdk-golang/forks","keys_url":"https://api.github.com/repos/okta/okta-sdk-golang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okta/okta-sdk-golang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okta/okta-sdk-golang/teams","hooks_url":"https://api.github.com/repos/okta/okta-sdk-golang/hooks","issue_events_url":"https://api.github.com/repos/okta/okta-sdk-golang/issues/events{/number}","events_url":"https://api.github.com/repos/okta/okta-sdk-golang/events","assignees_url":"https://api.github.com/repos/okta/okta-sdk-golang/assignees{/user}","branches_url":"https://api.github.com/repos/okta/okta-sdk-golang/branches{/branch}","tags_url":"https://api.github.com/repos/okta/okta-sdk-golang/tags","blobs_url":"https://api.github.com/repos/okta/okta-sdk-golang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okta/okta-sdk-golang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okta/okta-sdk-golang/git/refs{/sha}","trees_url":"https://api.github.com/repos/okta/okta-sdk-golang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okta/okta-sdk-golang/statuses/{sha}","languages_url":"https://api.github.com/repos/okta/okta-sdk-golang/languages","stargazers_url":"https://api.github.com/repos/okta/okta-sdk-golang/stargazers","contributors_url":"https://api.github.com/repos/okta/okta-sdk-golang/contributors","subscribers_url":"https://api.github.com/repos/okta/okta-sdk-golang/subscribers","subscription_url":"https://api.github.com/repos/okta/okta-sdk-golang/subscription","commits_url":"https://api.github.com/repos/okta/okta-sdk-golang/commits{/sha}","git_commits_url":"https://api.github.com/repos/okta/okta-sdk-golang/git/commits{/sha}","comments_url":"https://api.github.com/repos/okta/okta-sdk-golang/comments{/number}","issue_comment_url":"https://api.github.com/repos/okta/okta-sdk-golang/issues/comments{/number}","contents_url":"https://api.github.com/repos/okta/okta-sdk-golang/contents/{+path}","compare_url":"https://api.github.com/repos/okta/okta-sdk-golang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okta/okta-sdk-golang/merges","archive_url":"https://api.github.com/repos/okta/okta-sdk-golang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okta/okta-sdk-golang/downloads","issues_url":"https://api.github.com/repos/okta/okta-sdk-golang/issues{/number}","pulls_url":"https://api.github.com/repos/okta/okta-sdk-golang/pulls{/number}","milestones_url":"https://api.github.com/repos/okta/okta-sdk-golang/milestones{/number}","notifications_url":"https://api.github.com/repos/okta/okta-sdk-golang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okta/okta-sdk-golang/labels{/name}","releases_url":"https://api.github.com/repos/okta/okta-sdk-golang/releases{/id}","deployments_url":"https://api.github.com/repos/okta/okta-sdk-golang/deployments","created_at":"2018-05-02T14:39:14Z","updated_at":"2019-07-27T16:25:31Z","pushed_at":"2019-07-31T19:25:22Z","git_url":"git://github.com/okta/okta-sdk-golang.git","ssh_url":"git@github.com:okta/okta-sdk-golang.git","clone_url":"https://github.com/okta/okta-sdk-golang.git","svn_url":"https://github.com/okta/okta-sdk-golang","homepage":"https://github.com/okta/okta-sdk-golang","size":1551,"stargazers_count":23,"watchers_count":23,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":28,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":21,"open_issues":28,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/okta/okta-sdk-golang/pulls/77"},"html":{"href":"https://github.com/okta/okta-sdk-golang/pull/77"},"issue":{"href":"https://api.github.com/repos/okta/okta-sdk-golang/issues/77"},"comments":{"href":"https://api.github.com/repos/okta/okta-sdk-golang/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/okta/okta-sdk-golang/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/okta/okta-sdk-golang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/okta/okta-sdk-golang/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/okta/okta-sdk-golang/statuses/5195336fd55e5c7f3bc40a474a6c81025304646d"}},"author_association":"COLLABORATOR"}}
other: {"actor":{"display_login":"bretterer"}}