{"action":"created","issue":{"url":"https://api.github.com/repos/wistityhq/strapi/issues/15","labels_url":"https://api.github.com/repos/wistityhq/strapi/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/wistityhq/strapi/issues/15/comments","events_url":"https://api.github.com/repos/wistityhq/strapi/issues/15/events","html_url":"https://github.com/wistityhq/strapi/issues/15","id":113337516,"number":15,"title":"Documentation: Logging in","user":{"login":"gregbenner","id":1177690,"avatar_url":"https://avatars.githubusercontent.com/u/1177690?v=3","gravatar_id":"","url":"https://api.github.com/users/gregbenner","html_url":"https://github.com/gregbenner","followers_url":"https://api.github.com/users/gregbenner/followers","following_url":"https://api.github.com/users/gregbenner/following{/other_user}","gists_url":"https://api.github.com/users/gregbenner/gists{/gist_id}","starred_url":"https://api.github.com/users/gregbenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregbenner/subscriptions","organizations_url":"https://api.github.com/users/gregbenner/orgs","repos_url":"https://api.github.com/users/gregbenner/repos","events_url":"https://api.github.com/users/gregbenner/events{/privacy}","received_events_url":"https://api.github.com/users/gregbenner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wistityhq/strapi/labels/documentation","name":"documentation","color":"0052cc"},{"url":"https://api.github.com/repos/wistityhq/strapi/labels/studio","name":"studio","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"pierreburgy","id":5550462,"avatar_url":"https://avatars.githubusercontent.com/u/5550462?v=3","gravatar_id":"","url":"https://api.github.com/users/pierreburgy","html_url":"https://github.com/pierreburgy","followers_url":"https://api.github.com/users/pierreburgy/followers","following_url":"https://api.github.com/users/pierreburgy/following{/other_user}","gists_url":"https://api.github.com/users/pierreburgy/gists{/gist_id}","starred_url":"https://api.github.com/users/pierreburgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierreburgy/subscriptions","organizations_url":"https://api.github.com/users/pierreburgy/orgs","repos_url":"https://api.github.com/users/pierreburgy/repos","events_url":"https://api.github.com/users/pierreburgy/events{/privacy}","received_events_url":"https://api.github.com/users/pierreburgy/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/wistityhq/strapi/milestones/3","html_url":"https://github.com/wistityhq/strapi/milestones/v1.3.0","labels_url":"https://api.github.com/repos/wistityhq/strapi/milestones/3/labels","id":1368281,"number":3,"title":"v1.3.0","description":null,"creator":{"login":"loicsaintroch","id":2212354,"avatar_url":"https://avatars.githubusercontent.com/u/2212354?v=3","gravatar_id":"","url":"https://api.github.com/users/loicsaintroch","html_url":"https://github.com/loicsaintroch","followers_url":"https://api.github.com/users/loicsaintroch/followers","following_url":"https://api.github.com/users/loicsaintroch/following{/other_user}","gists_url":"https://api.github.com/users/loicsaintroch/gists{/gist_id}","starred_url":"https://api.github.com/users/loicsaintroch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loicsaintroch/subscriptions","organizations_url":"https://api.github.com/users/loicsaintroch/orgs","repos_url":"https://api.github.com/users/loicsaintroch/repos","events_url":"https://api.github.com/users/loicsaintroch/events{/privacy}","received_events_url":"https://api.github.com/users/loicsaintroch/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-10-21T13:49:10Z","updated_at":"2015-10-26T11:43:15Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-10-26T11:41:04Z","updated_at":"2015-10-26T23:35:49Z","closed_at":null,"body":"Would be great to show an example of logging a user in from the public site. I see the admin section has a full fledged angular application and 1000's of lines of code to do this. It's still not clear the mechanism to create a session.\r\n\r\nIs it simply a POST to /login with a response that should be added as cookie?"},"comment":{"url":"https://api.github.com/repos/wistityhq/strapi/issues/comments/151314408","html_url":"https://github.com/wistityhq/strapi/issues/15#issuecomment-151314408","issue_url":"https://api.github.com/repos/wistityhq/strapi/issues/15","id":151314408,"user":{"login":"pierreburgy","id":5550462,"avatar_url":"https://avatars.githubusercontent.com/u/5550462?v=3","gravatar_id":"","url":"https://api.github.com/users/pierreburgy","html_url":"https://github.com/pierreburgy","followers_url":"https://api.github.com/users/pierreburgy/followers","following_url":"https://api.github.com/users/pierreburgy/following{/other_user}","gists_url":"https://api.github.com/users/pierreburgy/gists{/gist_id}","starred_url":"https://api.github.com/users/pierreburgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierreburgy/subscriptions","organizations_url":"https://api.github.com/users/pierreburgy/orgs","repos_url":"https://api.github.com/users/pierreburgy/repos","events_url":"https://api.github.com/users/pierreburgy/events{/privacy}","received_events_url":"https://api.github.com/users/pierreburgy/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T23:35:49Z","updated_at":"2015-10-26T23:35:49Z","body":"Good catch, @sylvainlap just made a pull request to update the documentation : https://github.com/wistityhq/strapi-docs/pull/2\r\nThanks @gregbenner @sylvainlap"}}