Code Monkey home page Code Monkey logo

Comments (11)

yom21c1020 avatar yom21c1020 commented on May 28, 2024

API가 아닌 OAuth를 이용하셔야 합니다.
'사용자 인증 정보'로 가서 OAuth 클라이언트 ID를 하나 만드세요.

from kkutu.

kim-min avatar kim-min commented on May 28, 2024

클라이언트 ID는 어디에 등록하나요?

from kkutu.

msquid avatar msquid commented on May 28, 2024

구글 아이디는 Server/lib/sub/jauth.js에 넣으시면 됩니다.

from kkutu.

msquid avatar msquid commented on May 28, 2024

125 JLog.warn("Error on profile-google: "+err.toString());
126 R.go({ error: 500 });
127 }else{
128 try{ _doc = JSON.parse(_doc); }catch(e){ return R.go({ error: 500 }); }
129 if(_doc.error) return R.go({ error: _doc.error.code });/
130
131 $p.type = "google";
132 $p.id = doc.sub;
133 $p.name = doc.name;
134 $p.image = doc.picture;
135
136 R.go($p);
137 /
망할 셧다운제
138
139 $p._age = _doc.ageRange;
140 if(_doc.birthday){

만약 넣어도 안된다면 jauth.js의 이 부분에서 R.go($p);를 추가하시면 됩니다.

from kkutu.

kim-min avatar kim-min commented on May 28, 2024

음... 아직도 안되네요. google.js도 만들어 봤는데 안되네요

from kkutu.

msquid avatar msquid commented on May 28, 2024

구글 OAuth에서 제한사항 -> 승인된 Java 원본만 하셨나요? 안하셨다면 안됩니다.

from kkutu.

kim-min avatar kim-min commented on May 28, 2024

12
이렇게 하면 대부분 되지 않나요?

from kkutu.

msquid avatar msquid commented on May 28, 2024

승인된 리디렉션 URI에서 http://kkutu.kr을 지우고 저장해보세요.

from kkutu.

kim-min avatar kim-min commented on May 28, 2024

default
여전합니다...

from kkutu.

msquid avatar msquid commented on May 28, 2024

127.0.0.1에 접속하셨네요.
jjutu.kro.kr에 접속해보세요 .

그리고 Server/lib/web/views/login.pug에서 ??????????부분에 Client Id를 넣으세요.

from kkutu.

kim-min avatar kim-min commented on May 28, 2024

오오오 정상작동 합니다 감사합니다.

from kkutu.

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.