{"action":"opened","issue":{"url":"https://api.github.com/repos/LeoHeo/collect/issues/7","repository_url":"https://api.github.com/repos/LeoHeo/collect","labels_url":"https://api.github.com/repos/LeoHeo/collect/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/LeoHeo/collect/issues/7/comments","events_url":"https://api.github.com/repos/LeoHeo/collect/issues/7/events","html_url":"https://github.com/LeoHeo/collect/issues/7","id":315030586,"number":7,"title":"spring-security-oauth2-client로 social provider 정보 가지고 올때","user":{"login":"LeoHeo","id":17870294,"avatar_url":"https://avatars0.githubusercontent.com/u/17870294?v=4","gravatar_id":"","url":"https://api.github.com/users/LeoHeo","html_url":"https://github.com/LeoHeo","followers_url":"https://api.github.com/users/LeoHeo/followers","following_url":"https://api.github.com/users/LeoHeo/following{/other_user}","gists_url":"https://api.github.com/users/LeoHeo/gists{/gist_id}","starred_url":"https://api.github.com/users/LeoHeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeoHeo/subscriptions","organizations_url":"https://api.github.com/users/LeoHeo/orgs","repos_url":"https://api.github.com/users/LeoHeo/repos","events_url":"https://api.github.com/users/LeoHeo/events{/privacy}","received_events_url":"https://api.github.com/users/LeoHeo/received_events","type":"User","site_admin":false},"labels":[{"id":886139784,"url":"https://api.github.com/repos/LeoHeo/collect/labels/%EC%82%BD%EC%A7%88","name":"삽질","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"LeoHeo","id":17870294,"avatar_url":"https://avatars0.githubusercontent.com/u/17870294?v=4","gravatar_id":"","url":"https://api.github.com/users/LeoHeo","html_url":"https://github.com/LeoHeo","followers_url":"https://api.github.com/users/LeoHeo/followers","following_url":"https://api.github.com/users/LeoHeo/following{/other_user}","gists_url":"https://api.github.com/users/LeoHeo/gists{/gist_id}","starred_url":"https://api.github.com/users/LeoHeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeoHeo/subscriptions","organizations_url":"https://api.github.com/users/LeoHeo/orgs","repos_url":"https://api.github.com/users/LeoHeo/repos","events_url":"https://api.github.com/users/LeoHeo/events{/privacy}","received_events_url":"https://api.github.com/users/LeoHeo/received_events","type":"User","site_admin":false},"assignees":[{"login":"LeoHeo","id":17870294,"avatar_url":"https://avatars0.githubusercontent.com/u/17870294?v=4","gravatar_id":"","url":"https://api.github.com/users/LeoHeo","html_url":"https://github.com/LeoHeo","followers_url":"https://api.github.com/users/LeoHeo/followers","following_url":"https://api.github.com/users/LeoHeo/following{/other_user}","gists_url":"https://api.github.com/users/LeoHeo/gists{/gist_id}","starred_url":"https://api.github.com/users/LeoHeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeoHeo/subscriptions","organizations_url":"https://api.github.com/users/LeoHeo/orgs","repos_url":"https://api.github.com/users/LeoHeo/repos","events_url":"https://api.github.com/users/LeoHeo/events{/privacy}","received_events_url":"https://api.github.com/users/LeoHeo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-04-17T12:08:31Z","updated_at":"2018-04-17T12:08:31Z","closed_at":null,"author_association":"OWNER","body":"https://github.com/LeoHeo/collect/blob/b1cd389ad7d4d5b21af6cea10dd057831a7dd7f8/src/main/java/com/collect/security/WebSecurityConfig.java#L70-L71\r\n\r\n위와 같은 설정이되어 있으면 세션을 사용하지 않기 때문에\r\n\r\nsocial 로그인을 하고 나서 `HttpSessionSecurityContextReposity`로 `DefaultOAuth2User` principal이 `null이 된다.`\r\n\r\n그래서 기본 default 설정인 `IF_REQUIRED`로 설정해야 한다."}}
{"actor":{"display_login":"LeoHeo"}}