Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gitlab-vscode-extension gitlab-vscode-extension
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 139
    • Issues 139
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • gitlab-vscode-extensiongitlab-vscode-extension
  • Merge requests
  • !567

feat: OAuth authentication to GitLab.com

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Tomas Vik requested to merge 561-token-exchange-service into main May 24, 2022
  • Overview 14
  • Commits 2
  • Pipelines 4
  • Changes 13

oauth-authorization

This MR implements OAuth token refreshing and enables the OAuth Authorization flow.

The MR creates the TokenExchangeService which is now responsible for:

  • Doing the initial OAuth exchange (code for the token) (step 2. of the PKCE flow) (first commit)
  • Doing the subsequent token refreshes (step 3. of the PKCE flow) (second commit)

I recommend reviewing the MR commit-by-commit.

Related to #561 (closed)

Edited May 26, 2022 by Tomas Vik
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 561-token-exchange-service