spring:
  security:
    oauth2:
      client:
        registration:
          google:
            client-id: 구글 클라이언트 ID
            client-secret: 구글 암호키
            scope:
              - profile
              - email
          naver:
            client-id: 네이버 클라이언트 ID
            client-secret: 네이버 암호키
            redirect-uri: "{baseUrl}/login/oauth2/code/{registrationId}"
            authorization-grant-type: authorization_code
            scope:
              - name
              - email
              - profile_image
            client-name: Naver
          facebook:
            client-id: 페이스북 클라이언트 ID
            client-secret: 페이스북 암호키
            scope:
              - email
              - public_profile
          kakao:
            authorization-grant-type: authorization_code
            client-id: 카카오 클라이언트 ID
            client-secret: 카카오 암호키
            redirect-uri: "{baseUrl}/login/oauth2/code/{registrationId}"
            scope:
              - profile
              - email
            client-authentication-method: POST
            client-name: Kakao
          github:
            client-id: 깃허브 클라이언트 ID
            client-secret: 깃허브 암호키
        provider:
          naver:
            authorization-uri: https://nid.naver.com/oauth2.0/authorize
            token-uri: https://nid.naver.com/oauth2.0/token
            user-info-uri: https://openapi.naver.com/v1/nid/me
            user-name-attribute: response
          kakao:
            authorization-uri: https://kauth.kakao.com/oauth/authorize
            token-uri: https://kauth.kakao.com/oauth/token
            user-info-uri: https://kapi.kakao.com/v2/user/me
            user-name-attribute: id- 
                Notifications
    
You must be signed in to change notification settings  - Fork 5
 
gunkim/springboot-oauth2-sample
Folders and files
| Name | Name | Last commit message  | Last commit date  | |
|---|---|---|---|---|
Repository files navigation
About
Spring Security + OAuth2 Sample
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
              Packages 0
        No packages published 
      
              