Giter Club home page Giter Club logo

social-login-example's Introduction

social-login-example

다양한 소셜로그인들을 예제로 일단 만들어서 나중에 써먹을려고함.

  • Google
  • Naver
  • Kakao
  • apple
  • github
  • facebook
  • payco

Google

구글을 맨처음 테스트해보았기때문에 다른 서비스에서도 동일하겠지만 구글 기준 설명하자면 예를들어 frontend, backend 서버를 따로 둔다고 가정할경우
리다이렉트 주소명은 백엔드쪽으로 물어야한다. 그래야 oauth 를 처리하는 백엔드쪽으로 리다이렉트가 되기때문에 이 부분에서 삽질을 많이함..ㅠ

Github

github 는 이상하게 email 주소가 null 로 오는 이슈 발생.
위에 이슈를 확인했는데 별도의 http api 를 호출해서 가져오는 방법밖에 없었다.
이슈 를 통해서 확인이 가능한데 간단하다.
UserRequest 에 나온 Token 값을 가지고 조회하면 된다.

https://api.github.com/user/emails
- header Bearer USER_TOKEN 

Facebook

Payco

페이코는 이상하게 url 등록하는데 유효한 url을 입력해달라고 에러가 계속 나온다.
그것을 찾아보기전까지는 보류해야할듯.

Apple


출처

  1. https://loosie.tistory.com/301?category=932704

social-login-example's People

Contributors

joonseolee avatar

Watchers

 avatar

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.