Giter Club home page Giter Club logo

Comments (5)

jojoldu avatar jojoldu commented on August 22, 2024 1

@HyeonbinSa ㅎㅎ 아닙니다 :) 처음하시면 그럴수있다고 봐요 :)
재밌게 봐주셔서 감사합니다!
언제든 편하게 이슈 남겨주세요!

from freelec-springboot2-webservice.

jojoldu avatar jojoldu commented on August 22, 2024

@HyeonbinSa 님 안녕하세요 :)
질문 감사합니다!
음 일단은 스프링 시큐리티 설정을 못읽어 오는것 같고요.

  1. application-oauth.properties 파일이 있으신지,
  2. 있다면 아래와 같이 구글 정보가 등록되어있는지
spring.security.oauth2.client.registration.google.client-id=구글클라이언트ID
spring.security.oauth2.client.registration.google.client-secret=구글클라이언트시크릿
spring.security.oauth2.client.registration.google.scope=profile,email

확인해보시면 될것 같습니다 :)

from freelec-springboot2-webservice.

HyeonbinSa avatar HyeonbinSa commented on August 22, 2024

빠른 답변 정말 감사드립니다!! ㅠㅠ

말씀해주신대로 다시 한번 확인해보았는데 해당 파일도 생성해뒀고 구글 정보도 등록 완료했습니다.

하지만 같은 에러가 발생하는데 혹시 새로운 dependencies를 추가해야하는게있을까요??
스크린샷 2019-12-10 오후 3 49 36

현재 이렇게 등록해두었습니다 ㅠㅠ

감사합니다

from freelec-springboot2-webservice.

jojoldu avatar jojoldu commented on August 22, 2024

@HyeonbinSa 만드신 프로젝트를 잠깐 구경했는데요 :)
확인해보니 application-oauth.properties를 못가져오는것을 확인했습니다
아래와 같이 application.properties 에 코드를 추가하시면 됩니다!

image

spring.profiles.include=xxx

라는 설정은 application-xxx.properties 파일의 설정을 가져오라는 의미입니다.
즉, 그냥 설정에서는 기본적으로 제외되며, 저렇게 옵션을 추가해야만 외부 파일의 옵션을 가져옵니다.

자세한 설명은 p.175에서 소개하고 있습니다 :)

from freelec-springboot2-webservice.

HyeonbinSa avatar HyeonbinSa commented on August 22, 2024

정말 감사합니다.

해당 코드 추가 후에 정상적으로 작동됩니다!!!

책에 있는 내용인데 제대로 안보고 여쭤봤네요;; 죄송합니다!!

더 자세히 훑어보도록하겠습니다.

책을 보며 새로운 것에 대해 많이 알아가고 있습니다. 정말 감사합니다.

from freelec-springboot2-webservice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.