{"action":"created","issue":{"url":"https://api.github.com/repos/jaliss/securesocial/issues/538","labels_url":"https://api.github.com/repos/jaliss/securesocial/issues/538/labels{/name}","comments_url":"https://api.github.com/repos/jaliss/securesocial/issues/538/comments","events_url":"https://api.github.com/repos/jaliss/securesocial/issues/538/events","html_url":"https://github.com/jaliss/securesocial/issues/538","id":64241631,"number":538,"title":"SecuredAction ajaxCall replacement","user":{"login":"sejkorat","id":3884120,"avatar_url":"https://avatars.githubusercontent.com/u/3884120?v=3","gravatar_id":"","url":"https://api.github.com/users/sejkorat","html_url":"https://github.com/sejkorat","followers_url":"https://api.github.com/users/sejkorat/followers","following_url":"https://api.github.com/users/sejkorat/following{/other_user}","gists_url":"https://api.github.com/users/sejkorat/gists{/gist_id}","starred_url":"https://api.github.com/users/sejkorat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sejkorat/subscriptions","organizations_url":"https://api.github.com/users/sejkorat/orgs","repos_url":"https://api.github.com/users/sejkorat/repos","events_url":"https://api.github.com/users/sejkorat/events{/privacy}","received_events_url":"https://api.github.com/users/sejkorat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-25T10:53:38Z","updated_at":"2015-10-29T13:19:58Z","closed_at":"2015-10-29T13:19:58Z","body":"Hi Jaliss,\r\n\r\nIs there any replacement in the latest version for ajaxCall property? I would get status 401 when I call SecuredAction from ajax.\r\n\r\nThanks,\r\nTomas"},"comment":{"url":"https://api.github.com/repos/jaliss/securesocial/issues/comments/152176853","html_url":"https://github.com/jaliss/securesocial/issues/538#issuecomment-152176853","issue_url":"https://api.github.com/repos/jaliss/securesocial/issues/538","id":152176853,"user":{"login":"jaliss","id":997114,"avatar_url":"https://avatars.githubusercontent.com/u/997114?v=3","gravatar_id":"","url":"https://api.github.com/users/jaliss","html_url":"https://github.com/jaliss","followers_url":"https://api.github.com/users/jaliss/followers","following_url":"https://api.github.com/users/jaliss/following{/other_user}","gists_url":"https://api.github.com/users/jaliss/gists{/gist_id}","starred_url":"https://api.github.com/users/jaliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaliss/subscriptions","organizations_url":"https://api.github.com/users/jaliss/orgs","repos_url":"https://api.github.com/users/jaliss/repos","events_url":"https://api.github.com/users/jaliss/events{/privacy}","received_events_url":"https://api.github.com/users/jaliss/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T13:19:58Z","updated_at":"2015-10-29T13:19:58Z","body":"SecuredAction uses content negotiation now.  See the notAuthenticatedResult and notAuthorizedResult in the SecureSocial trait for Scala. For the Java API there's a responses parameter in the SecuredAction annotation that takes care of that (see the SecuredActionResponses interface too)"}}