{"action":"created","comment":{"url":"https://api.github.com/repos/owncloud/oauth2/pulls/comments/185813402","pull_request_review_id":117278812,"id":185813402,"diff_hunk":"@@ -0,0 +1,35 @@\n+@webUI @insulated @disablePreviews\n+Feature: obtaining an access token\n+\tAs a user\n+\tI want to ...\n+\tSo that ...\n+\n+\tScenario: receive authorization code\n+\t\tGiven these users have been created:\n+\t\t\t|username|password|displayname|email       |\n+\t\t\t|user1   |1234    |User One   |u1@oc.com.np|\n+\t\tWhen the user sends an oath2 authorization request using the webUI\n+\t\tAnd the user logs in with username \"user1\" and password \"1234\" using the webUI after a redirect from the oauth2AuthRequest page\n+\t\tAnd the user authorizes the oauth app using the webUI\n+\t\tThen the client app should receive an authorization code\n+\n+\tScenario: receive access token\n+\t\tGiven these users have been created:\n+\t\t\t|username|password|displayname|email       |\n+\t\t\t|user1   |1234    |User One   |u1@oc.com.np|\n+\t\tWhen the user sends an oath2 authorization request using the webUI\n+\t\tAnd the user logs in with username \"user1\" and password \"1234\" using the webUI after a redirect from the oauth2AuthRequest page\n+\t\tAnd the user authorizes the oauth app using the webUI\n+\t\tAnd the client app requests an access token\n+\t\tThen the client app should be able to download the file \"lorem.txt\" of \"user1\" using the access token for authentification\n+\n+\tScenario: receive access token when user is alredy loged in","path":"tests/acceptance/features/webUIOauth2/accessToken.feature","position":26,"original_position":26,"commit_id":"f6e5f57727e9929c8c892c674e9c6d9fa7b0ced2","original_commit_id":"f6e5f57727e9929c8c892c674e9c6d9fa7b0ced2","user":{"login":"phil-davis","id":1535615,"avatar_url":"https://avatars1.githubusercontent.com/u/1535615?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-davis","html_url":"https://github.com/phil-davis","followers_url":"https://api.github.com/users/phil-davis/followers","following_url":"https://api.github.com/users/phil-davis/following{/other_user}","gists_url":"https://api.github.com/users/phil-davis/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-davis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-davis/subscriptions","organizations_url":"https://api.github.com/users/phil-davis/orgs","repos_url":"https://api.github.com/users/phil-davis/repos","events_url":"https://api.github.com/users/phil-davis/events{/privacy}","received_events_url":"https://api.github.com/users/phil-davis/received_events","type":"User","site_admin":false},"body":"s/alredy/already","created_at":"2018-05-03T14:17:55Z","updated_at":"2018-05-03T14:17:55Z","html_url":"https://github.com/owncloud/oauth2/pull/132#discussion_r185813402","pull_request_url":"https://api.github.com/repos/owncloud/oauth2/pulls/132","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/owncloud/oauth2/pulls/comments/185813402"},"html":{"href":"https://github.com/owncloud/oauth2/pull/132#discussion_r185813402"},"pull_request":{"href":"https://api.github.com/repos/owncloud/oauth2/pulls/132"}}},"pull_request":{"url":"https://api.github.com/repos/owncloud/oauth2/pulls/132","id":185662803,"html_url":"https://github.com/owncloud/oauth2/pull/132","diff_url":"https://github.com/owncloud/oauth2/pull/132.diff","patch_url":"https://github.com/owncloud/oauth2/pull/132.patch","issue_url":"https://api.github.com/repos/owncloud/oauth2/issues/132","number":132,"state":"open","locked":false,"title":"[WIP] acceptance tests","user":{"login":"individual-it","id":2425577,"avatar_url":"https://avatars1.githubusercontent.com/u/2425577?v=4","gravatar_id":"","url":"https://api.github.com/users/individual-it","html_url":"https://github.com/individual-it","followers_url":"https://api.github.com/users/individual-it/followers","following_url":"https://api.github.com/users/individual-it/following{/other_user}","gists_url":"https://api.github.com/users/individual-it/gists{/gist_id}","starred_url":"https://api.github.com/users/individual-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/individual-it/subscriptions","organizations_url":"https://api.github.com/users/individual-it/orgs","repos_url":"https://api.github.com/users/individual-it/repos","events_url":"https://api.github.com/users/individual-it/events{/privacy}","received_events_url":"https://api.github.com/users/individual-it/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-03T09:40:30Z","updated_at":"2018-05-03T14:17:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7dfd3f0cf89fe750b37e6516c1e1d0d92bdfb319","assignee":{"login":"individual-it","id":2425577,"avatar_url":"https://avatars1.githubusercontent.com/u/2425577?v=4","gravatar_id":"","url":"https://api.github.com/users/individual-it","html_url":"https://github.com/individual-it","followers_url":"https://api.github.com/users/individual-it/followers","following_url":"https://api.github.com/users/individual-it/following{/other_user}","gists_url":"https://api.github.com/users/individual-it/gists{/gist_id}","starred_url":"https://api.github.com/users/individual-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/individual-it/subscriptions","organizations_url":"https://api.github.com/users/individual-it/orgs","repos_url":"https://api.github.com/users/individual-it/repos","events_url":"https://api.github.com/users/individual-it/events{/privacy}","received_events_url":"https://api.github.com/users/individual-it/received_events","type":"User","site_admin":false},"assignees":[{"login":"individual-it","id":2425577,"avatar_url":"https://avatars1.githubusercontent.com/u/2425577?v=4","gravatar_id":"","url":"https://api.github.com/users/individual-it","html_url":"https://github.com/individual-it","followers_url":"https://api.github.com/users/individual-it/followers","following_url":"https://api.github.com/users/individual-it/following{/other_user}","gists_url":"https://api.github.com/users/individual-it/gists{/gist_id}","starred_url":"https://api.github.com/users/individual-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/individual-it/subscriptions","organizations_url":"https://api.github.com/users/individual-it/orgs","repos_url":"https://api.github.com/users/individual-it/repos","events_url":"https://api.github.com/users/individual-it/events{/privacy}","received_events_url":"https://api.github.com/users/individual-it/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/owncloud/oauth2/pulls/132/commits","review_comments_url":"https://api.github.com/repos/owncloud/oauth2/pulls/132/comments","review_comment_url":"https://api.github.com/repos/owncloud/oauth2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/owncloud/oauth2/issues/132/comments","statuses_url":"https://api.github.com/repos/owncloud/oauth2/statuses/f6e5f57727e9929c8c892c674e9c6d9fa7b0ced2","head":{"label":"owncloud:acceptance-tests","ref":"acceptance-tests","sha":"f6e5f57727e9929c8c892c674e9c6d9fa7b0ced2","user":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars3.githubusercontent.com/u/1645051?v=4","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":73076742,"name":"oauth2","full_name":"owncloud/oauth2","owner":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars3.githubusercontent.com/u/1645051?v=4","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/oauth2","description":"🔐  Application for using OAuth 2.0 in ownCloud","fork":false,"url":"https://api.github.com/repos/owncloud/oauth2","forks_url":"https://api.github.com/repos/owncloud/oauth2/forks","keys_url":"https://api.github.com/repos/owncloud/oauth2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/oauth2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/oauth2/teams","hooks_url":"https://api.github.com/repos/owncloud/oauth2/hooks","issue_events_url":"https://api.github.com/repos/owncloud/oauth2/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/oauth2/events","assignees_url":"https://api.github.com/repos/owncloud/oauth2/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/oauth2/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/oauth2/tags","blobs_url":"https://api.github.com/repos/owncloud/oauth2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/oauth2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/oauth2/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/oauth2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/oauth2/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/oauth2/languages","stargazers_url":"https://api.github.com/repos/owncloud/oauth2/stargazers","contributors_url":"https://api.github.com/repos/owncloud/oauth2/contributors","subscribers_url":"https://api.github.com/repos/owncloud/oauth2/subscribers","subscription_url":"https://api.github.com/repos/owncloud/oauth2/subscription","commits_url":"https://api.github.com/repos/owncloud/oauth2/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/oauth2/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/oauth2/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/oauth2/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/oauth2/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/oauth2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/oauth2/merges","archive_url":"https://api.github.com/repos/owncloud/oauth2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/oauth2/downloads","issues_url":"https://api.github.com/repos/owncloud/oauth2/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/oauth2/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/oauth2/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/oauth2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/oauth2/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/oauth2/releases{/id}","deployments_url":"https://api.github.com/repos/owncloud/oauth2/deployments","created_at":"2016-11-07T12:35:17Z","updated_at":"2018-04-21T01:44:23Z","pushed_at":"2018-05-03T13:36:52Z","git_url":"git://github.com/owncloud/oauth2.git","ssh_url":"git@github.com:owncloud/oauth2.git","clone_url":"https://github.com/owncloud/oauth2.git","svn_url":"https://github.com/owncloud/oauth2","homepage":"","size":525,"stargazers_count":15,"watchers_count":15,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":25,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":10,"open_issues":25,"watchers":15,"default_branch":"master"}},"base":{"label":"owncloud:master","ref":"master","sha":"eed04cbe1ef14289989ae91faf0a46ed64bbab26","user":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars3.githubusercontent.com/u/1645051?v=4","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":73076742,"name":"oauth2","full_name":"owncloud/oauth2","owner":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars3.githubusercontent.com/u/1645051?v=4","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/oauth2","description":"🔐  Application for using OAuth 2.0 in ownCloud","fork":false,"url":"https://api.github.com/repos/owncloud/oauth2","forks_url":"https://api.github.com/repos/owncloud/oauth2/forks","keys_url":"https://api.github.com/repos/owncloud/oauth2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/oauth2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/oauth2/teams","hooks_url":"https://api.github.com/repos/owncloud/oauth2/hooks","issue_events_url":"https://api.github.com/repos/owncloud/oauth2/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/oauth2/events","assignees_url":"https://api.github.com/repos/owncloud/oauth2/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/oauth2/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/oauth2/tags","blobs_url":"https://api.github.com/repos/owncloud/oauth2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/oauth2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/oauth2/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/oauth2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/oauth2/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/oauth2/languages","stargazers_url":"https://api.github.com/repos/owncloud/oauth2/stargazers","contributors_url":"https://api.github.com/repos/owncloud/oauth2/contributors","subscribers_url":"https://api.github.com/repos/owncloud/oauth2/subscribers","subscription_url":"https://api.github.com/repos/owncloud/oauth2/subscription","commits_url":"https://api.github.com/repos/owncloud/oauth2/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/oauth2/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/oauth2/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/oauth2/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/oauth2/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/oauth2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/oauth2/merges","archive_url":"https://api.github.com/repos/owncloud/oauth2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/oauth2/downloads","issues_url":"https://api.github.com/repos/owncloud/oauth2/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/oauth2/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/oauth2/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/oauth2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/oauth2/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/oauth2/releases{/id}","deployments_url":"https://api.github.com/repos/owncloud/oauth2/deployments","created_at":"2016-11-07T12:35:17Z","updated_at":"2018-04-21T01:44:23Z","pushed_at":"2018-05-03T13:36:52Z","git_url":"git://github.com/owncloud/oauth2.git","ssh_url":"git@github.com:owncloud/oauth2.git","clone_url":"https://github.com/owncloud/oauth2.git","svn_url":"https://github.com/owncloud/oauth2","homepage":"","size":525,"stargazers_count":15,"watchers_count":15,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":25,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":10,"open_issues":25,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/owncloud/oauth2/pulls/132"},"html":{"href":"https://github.com/owncloud/oauth2/pull/132"},"issue":{"href":"https://api.github.com/repos/owncloud/oauth2/issues/132"},"comments":{"href":"https://api.github.com/repos/owncloud/oauth2/issues/132/comments"},"review_comments":{"href":"https://api.github.com/repos/owncloud/oauth2/pulls/132/comments"},"review_comment":{"href":"https://api.github.com/repos/owncloud/oauth2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/owncloud/oauth2/pulls/132/commits"},"statuses":{"href":"https://api.github.com/repos/owncloud/oauth2/statuses/f6e5f57727e9929c8c892c674e9c6d9fa7b0ced2"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"phil-davis"}}