{"id":18809644,"url":"https://github.com/beomjunlee/springsecurity-oauth2","last_synced_at":"2026-04-28T17:35:05.745Z","repository":{"id":77569345,"uuid":"334474029","full_name":"BeomjunLee/SpringSecurity-OAuth2","owner":"BeomjunLee","description":"spring security-oauth2","archived":false,"fork":false,"pushed_at":"2021-07-26T12:00:55.000Z","size":87,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T02:40:59.888Z","etag":null,"topics":["springboot","springdata-jpa","springsecurity-oauth2"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BeomjunLee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-30T17:40:42.000Z","updated_at":"2021-07-26T12:00:58.000Z","dependencies_parsed_at":"2023-03-12T01:02:49.442Z","dependency_job_id":null,"html_url":"https://github.com/BeomjunLee/SpringSecurity-OAuth2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BeomjunLee/SpringSecurity-OAuth2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeomjunLee%2FSpringSecurity-OAuth2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeomjunLee%2FSpringSecurity-OAuth2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeomjunLee%2FSpringSecurity-OAuth2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeomjunLee%2FSpringSecurity-OAuth2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BeomjunLee","download_url":"https://codeload.github.com/BeomjunLee/SpringSecurity-OAuth2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeomjunLee%2FSpringSecurity-OAuth2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32392300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["springboot","springdata-jpa","springsecurity-oauth2"],"created_at":"2024-11-07T23:17:11.482Z","updated_at":"2026-04-28T17:35:05.740Z","avatar_url":"https://github.com/BeomjunLee.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## SpringSecurity-OAuth2\n\n### Google, Naver Oauth2 사용 로그인 및 회원가입 구현해보기 (session)\nhttps://blog.naver.com/qjawnswkd/222226088125\n\n\u003cbr\u003e\u003cbr\u003e\n\n### OAuth2 AcccessToken, RefreshToken (추가예정)\n\n- (앱→사용자) 사용자 데이터에 접근하기 위한 권한을 요청합니다. 개념상 앱이 사용자에게 요청하지만, 실제 구현은 앱과 사용자 사이에 권한 제공기관이 중개 역할을 하는 경우가 일반적입니다.\n\n- (사용자→앱) 접근에 동의함을 증명하는 권한 부여 동의서(Authorization Grant)를 발급합니다. RFC 6749에서는 4가지 유형의 권한 부여 동의서를 정의하고 있는데 앱의 유형 및 권한 제공기관의 지원 여부에 따라 사용할 권한 부여 동의서의 유형이 결정됩니다\n\n- (앱→권한 제공기관) 권한 부여 동의서를 제출하여 접근 토큰을 요청합니다. 접근 토큰은 사용자 데이터를 잠근 자물쇠를 여는 열쇠입니다\n\n- (권한 제공기관→앱) 권한 부여 동의서를 확인하여 사용자가 동의한 데이터 항목, 범위 및 기간 등에 대한 정보가 담긴 접근 토큰을 제공합니다\n즉, 사용자 데이터에 접근할 때 사용할 열쇠를 제공하는 셈입니다\n\n- (앱→데이터 제공기관) 접근 토큰을 제출하여 사용자 데이터를 요청합니다\n\n- (데이터 제공기관→앱) 사용자 데이터를 제공합니다. 이때 앱이 제출한 접근 토큰이 유효함을 확인하고, 접근 토큰의 정보를 확인하여 제공할 데이터 항목, 범위 및 유효기간이 정해집니다.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeomjunlee%2Fspringsecurity-oauth2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeomjunlee%2Fspringsecurity-oauth2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeomjunlee%2Fspringsecurity-oauth2/lists"}