{"action":"created","comment":{"url":"https://api.github.com/repos/kaleidos/grails-security-stateless/pulls/comments/23829531","id":23829531,"diff_hunk":"@@ -128,5 +128,27 @@ grails.plugin.security.stateless.springsecurity.login.passwordField = \"password\"\n The login will return 400 (BAD_REQUEST) if there isn't username or password, 401 (UNAUTHORIZED) for wrong username/password, or 200 (OK) for valid username/password. On 200, also return a JSON body with the token:\n \n ```groovy\n-[\"token\":\"Bearer eyJ1c2VybmFtZSI6InBhbGJhIn1fMUkwL3FIblpoQ2JYek5hVVVxSUw4TjAvNmk1Y3Qwb0IvamhQVFdUWGpNTT0=\"]\n+[\"token\":\"eyJ1c2VybmFtZSI6InBhbGJhIn1fMUkwL3FIblpoQ2JYek5hVVVxSUw4TjAvNmk1Y3Qwb0IvamhQVFdUWGpNTT0=\"]","path":"README.md","position":28,"original_position":28,"commit_id":"5b281c8d48693f3f102045b6757fa2dbe1f9288c","original_commit_id":"5b281c8d48693f3f102045b6757fa2dbe1f9288c","user":{"login":"pabloalba","id":782558,"avatar_url":"https://avatars.githubusercontent.com/u/782558?v=3","gravatar_id":"","url":"https://api.github.com/users/pabloalba","html_url":"https://github.com/pabloalba","followers_url":"https://api.github.com/users/pabloalba/followers","following_url":"https://api.github.com/users/pabloalba/following{/other_user}","gists_url":"https://api.github.com/users/pabloalba/gists{/gist_id}","starred_url":"https://api.github.com/users/pabloalba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabloalba/subscriptions","organizations_url":"https://api.github.com/users/pabloalba/orgs","repos_url":"https://api.github.com/users/pabloalba/repos","events_url":"https://api.github.com/users/pabloalba/events{/privacy}","received_events_url":"https://api.github.com/users/pabloalba/received_events","type":"User","site_admin":false},"body":"Y el bearer?","created_at":"2015-01-30T08:36:53Z","updated_at":"2015-01-30T08:36:53Z","html_url":"https://github.com/kaleidos/grails-security-stateless/pull/13#discussion_r23829531","pull_request_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/kaleidos/grails-security-stateless/pulls/comments/23829531"},"html":{"href":"https://github.com/kaleidos/grails-security-stateless/pull/13#discussion_r23829531"},"pull_request":{"href":"https://api.github.com/repos/kaleidos/grails-security-stateless/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/kaleidos/grails-security-stateless/pulls/13","id":28268907,"html_url":"https://github.com/kaleidos/grails-security-stateless/pull/13","diff_url":"https://github.com/kaleidos/grails-security-stateless/pull/13.diff","patch_url":"https://github.com/kaleidos/grails-security-stateless/pull/13.patch","issue_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/issues/13","number":13,"state":"open","locked":false,"title":"Added JWT Format support for the tokens","user":{"login":"Alotor","id":3418223,"avatar_url":"https://avatars.githubusercontent.com/u/3418223?v=3","gravatar_id":"","url":"https://api.github.com/users/Alotor","html_url":"https://github.com/Alotor","followers_url":"https://api.github.com/users/Alotor/followers","following_url":"https://api.github.com/users/Alotor/following{/other_user}","gists_url":"https://api.github.com/users/Alotor/gists{/gist_id}","starred_url":"https://api.github.com/users/Alotor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alotor/subscriptions","organizations_url":"https://api.github.com/users/Alotor/orgs","repos_url":"https://api.github.com/users/Alotor/repos","events_url":"https://api.github.com/users/Alotor/events{/privacy}","received_events_url":"https://api.github.com/users/Alotor/received_events","type":"User","site_admin":false},"body":"Resolves #10 adding JWT support http://jwt.io as an optional a configurable option.","created_at":"2015-01-29T10:45:26Z","updated_at":"2015-01-30T08:36:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a97adf7675467c9c0ad83f1c35c7285a5e1df235","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/pulls/13/commits","review_comments_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/pulls/13/comments","review_comment_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/pulls/comments/{number}","comments_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/issues/13/comments","statuses_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/statuses/5b281c8d48693f3f102045b6757fa2dbe1f9288c","head":{"label":"kaleidos:jwtformat","ref":"jwtformat","sha":"5b281c8d48693f3f102045b6757fa2dbe1f9288c","user":{"login":"kaleidos","id":1219587,"avatar_url":"https://avatars.githubusercontent.com/u/1219587?v=3","gravatar_id":"","url":"https://api.github.com/users/kaleidos","html_url":"https://github.com/kaleidos","followers_url":"https://api.github.com/users/kaleidos/followers","following_url":"https://api.github.com/users/kaleidos/following{/other_user}","gists_url":"https://api.github.com/users/kaleidos/gists{/gist_id}","starred_url":"https://api.github.com/users/kaleidos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaleidos/subscriptions","organizations_url":"https://api.github.com/users/kaleidos/orgs","repos_url":"https://api.github.com/users/kaleidos/repos","events_url":"https://api.github.com/users/kaleidos/events{/privacy}","received_events_url":"https://api.github.com/users/kaleidos/received_events","type":"Organization","site_admin":false},"repo":{"id":22137752,"name":"grails-security-stateless","full_name":"kaleidos/grails-security-stateless","owner":{"login":"kaleidos","id":1219587,"avatar_url":"https://avatars.githubusercontent.com/u/1219587?v=3","gravatar_id":"","url":"https://api.github.com/users/kaleidos","html_url":"https://github.com/kaleidos","followers_url":"https://api.github.com/users/kaleidos/followers","following_url":"https://api.github.com/users/kaleidos/following{/other_user}","gists_url":"https://api.github.com/users/kaleidos/gists{/gist_id}","starred_url":"https://api.github.com/users/kaleidos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaleidos/subscriptions","organizations_url":"https://api.github.com/users/kaleidos/orgs","repos_url":"https://api.github.com/users/kaleidos/repos","events_url":"https://api.github.com/users/kaleidos/events{/privacy}","received_events_url":"https://api.github.com/users/kaleidos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kaleidos/grails-security-stateless","description":"  Grails plugin to implement stateless authentication using Spring Security","fork":false,"url":"https://api.github.com/repos/kaleidos/grails-security-stateless","forks_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/forks","keys_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/teams","hooks_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/hooks","issue_events_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/issues/events{/number}","events_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/events","assignees_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/assignees{/user}","branches_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/branches{/branch}","tags_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/tags","blobs_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/statuses/{sha}","languages_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/languages","stargazers_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/stargazers","contributors_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/contributors","subscribers_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/subscribers","subscription_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/subscription","commits_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/issues/comments/{number}","contents_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/contents/{+path}","compare_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/merges","archive_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/downloads","issues_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/issues{/number}","pulls_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/pulls{/number}","milestones_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/milestones{/number}","notifications_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/labels{/name}","releases_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/releases{/id}","created_at":"2014-07-23T08:11:39Z","updated_at":"2015-01-28T15:22:34Z","pushed_at":"2015-01-29T09:27:47Z","git_url":"git://github.com/kaleidos/grails-security-stateless.git","ssh_url":"git@github.com:kaleidos/grails-security-stateless.git","clone_url":"https://github.com/kaleidos/grails-security-stateless.git","svn_url":"https://github.com/kaleidos/grails-security-stateless","homepage":null,"size":794,"stargazers_count":4,"watchers_count":4,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":4,"default_branch":"master"}},"base":{"label":"kaleidos:master","ref":"master","sha":"3b6ac880408f8b408d8071720a009ed8398753d9","user":{"login":"kaleidos","id":1219587,"avatar_url":"https://avatars.githubusercontent.com/u/1219587?v=3","gravatar_id":"","url":"https://api.github.com/users/kaleidos","html_url":"https://github.com/kaleidos","followers_url":"https://api.github.com/users/kaleidos/followers","following_url":"https://api.github.com/users/kaleidos/following{/other_user}","gists_url":"https://api.github.com/users/kaleidos/gists{/gist_id}","starred_url":"https://api.github.com/users/kaleidos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaleidos/subscriptions","organizations_url":"https://api.github.com/users/kaleidos/orgs","repos_url":"https://api.github.com/users/kaleidos/repos","events_url":"https://api.github.com/users/kaleidos/events{/privacy}","received_events_url":"https://api.github.com/users/kaleidos/received_events","type":"Organization","site_admin":false},"repo":{"id":22137752,"name":"grails-security-stateless","full_name":"kaleidos/grails-security-stateless","owner":{"login":"kaleidos","id":1219587,"avatar_url":"https://avatars.githubusercontent.com/u/1219587?v=3","gravatar_id":"","url":"https://api.github.com/users/kaleidos","html_url":"https://github.com/kaleidos","followers_url":"https://api.github.com/users/kaleidos/followers","following_url":"https://api.github.com/users/kaleidos/following{/other_user}","gists_url":"https://api.github.com/users/kaleidos/gists{/gist_id}","starred_url":"https://api.github.com/users/kaleidos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaleidos/subscriptions","organizations_url":"https://api.github.com/users/kaleidos/orgs","repos_url":"https://api.github.com/users/kaleidos/repos","events_url":"https://api.github.com/users/kaleidos/events{/privacy}","received_events_url":"https://api.github.com/users/kaleidos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kaleidos/grails-security-stateless","description":"  Grails plugin to implement stateless authentication using Spring Security","fork":false,"url":"https://api.github.com/repos/kaleidos/grails-security-stateless","forks_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/forks","keys_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/teams","hooks_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/hooks","issue_events_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/issues/events{/number}","events_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/events","assignees_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/assignees{/user}","branches_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/branches{/branch}","tags_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/tags","blobs_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/statuses/{sha}","languages_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/languages","stargazers_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/stargazers","contributors_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/contributors","subscribers_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/subscribers","subscription_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/subscription","commits_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/issues/comments/{number}","contents_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/contents/{+path}","compare_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/merges","archive_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/downloads","issues_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/issues{/number}","pulls_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/pulls{/number}","milestones_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/milestones{/number}","notifications_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/labels{/name}","releases_url":"https://api.github.com/repos/kaleidos/grails-security-stateless/releases{/id}","created_at":"2014-07-23T08:11:39Z","updated_at":"2015-01-28T15:22:34Z","pushed_at":"2015-01-29T09:27:47Z","git_url":"git://github.com/kaleidos/grails-security-stateless.git","ssh_url":"git@github.com:kaleidos/grails-security-stateless.git","clone_url":"https://github.com/kaleidos/grails-security-stateless.git","svn_url":"https://github.com/kaleidos/grails-security-stateless","homepage":null,"size":794,"stargazers_count":4,"watchers_count":4,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kaleidos/grails-security-stateless/pulls/13"},"html":{"href":"https://github.com/kaleidos/grails-security-stateless/pull/13"},"issue":{"href":"https://api.github.com/repos/kaleidos/grails-security-stateless/issues/13"},"comments":{"href":"https://api.github.com/repos/kaleidos/grails-security-stateless/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/kaleidos/grails-security-stateless/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/kaleidos/grails-security-stateless/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/kaleidos/grails-security-stateless/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/kaleidos/grails-security-stateless/statuses/5b281c8d48693f3f102045b6757fa2dbe1f9288c"}}}}