Giter Site home page Giter Site logo

oauth-test-project's Introduction

OAuth 테스트 프로젝트

Kotlin을 사용해 OAuth2 인증을 테스트하는 프로젝트입니다.

유저 데이터는 H2 데이터베이스를 사용해 메모리에 저장하고 실행할 때마다 초기화됩니다

Sequence diagram

sequenceDiagram
    participant Client
    participant MyService
    participant ProviderService
    Client ->> MyService: 로그인 요청 (/oauth2/{provider}/login)
    MyService ->> ProviderService: Authorization Code 요청
    ProviderService ->> Client: 로그인 및 권한 요청
    Client ->> ProviderService: 로그인 및 권한 허용
    ProviderService ->> MyService: Authorization Code 발급 (/oauth2/{provider}/callback)
    MyService ->> ProviderService: Authorization Code로 Access Token 요청
    ProviderService ->> MyService: Access Token 발급
    MyService ->> Client: Access Token 확인
    Client ->> MyService: Access Token을 사용하여 로그인 / 회원가입 요청 (/oauth2/{provider}/user)
    MyService ->> ProviderService: Access Token을 사용하여 사용자 정보 요청
    ProviderService ->> MyService: 사용자 정보 제공
    MyService ->> Client: 로그인 / 회원가입 완료
Loading

oauth-test-project's People

Contributors

mobzzzzz 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.