Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop Github Access #2

Open
kangeunchan opened this issue Nov 4, 2024 · 0 comments
Open

Develop Github Access #2

kangeunchan opened this issue Nov 4, 2024 · 0 comments
Assignees

Comments

@kangeunchan
Copy link
Member

Develop GitHub Access

Develop Github Access(alt)

sequenceDiagram
    participant User as User
    participant App as Equus-Github-Auth System
    participant GitHub as GitHub

    User ->> App: Login Request

    alt GitHub Authorization Process
        App ->> GitHub: OAuth Authorization Request
        GitHub ->> User: Grant permission Request
        User ->> GitHub: Grant permission
        GitHub ->> App: Access Token
    end

    App ->> GitHub: User Organization Request (Access Token)
    GitHub ->> App: User Organization Response (EntryDSM Membership Status)

    alt User is a member of EntryDSM
        App ->> App: Generate Internal Token
        App ->> User: Login Success & Internal Token
    else User is not a member of EntryDSM
        App ->> User: Login Fail
    end
Loading

작업 목록

  1. GitHub OAuth 요청: GitHub OAuth Authorization URL 생성 및 리디렉션 처리.
  2. 사용자 권한 승인 처리: 사용자가 권한을 승인하면 GitHub에서 인증 코드 수신.
  3. Access Token 발급 요청: 인증 코드를 사용하여 Access Token 요청.
  4. Access Token 저장 및 에러 처리: 발급된 Access Token 저장 및 오류 처리.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant