{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1267","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1267/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1267/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1267/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/1267","id":62324965,"number":1267,"title":"Support for File Upload","user":{"login":"red0point","id":963259,"avatar_url":"https://avatars.githubusercontent.com/u/963259?v=3","gravatar_id":"","url":"https://api.github.com/users/red0point","html_url":"https://github.com/red0point","followers_url":"https://api.github.com/users/red0point/followers","following_url":"https://api.github.com/users/red0point/following{/other_user}","gists_url":"https://api.github.com/users/red0point/gists{/gist_id}","starred_url":"https://api.github.com/users/red0point/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/red0point/subscriptions","organizations_url":"https://api.github.com/users/red0point/orgs","repos_url":"https://api.github.com/users/red0point/repos","events_url":"https://api.github.com/users/red0point/events{/privacy}","received_events_url":"https://api.github.com/users/red0point/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-17T08:10:51Z","updated_at":"2015-03-17T10:38:43Z","closed_at":"2015-03-17T10:38:43Z","body":"I'm currently struggling to implement a File Upload functionality with Oauth with JHipster and authenticated users using oauth. Does anybody have any tested methodologies for accomplishing just that?\r\n\r\nI'm struggling with supplying the correct headers for the upload request when using Oauth. Is there any documentation? I didn't find anything on the JHipster Website.\r\n\r\nAny plans for integrating file upload directly into JHipster? Maybe as a separate Entity with a relation to own entities? Or as an attribute?"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/82265185","html_url":"https://github.com/jhipster/generator-jhipster/issues/1267#issuecomment-82265185","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1267","id":82265185,"user":{"login":"jdubois","id":316835,"avatar_url":"https://avatars.githubusercontent.com/u/316835?v=3","gravatar_id":"","url":"https://api.github.com/users/jdubois","html_url":"https://github.com/jdubois","followers_url":"https://api.github.com/users/jdubois/followers","following_url":"https://api.github.com/users/jdubois/following{/other_user}","gists_url":"https://api.github.com/users/jdubois/gists{/gist_id}","starred_url":"https://api.github.com/users/jdubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdubois/subscriptions","organizations_url":"https://api.github.com/users/jdubois/orgs","repos_url":"https://api.github.com/users/jdubois/repos","events_url":"https://api.github.com/users/jdubois/events{/privacy}","received_events_url":"https://api.github.com/users/jdubois/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T10:38:43Z","updated_at":"2015-03-17T10:38:43Z","body":"No, nothing planned at the moment.\r\nI've already implemented this for https://github.com/ippontech/tatami -> we just used https://github.com/blueimp/jQuery-File-Upload and connected it to a Spring MVC controller. I don't know what OAuth adds to that (excepted a specific header with the token), but that shouldn't be too difficult.\r\n\r\nFor me this goes too far for JHipster, at least for the moment, so we will not do it. But indeed, if you have some documentation, or a blog post, we could document it here in this ticket."}}