{"action":"created","comment":{"url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/pulls/comments/178716700","pull_request_review_id":108819023,"id":178716700,"diff_hunk":"@@ -128,7 +129,29 @@ public String getScope(String scope, Map<String, String> authenticatorProperties\n      * @return weather true or false\n      */\n     public boolean canHandle(HttpServletRequest httpServletRequest) {\n-        return httpServletRequest.getParameter(RedditAuthenticatorConstants.CODE) != null;\n+        return httpServletRequest.getParameter(RedditAuthenticatorConstants.CODE) != null || httpServletRequest\n+                .getParameter(RedditAuthenticatorConstants.OAUTH2_PARAM_ERROR)!=null;","path":"component/src/main/java/org/wso2/carbon/identity/authenticator/reddit/RedditAuthenticator.java","position":14,"original_position":14,"commit_id":"2a52b7be53cf6f454449ba7ef33ad7d3aac3ab90","original_commit_id":"2a52b7be53cf6f454449ba7ef33ad7d3aac3ab90","user":{"login":"hasuniea","id":12996810,"avatar_url":"https://avatars2.githubusercontent.com/u/12996810?v=4","gravatar_id":"","url":"https://api.github.com/users/hasuniea","html_url":"https://github.com/hasuniea","followers_url":"https://api.github.com/users/hasuniea/followers","following_url":"https://api.github.com/users/hasuniea/following{/other_user}","gists_url":"https://api.github.com/users/hasuniea/gists{/gist_id}","starred_url":"https://api.github.com/users/hasuniea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasuniea/subscriptions","organizations_url":"https://api.github.com/users/hasuniea/orgs","repos_url":"https://api.github.com/users/hasuniea/repos","events_url":"https://api.github.com/users/hasuniea/events{/privacy}","received_events_url":"https://api.github.com/users/hasuniea/received_events","type":"User","site_admin":false},"body":"Format the code.","created_at":"2018-04-03T05:25:26Z","updated_at":"2018-04-03T05:25:26Z","html_url":"https://github.com/wso2-extensions/identity-outbound-auth-reddit/pull/4#discussion_r178716700","pull_request_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/pulls/comments/178716700"},"html":{"href":"https://github.com/wso2-extensions/identity-outbound-auth-reddit/pull/4#discussion_r178716700"},"pull_request":{"href":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/pulls/4","id":178995595,"html_url":"https://github.com/wso2-extensions/identity-outbound-auth-reddit/pull/4","diff_url":"https://github.com/wso2-extensions/identity-outbound-auth-reddit/pull/4.diff","patch_url":"https://github.com/wso2-extensions/identity-outbound-auth-reddit/pull/4.patch","issue_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/issues/4","number":4,"state":"open","locked":false,"title":"Fixed issue when unauthorized the registered app","user":{"login":"Kanapriya","id":13362482,"avatar_url":"https://avatars0.githubusercontent.com/u/13362482?v=4","gravatar_id":"","url":"https://api.github.com/users/Kanapriya","html_url":"https://github.com/Kanapriya","followers_url":"https://api.github.com/users/Kanapriya/followers","following_url":"https://api.github.com/users/Kanapriya/following{/other_user}","gists_url":"https://api.github.com/users/Kanapriya/gists{/gist_id}","starred_url":"https://api.github.com/users/Kanapriya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kanapriya/subscriptions","organizations_url":"https://api.github.com/users/Kanapriya/orgs","repos_url":"https://api.github.com/users/Kanapriya/repos","events_url":"https://api.github.com/users/Kanapriya/events{/privacy}","received_events_url":"https://api.github.com/users/Kanapriya/received_events","type":"User","site_admin":false},"body":"## Purpose\r\nResolve the issue when unauthorized the user by clicking on \"cancel\" button in registered app.\r\n\r\n## Goals\r\n\r\n## Approach\r\n\r\n## User stories\r\n\r\n## Release note\r\n\r\n## Documentation\r\nDocumentation added with this PR inside /docs diectory\r\n\r\n## Training\r\n\r\n\r\n## Certification\r\n\r\n\r\n## Marketing\r\n\r\n\r\n## Automation tests\r\n\r\n\r\n## Security checks\r\n - Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes\r\n - Ran FindSecurityBugs plugin and verified report? yes\r\n - Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes\r\n\r\n## Samples\r\n\r\n\r\n## Related PRs\r\n\r\n\r\n## Migrations (if applicable)\r\n\r\n\r\n## Test environment\r\nJDK 1.8\r\nUbuntu\r\nMozilla\r\n \r\n## Learning","created_at":"2018-04-03T05:15:10Z","updated_at":"2018-04-03T05:25:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5adb2b0a23c26ddaa17b690bbb60249224f2b42f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/pulls/4/commits","review_comments_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/pulls/4/comments","review_comment_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/issues/4/comments","statuses_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/statuses/2a52b7be53cf6f454449ba7ef33ad7d3aac3ab90","head":{"label":"Kanapriya:master","ref":"master","sha":"2a52b7be53cf6f454449ba7ef33ad7d3aac3ab90","user":{"login":"Kanapriya","id":13362482,"avatar_url":"https://avatars0.githubusercontent.com/u/13362482?v=4","gravatar_id":"","url":"https://api.github.com/users/Kanapriya","html_url":"https://github.com/Kanapriya","followers_url":"https://api.github.com/users/Kanapriya/followers","following_url":"https://api.github.com/users/Kanapriya/following{/other_user}","gists_url":"https://api.github.com/users/Kanapriya/gists{/gist_id}","starred_url":"https://api.github.com/users/Kanapriya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kanapriya/subscriptions","organizations_url":"https://api.github.com/users/Kanapriya/orgs","repos_url":"https://api.github.com/users/Kanapriya/repos","events_url":"https://api.github.com/users/Kanapriya/events{/privacy}","received_events_url":"https://api.github.com/users/Kanapriya/received_events","type":"User","site_admin":false},"repo":{"id":126123146,"name":"identity-outbound-auth-reddit","full_name":"Kanapriya/identity-outbound-auth-reddit","owner":{"login":"Kanapriya","id":13362482,"avatar_url":"https://avatars0.githubusercontent.com/u/13362482?v=4","gravatar_id":"","url":"https://api.github.com/users/Kanapriya","html_url":"https://github.com/Kanapriya","followers_url":"https://api.github.com/users/Kanapriya/followers","following_url":"https://api.github.com/users/Kanapriya/following{/other_user}","gists_url":"https://api.github.com/users/Kanapriya/gists{/gist_id}","starred_url":"https://api.github.com/users/Kanapriya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kanapriya/subscriptions","organizations_url":"https://api.github.com/users/Kanapriya/orgs","repos_url":"https://api.github.com/users/Kanapriya/repos","events_url":"https://api.github.com/users/Kanapriya/events{/privacy}","received_events_url":"https://api.github.com/users/Kanapriya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kanapriya/identity-outbound-auth-reddit","description":null,"fork":true,"url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit","forks_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/forks","keys_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/teams","hooks_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/hooks","issue_events_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/issues/events{/number}","events_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/events","assignees_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/assignees{/user}","branches_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/branches{/branch}","tags_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/tags","blobs_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/statuses/{sha}","languages_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/languages","stargazers_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/stargazers","contributors_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/contributors","subscribers_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/subscribers","subscription_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/subscription","commits_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/contents/{+path}","compare_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/merges","archive_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/downloads","issues_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/issues{/number}","pulls_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/pulls{/number}","milestones_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/milestones{/number}","notifications_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/labels{/name}","releases_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/releases{/id}","deployments_url":"https://api.github.com/repos/Kanapriya/identity-outbound-auth-reddit/deployments","created_at":"2018-03-21T04:27:07Z","updated_at":"2018-04-03T05:10:13Z","pushed_at":"2018-04-03T05:10:11Z","git_url":"git://github.com/Kanapriya/identity-outbound-auth-reddit.git","ssh_url":"git@github.com:Kanapriya/identity-outbound-auth-reddit.git","clone_url":"https://github.com/Kanapriya/identity-outbound-auth-reddit.git","svn_url":"https://github.com/Kanapriya/identity-outbound-auth-reddit","homepage":null,"size":106,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2-extensions:master","ref":"master","sha":"aa7744413cd20c29a66fdd181aaf3e04407c9a87","user":{"login":"wso2-extensions","id":17171218,"avatar_url":"https://avatars0.githubusercontent.com/u/17171218?v=4","gravatar_id":"","url":"https://api.github.com/users/wso2-extensions","html_url":"https://github.com/wso2-extensions","followers_url":"https://api.github.com/users/wso2-extensions/followers","following_url":"https://api.github.com/users/wso2-extensions/following{/other_user}","gists_url":"https://api.github.com/users/wso2-extensions/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2-extensions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2-extensions/subscriptions","organizations_url":"https://api.github.com/users/wso2-extensions/orgs","repos_url":"https://api.github.com/users/wso2-extensions/repos","events_url":"https://api.github.com/users/wso2-extensions/events{/privacy}","received_events_url":"https://api.github.com/users/wso2-extensions/received_events","type":"Organization","site_admin":false},"repo":{"id":57880536,"name":"identity-outbound-auth-reddit","full_name":"wso2-extensions/identity-outbound-auth-reddit","owner":{"login":"wso2-extensions","id":17171218,"avatar_url":"https://avatars0.githubusercontent.com/u/17171218?v=4","gravatar_id":"","url":"https://api.github.com/users/wso2-extensions","html_url":"https://github.com/wso2-extensions","followers_url":"https://api.github.com/users/wso2-extensions/followers","following_url":"https://api.github.com/users/wso2-extensions/following{/other_user}","gists_url":"https://api.github.com/users/wso2-extensions/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2-extensions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2-extensions/subscriptions","organizations_url":"https://api.github.com/users/wso2-extensions/orgs","repos_url":"https://api.github.com/users/wso2-extensions/repos","events_url":"https://api.github.com/users/wso2-extensions/events{/privacy}","received_events_url":"https://api.github.com/users/wso2-extensions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2-extensions/identity-outbound-auth-reddit","description":null,"fork":false,"url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit","forks_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/forks","keys_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/teams","hooks_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/hooks","issue_events_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/issues/events{/number}","events_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/events","assignees_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/assignees{/user}","branches_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/branches{/branch}","tags_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/tags","blobs_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/languages","stargazers_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/stargazers","contributors_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/contributors","subscribers_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/subscribers","subscription_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/subscription","commits_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/contents/{+path}","compare_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/merges","archive_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/downloads","issues_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/issues{/number}","pulls_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/labels{/name}","releases_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/releases{/id}","deployments_url":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/deployments","created_at":"2016-05-02T10:03:30Z","updated_at":"2016-05-03T11:16:54Z","pushed_at":"2018-04-03T05:15:11Z","git_url":"git://github.com/wso2-extensions/identity-outbound-auth-reddit.git","ssh_url":"git@github.com:wso2-extensions/identity-outbound-auth-reddit.git","clone_url":"https://github.com/wso2-extensions/identity-outbound-auth-reddit.git","svn_url":"https://github.com/wso2-extensions/identity-outbound-auth-reddit","homepage":null,"size":106,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/pulls/4"},"html":{"href":"https://github.com/wso2-extensions/identity-outbound-auth-reddit/pull/4"},"issue":{"href":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/issues/4"},"comments":{"href":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/wso2-extensions/identity-outbound-auth-reddit/statuses/2a52b7be53cf6f454449ba7ef33ad7d3aac3ab90"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"hasuniea"}}